From a3c0e7af10488da6df0169cf603828a0bd7cc406 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 8 May 2012 21:29:19 +0000 Subject: bug fixed: use the existing language key git-svn-id: http://piwigo.org/svn/trunk@14870 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/intro.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') 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, -- cgit v1.2.3