Merge pull request #101 from yanobs/master

Replace call to vsprintf to sprintf because of arguments format
master
Andrew Dolgov 12 years ago
commit 9275d5dd5a

@ -157,7 +157,7 @@ function confirmOP() {
} }
} }
print "<p>".vsprintf(ngettext("Finished. Performed <b>%d</b> update up to schema version <b>%d</b>.", print "<p>".sprintf(ngettext("Finished. Performed <b>%d</b> update up to schema version <b>%d</b>.",
"Finished. Performed <b>%d</b> updates up to schema version <b>%d</b>.", $num_updates), $num_updates, $version)."</p>"; "Finished. Performed <b>%d</b> updates up to schema version <b>%d</b>.", $num_updates), $num_updates, $version)."</p>";
print "<form method=\"GET\" action=\"backend.php\"> print "<form method=\"GET\" action=\"backend.php\">

Loading…
Cancel
Save