diff options
author | Andrew Dolgov <[email protected]> | 2013-03-24 09:00:55 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-24 09:00:55 -0700 |
commit | 8850646ff375f8858442900dac790c5e38e86f88 (patch) | |
tree | f6d895a7f31180c14a5baaa0d53c03d746164303 /plugins/import_export/init.php | |
parent | 7be3fcd5e1fa6f8ec04fd550543b01622b5e7feb (diff) | |
parent | a28c6ec9db46098ba24940f79bc52c8164d2cf82 (diff) |
Merge pull request #77 from scarabeusiv/master
Fix pluralized forms and whitespace in translations and fix the l10n tools
Diffstat (limited to 'plugins/import_export/init.php')
-rw-r--r-- | plugins/import_export/init.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/import_export/init.php b/plugins/import_export/init.php index 61b9a439f..5a3051edb 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 "<p>" . - 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). "</p>"; } else { @@ -421,8 +423,7 @@ class Import_Export extends Plugin implements IHandler { $this->perform_data_import($this->link, $_FILES['export_file']['tmp_name'], $_SESSION['uid']); } else { - print "<p>" . T_sprintf("Could not upload file. You might need to adjust upload_max_filesize - in PHP.ini (current value = %s)", ini_get("upload_max_filesize")) . " or use CLI import tool.</p>"; + print "<p>" . T_sprintf("Could not upload file. You might need to adjust upload_max_filesize in PHP.ini (current value = %s)", ini_get("upload_max_filesize")) . " or use CLI import tool.</p>"; } |