[Pkg-privacy-commits] [nautilus-wipe] 177/224: Fix support of languages with several plural forms for >1 items
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 19:45:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository nautilus-wipe.
commit 7cdb133845665d33279e0e49abf2c74945fb7ce1
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Sat May 11 23:14:02 2013 +0200
Fix support of languages with several plural forms for >1 items
---
nautilus-wipe/nw-extension.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/nautilus-wipe/nw-extension.c b/nautilus-wipe/nw-extension.c
index e577790..12d6af5 100644
--- a/nautilus-wipe/nw-extension.c
+++ b/nautilus-wipe/nw-extension.c
@@ -107,10 +107,18 @@ nw_extension_run_delete_operation (GtkWindow *parent,
guint n_items;
n_items = g_list_length (files);
- /* FIXME: can't truly use g_dngettext since the args are not the same */
if (n_items > 1) {
- confirm_primary_text = g_strdup_printf (_("Are you sure you want to wipe "
- "the %u selected items?"), n_items);
+ confirm_primary_text = g_strdup_printf (g_dngettext(GETTEXT_PACKAGE,
+ /* TRANSLATORS: singular is not really used, N is strictly >1 */
+ "Are you sure you want "
+ "to wipe the %u "
+ "selected items?",
+ /* plural form */
+ "Are you sure you want "
+ "to wipe the %u "
+ "selected items?",
+ n_items),
+ n_items);
} else if (n_items > 0) {
gchar *name;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/nautilus-wipe.git
More information about the Pkg-privacy-commits
mailing list