aboutsummaryrefslogtreecommitdiffstats
path: root/admin/history.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-03-29 19:04:54 +0000
committerrub <rub@piwigo.org>2007-03-29 19:04:54 +0000
commit7acc304f5543f2210a888e9bb562bb25032aa694 (patch)
tree05e9be787ad2d40f304c9c6d871f39a14f85299b /admin/history.php
parentac97e7356502f2300c4e6c6f85e35eb854d5f40a (diff)
o add missing $lang
o use of l10n_dec o normalize file header git-svn-id: http://piwigo.org/svn/trunk@1932 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/history.php')
-rw-r--r--admin/history.php18
1 files changed, 8 insertions, 10 deletions
diff --git a/admin/history.php b/admin/history.php
index 59db2e285..0c8f34c33 100644
--- a/admin/history.php
+++ b/admin/history.php
@@ -2,9 +2,8 @@
// +-----------------------------------------------------------------------+
// | PhpWebGallery - a PHP based picture gallery |
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
-// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
-// | branch : BSF (Best So Far)
// | file : $Id$
// | last update : $Date$
// | last modifier : $Author$
@@ -613,25 +612,24 @@ SELECT
$template->assign_block_vars(
'summary',
array(
- 'NB_LINES' => sprintf(
- l10n('%d lines filtered'),
+ 'NB_LINES' => l10n_dec(
+ '%d line filtered', '%d lines filtered',
$page['nb_lines']
),
'FILESIZE' => $summary['total_filesize'].' KB',
- 'USERS' => sprintf(
- l10n('%d users'),
+ 'USERS' => l10n_dec(
+ '%d user', '%d users',
$summary['nb_members'] + $summary['nb_guests']
),
'MEMBERS' => sprintf(
- l10n('%d members: %s'),
- $summary['nb_members'],
+ l10n_dec('%d member', '%d members', $summary['nb_members']).': %s',
implode(
', ',
$member_strings
)
),
- 'GUESTS' => sprintf(
- l10n('%d guests'),
+ 'GUESTS' => l10n_dec(
+ '%d guest', '%d guests',
$summary['nb_guests']
),
)