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/picture_modify.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'admin/picture_modify.php') diff --git a/admin/picture_modify.php b/admin/picture_modify.php index 771f72410..68ebe7c7d 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -306,12 +306,12 @@ while ($user_row = pwg_db_fetch_assoc($result)) } $intro_vars = array( - 'file' => sprintf(l10n('Original file : %s'), $row['file']), - 'add_date' => sprintf(l10n('Posted %s on %s'), time_since($row['date_available'], 'year'), format_date($row['date_available'], false, false)), - 'added_by' => sprintf(l10n('Added by %s'), $row['added_by']), + 'file' => l10n('Original file : %s', $row['file']), + 'add_date' => l10n('Posted %s on %s', time_since($row['date_available'], 'year'), format_date($row['date_available'], false, false)), + 'added_by' => l10n('Added by %s', $row['added_by']), 'size' => $row['width'].'×'.$row['height'].' pixels, '.sprintf('%.2f', $row['filesize']/1024).'MB', - 'stats' => sprintf(l10n('Visited %d times'), $row['hit']), - 'id' => sprintf(l10n('Numeric identifier : %d'), $row['id']), + 'stats' => l10n('Visited %d times', $row['hit']), + 'id' => l10n('Numeric identifier : %d', $row['id']), ); if ($conf['rate'] and !empty($row['rating_score'])) -- cgit v1.2.3