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:
mistic100
2013-10-19 11:04:11 +00:00
parent 139ffe3712
commit 2f08283864
43 changed files with 139 additions and 173 deletions
+2 -2
View File
@@ -415,10 +415,10 @@ DELETE
if ('generate_derivatives' == $action)
{
if ($_POST['regenerateSuccess'] != '0')
array_push($page['infos'], sprintf(l10n('%s photos have been regenerated'), $_POST['regenerateSuccess']));
array_push($page['infos'], l10n('%s photos have been regenerated', $_POST['regenerateSuccess']));
if ($_POST['regenerateError'] != '0')
array_push($page['warnings'], sprintf(l10n('%s photos can not be regenerated'), $_POST['regenerateError']));
array_push($page['warnings'], l10n('%s photos can not be regenerated', $_POST['regenerateError']));
}