Changeset 2265 for trunk/include
- Timestamp:
- Mar 8, 2008, 2:38:37 AM (16 years ago)
- Location:
- trunk/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/calendar_monthly.class.php
r2231 r2265 481 481 ) 482 482 ); 483 $alt = $wday_labels[$dow] . ' ' . $day.484 ' ('.sprintf("%d ".l10n('pictures'), $items[$day]['nb_images']).')';485 483 486 484 $tpl_crt_week[] = 487 485 array( 488 'DAY' => $day, 489 'IMAGE' => $items[$day]['tn_url'], 490 'U_IMG_LINK'=> $url, 491 'IMAGE_STYLE' => $css_style, 492 'IMAGE_ALT' => $alt, 486 'DAY' => $day, 487 'DOW' => $dow, 488 'NB_ELEMENTS' => $items[$day]['nb_images'], 489 'IMAGE' => $items[$day]['tn_url'], 490 'U_IMG_LINK' => $url, 491 'IMAGE_STYLE' => $css_style, 492 'IMAGE_ALT' => $items[$day]['file'], 493 493 ); 494 494 } -
trunk/include/functions.inc.php
r2252 r2265 1085 1085 if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key)) 1086 1086 { 1087 echo '[l10n] language key "'.$key.'" is not defined<br />';1087 trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_NOTICE); 1088 1088 } 1089 1089 -
trunk/include/functions_category.inc.php
r2223 r2265 467 467 468 468 //at least one image direct or indirect 469 $display_text.= l10n_dec(' image_available', 'images_available', $cat_count_images);469 $display_text.= l10n_dec('%d element', '%d elements', $cat_count_images); 470 470 471 471 if ($cat_count_categories == 0 or $cat_nb_images == $cat_count_images) -
trunk/include/functions_html.inc.php
r2201 r2265 27 27 function get_icon($date, $is_child_date = false) 28 28 { 29 global $page, $user , $lang;29 global $page, $user; 30 30 31 31 if (empty($date)) … … 55 55 { 56 56 $icons = array(false => 'recent', true => 'recent_by_child' ); 57 $title = l10n('recent_image').' '.$user['recent_period'] 58 .' '.l10n('days'); 57 $title = sprintf( 58 l10n('elements posted during the last %d days'), 59 $user['recent_period'] 60 ); 59 61 foreach ($icons as $key => $icon) 60 62 { … … 79 81 ) 80 82 { 81 global $ lang, $conf;83 global $conf; 82 84 83 85 $pages_around = $conf['paginate_pages_around']; … … 375 377 function get_html_menu_category($categories, $selected_category) 376 378 { 377 global $lang;378 379 379 $ref_level = 0; 380 380 $level = 0; … … 559 559 function access_denied() 560 560 { 561 global $user , $lang;561 global $user; 562 562 563 563 $login_url = … … 650 650 ) 651 651 .'" title="' 652 .l10n('See pictures linked to this tag only')652 .l10n('See elements linked to this tag only') 653 653 .'">' 654 654 .$page['tags'][$i]['name']
Note: See TracChangeset
for help on using the changeset viewer.