From 2f08283864615990a47ef8b3995ab88402eda478 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 19 Oct 2013 11:04:11 +0000 Subject: feature 2978: remove useless sprintf in the core git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/intro.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'admin/intro.php') diff --git a/admin/intro.php b/admin/intro.php index c454e50b4..b8d6c8dd4 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' => ($nb_rates == 0) ? l10n('no rate') : sprintf(l10n('%d rates'), $nb_rates), + 'DB_RATES' => ($nb_rates == 0) ? l10n('no rate') : 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, @@ -243,7 +243,7 @@ SELECT COUNT(*) 'unvalidated', array( 'URL' => PHPWG_ROOT_PATH.'admin.php?page=comments', - 'INFO' => sprintf(l10n('%d waiting for validation'), $nb_comments) + 'INFO' => l10n('%d waiting for validation', $nb_comments) ) ); } @@ -261,10 +261,7 @@ SELECT MIN(date_available) 'first_added', array( 'DB_DATE' => - sprintf( - l10n('first photo added on %s'), - format_date($first_date) - ) + l10n('first photo added on %s', format_date($first_date)) ) ); } -- cgit v1.2.3