[seahorse] Fix misuse of ngettext
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] Fix misuse of ngettext
- Date: Tue, 30 Aug 2011 07:44:40 +0000 (UTC)
commit 5cde3baa972639897e88baf6e10101b8e21a4ef6
Author: Alexandre Franke <alexandre franke gmail com>
Date: Mon Aug 29 14:47:31 2011 +0200
Fix misuse of ngettext
https://bugzilla.gnome.org/show_bug.cgi?id=657617
gkr/seahorse-gkr-item-commands.c | 2 +-
gkr/seahorse-gkr-keyring-commands.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gkr/seahorse-gkr-item-commands.c b/gkr/seahorse-gkr-item-commands.c
index 7304db7..e9dfe23 100644
--- a/gkr/seahorse-gkr-item-commands.c
+++ b/gkr/seahorse-gkr-item-commands.c
@@ -111,7 +111,7 @@ seahorse_gkr_item_commands_delete_objects (SeahorseCommands* commands,
if (ret) {
cancellable = g_cancellable_new ();
seahorse_gkr_delete_async (objects, cancellable, on_delete_objects, g_object_ref (commands));
- seahorse_progress_show (cancellable, ngettext (_("Deleting item"), _("Deleting items"), num), TRUE);
+ seahorse_progress_show (cancellable, ngettext ("Deleting item", "Deleting items", num), TRUE);
g_object_unref (cancellable);
}
diff --git a/gkr/seahorse-gkr-keyring-commands.c b/gkr/seahorse-gkr-keyring-commands.c
index ff08778..f425617 100644
--- a/gkr/seahorse-gkr-keyring-commands.c
+++ b/gkr/seahorse-gkr-keyring-commands.c
@@ -373,7 +373,7 @@ seahorse_gkr_keyring_commands_delete_objects (SeahorseCommands* commands,
seahorse_gkr_delete_async (objects, cancellable,
on_delete_objects_complete,
g_object_ref (commands));
- seahorse_progress_show (cancellable, ngettext (_("Deleting keyring"), _("Deleting keyrings"),
+ seahorse_progress_show (cancellable, ngettext ("Deleting keyring", "Deleting keyrings",
g_list_length (objects)), TRUE);
g_object_unref (cancellable);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]