Changeset 1932 for trunk/admin
- Timestamp:
- Mar 29, 2007, 9:04:54 PM (18 years ago)
- Location:
- trunk/admin
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/comments.php
r1915 r1932 90 90 array_push( 91 91 $page['infos'], 92 sprintf(93 l10n('%d user comments validated'),92 l10n_dec( 93 '%d user comment validated', '%d user comments validated', 94 94 count($to_validate) 95 95 ) … … 108 108 array_push( 109 109 $page['infos'], 110 sprintf(111 l10n('%d user comments rejected'),110 l10n_dec( 111 '%d user comment rejected', '%d user comments rejected', 112 112 count($to_reject) 113 113 ) -
trunk/admin/group_list.php
r1900 r1932 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net | 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far) 8 // | file : $RCSfile$ 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 9 8 // | last update : $Date$ 10 9 // | last modifier : $Author$ … … 196 195 'NAME' => $row['name'], 197 196 'IS_DEFAULT' => (get_boolean($row['is_default']) ? ' ['.l10n('is_default_group').']' : ''), 198 'MEMBERS' => sprintf(l10n('%d members'), $counter),197 'MEMBERS' => l10n_dec('%d member', '%d members', $counter), 199 198 'U_MEMBERS' => $members_url.$row['id'], 200 199 'U_DELETE' => $del_url.$row['id'], -
trunk/admin/history.php
r1929 r1932 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net | 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far) 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 // +-----------------------------------------------------------------------+ 8 7 // | file : $Id$ 9 8 // | last update : $Date$ … … 614 613 'summary', 615 614 array( 616 'NB_LINES' => sprintf(617 l10n('%d lines filtered'),615 'NB_LINES' => l10n_dec( 616 '%d line filtered', '%d lines filtered', 618 617 $page['nb_lines'] 619 618 ), 620 619 'FILESIZE' => $summary['total_filesize'].' KB', 621 'USERS' => sprintf(622 l10n('%d users'),620 'USERS' => l10n_dec( 621 '%d user', '%d users', 623 622 $summary['nb_members'] + $summary['nb_guests'] 624 623 ), 625 624 'MEMBERS' => sprintf( 626 l10n('%d members: %s'), 627 $summary['nb_members'], 625 l10n_dec('%d member', '%d members', $summary['nb_members']).': %s', 628 626 implode( 629 627 ', ', … … 631 629 ) 632 630 ), 633 'GUESTS' => sprintf(634 l10n('%d guests'),631 'GUESTS' => l10n_dec( 632 '%d guest', '%d guests', 635 633 $summary['nb_guests'] 636 634 ), -
trunk/admin/include/functions.php
r1926 r1932 1466 1466 array_push( 1467 1467 $page['infos'], 1468 sprintf(1469 l10n('%d categories moved'),1468 l10n_dec( 1469 '%d category moved', '%d categories moved', 1470 1470 count($categories) 1471 1471 ) -
trunk/admin/intro.php
r1900 r1932 5 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far) 8 // | file : $RCSfile$ 7 // | file : $Id$ 9 8 // | last update : $Date$ 10 9 // | last modifier : $Author$ … … 192 191 'PHP_VERSION' => phpversion(), 193 192 'MYSQL_VERSION' => $mysql_version, 194 'DB_ELEMENTS' => sprintf(l10n('%d elements'), $nb_elements),193 'DB_ELEMENTS' => l10n_dec('%d element', '%d elements', $nb_elements), 195 194 'DB_CATEGORIES' => 196 sprintf(197 l10n('%d categories including %d physical and %d virtual'),198 $nb_categories,199 $nb_physical ,200 $nb_virtual201 ),202 'DB_IMAGE_CATEGORY' => sprintf(l10n('%d associations'), $nb_image_category),203 'DB_TAGS' => sprintf(l10n('%d tags'), $nb_tags),204 'DB_IMAGE_TAG' => sprintf(l10n('%d associations'), $nb_image_tag),205 'DB_USERS' => sprintf(l10n('%d users'), $nb_users),206 'DB_GROUPS' => sprintf(l10n('%d groups'), $nb_groups),207 'DB_COMMENTS' => sprintf(l10n('%d comments'), $nb_comments),195 l10n_dec('cat_inclu_part1_S', 'cat_inclu_part1_P', 196 $nb_categories). 197 l10n_dec('cat_inclu_part2_S', 'cat_inclu_part2_P', 198 $nb_physical). 199 l10n_dec('cat_inclu_part3_S', 'cat_inclu_part3_P', 200 $nb_virtual), 201 'DB_IMAGE_CATEGORY' => l10n_dec('%d association', '%d associations', $nb_image_category), 202 'DB_TAGS' => l10n_dec('%d tag', '%d tags', $nb_tags), 203 'DB_IMAGE_TAG' => l10n_dec('%d association', '%d associations', $nb_image_tag), 204 'DB_USERS' => l10n_dec('%d user', '%d users', $nb_users), 205 'DB_GROUPS' => l10n_dec('%d group', '%d groups', $nb_groups), 206 'DB_COMMENTS' => l10n_dec('%d comment', '%d comments', $nb_comments), 208 207 'U_CHECK_UPGRADE' => PHPWG_ROOT_PATH.'admin.php?action=check_upgrade', 209 208 'U_PHPINFO' => PHPWG_ROOT_PATH.'admin.php?action=phpinfo', -
trunk/admin/tags.php
r1900 r1932 5 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far)8 7 // | file : $Id$ 9 8 // | last update : $Date$ … … 136 135 array_push( 137 136 $page['infos'], 138 sprintf( 139 l10n('The %d following tags were deleted : %s'), 140 count($tag_names), 137 l10n_dec( 138 'The %d following tag were deleted', 139 'The %d following tags were deleted', 140 count($tag_names)).' : '. 141 141 implode(', ', $tag_names) 142 )143 142 ); 144 143 } -
trunk/admin/user_list.php
r1930 r1932 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 5PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | file : $Id$ … … 271 271 array_push( 272 272 $page['infos'], 273 sprintf(274 l10n('%d users deleted'),273 l10n_dec( 274 '%d user deleted', '%d users deleted', 275 275 count($collection) 276 276 )
Note: See TracChangeset
for help on using the changeset viewer.