diff options
author | mistic100 <mistic@piwigo.org> | 2013-10-19 11:04:11 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-10-19 11:04:11 +0000 |
commit | 2f08283864615990a47ef8b3995ab88402eda478 (patch) | |
tree | 6720eff124c37c877910cc25296958ebc1015cb9 /admin/cat_modify.php | |
parent | 139ffe3712b8c9a9ea4cd731d3fdb509463867dc (diff) |
feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/cat_modify.php')
-rw-r--r-- | admin/cat_modify.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 1f83f1f3e..7edda9fe3 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -268,16 +268,16 @@ SELECT if ($min_date == $max_date) { - $intro = sprintf( - l10n('This album contains %d photos, added on %s.'), + $intro = l10n( + 'This album contains %d photos, added on %s.', $image_count, format_date($min_date) ); } else { - $intro = sprintf( - l10n('This album contains %d photos, added between %s and %s.'), + $intro = l10n( + 'This album contains %d photos, added between %s and %s.', $image_count, format_date($min_date), format_date($max_date) @@ -289,7 +289,7 @@ else $intro = l10n('This album contains no photo.'); } -$intro.= '<br>'.sprintf(l10n('Numeric identifier : %d'), $category['id']); +$intro.= '<br>'.l10n('Numeric identifier : %d', $category['id']); $template->assign('INTRO', $intro); |