aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-05-08 21:29:19 +0000
committerplegall <plg@piwigo.org>2012-05-08 21:29:19 +0000
commita3c0e7af10488da6df0169cf603828a0bd7cc406 (patch)
tree4264566ec21a4b91c2f165971a0b3b8f0e1355c7 /admin
parentb9552a071da18d53f367b457edd588faf41db8d4 (diff)
bug fixed: use the existing language key
git-svn-id: http://piwigo.org/svn/trunk@14870 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/intro.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/intro.php b/admin/intro.php
index 2ca64a275..56f8a6bba 100644
--- a/admin/intro.php
+++ b/admin/intro.php
@@ -212,7 +212,7 @@ $template->assign(
'DB_IMAGE_TAG' => l10n_dec('%d association', '%d associations', $nb_image_tag),
'DB_USERS' => l10n_dec('%d user', '%d users', $nb_users),
'DB_GROUPS' => l10n_dec('%d group', '%d groups', $nb_groups),
- 'DB_RATES' => sprintf('%d rates', $nb_rates),
+ 'DB_RATES' => ($nb_rates == 0) ? l10n('no rate') : sprintf(l10n('%d rates'), $nb_rates),
'U_CHECK_UPGRADE' => PHPWG_ROOT_PATH.'admin.php?action=check_upgrade',
'U_PHPINFO' => PHPWG_ROOT_PATH.'admin.php?action=phpinfo',
'PHP_DATATIME' => $php_current_timestamp,