From 49807c2b3db1f7c9a480d2fccadab036d4a0c422 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sun, 24 Mar 2013 13:32:03 +0100 Subject: Fix remaining plural forms to work with gettext. --- plugins/import_export/init.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/import_export/init.php') diff --git a/plugins/import_export/init.php b/plugins/import_export/init.php index 61b9a439f..845245607 100644 --- a/plugins/import_export/init.php +++ b/plugins/import_export/init.php @@ -382,8 +382,10 @@ class Import_Export extends Plugin implements IHandler { } print "

" . - T_sprintf("Finished: %d articles processed, %d imported, %d feeds created.", - $num_processed, $num_imported, $num_feeds_created) . + vsprintf(__("Finished: ")). + vsprintf(ngettext("%d article processed, ", "%d articles processed, ", $num_processed), $num_processed). + vsprintf(ngettext("%d imported, ", "%d imported, ", $num_imported), $num_imported). + vsprintf(ngettext("%d feed created.", "%d feeds created.", $num_feeds_created), $num_feeds_created). "

"; } else { -- cgit v1.2.3