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 /comments.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 'comments.php')
-rw-r--r-- | comments.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comments.php b/comments.php index c0ecc9263..44fcaf936 100644 --- a/comments.php +++ b/comments.php @@ -78,9 +78,9 @@ if (!in_array($conf['comments_page_nb_comments'], $items_number)) $since_options = array( 1 => array('label' => l10n('today'), 'clause' => 'date > '.pwg_db_get_recent_period_expression(1)), - 2 => array('label' => sprintf(l10n('last %d days'), 7), + 2 => array('label' => l10n('last %d days', 7), 'clause' => 'date > '.pwg_db_get_recent_period_expression(7)), - 3 => array('label' => sprintf(l10n('last %d days'), 30), + 3 => array('label' => l10n('last %d days', 30), 'clause' => 'date > '.pwg_db_get_recent_period_expression(30)), 4 => array('label' => l10n('the beginning'), 'clause' => '1=1') // stupid but generic |