summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2011-09-12 21:55:04 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2011-09-13 17:55:24 +0100
commitf5358a7a0920103f2943ea02298842d123c0f743 (patch)
tree3faf90cf0ffc937e5f09447962066d82a8112222 /tools
parente64e0d4e85f151d15a856b9fd5146aef933db648 (diff)
Bug 658730 — ngettext (Plural forms) needed…
Use ngettext() instead of gettext() for a plural string. Closes: bgo#658730
Diffstat (limited to 'tools')
-rw-r--r--tools/import-pidgin.vala10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/import-pidgin.vala b/tools/import-pidgin.vala
index d293ad90..97978f44 100644
--- a/tools/import-pidgin.vala
+++ b/tools/import-pidgin.vala
@@ -110,10 +110,12 @@ public class Folks.Importers.Pidgin : Folks.Importer
/* Tidy up */
delete xml_doc;
- /* Translators: the first parameter is the number of buddies which were
- * successfully imported, and the second is a filename. */
- stdout.printf (_("Imported %u buddies from '%s'.\n"), this.persona_count,
- filename);
+ stdout.printf (
+ /* Translators: the first parameter is the number of buddies which
+ * were successfully imported, and the second is a filename. */
+ ngettext ("Imported %u buddy from '%s'.",
+ "Imported %u buddies from '%s'.", this.persona_count) + "\n",
+ this.persona_count, filename);
/* Return the number of Personas we imported */
return this.persona_count;