mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user