[libgnome-keyring] Give translatable label to automatically created default keyring.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-keyring] Give translatable label to automatically created default keyring.
- Date: Thu, 18 Feb 2010 18:02:40 +0000 (UTC)
commit a67967d58370345142dd55260f01b586d1affb9a
Author: Stef Walter <stef memberwebs com>
Date: Thu Feb 18 17:52:58 2010 +0000
Give translatable label to automatically created default keyring.
library/gnome-keyring.c | 5 ++++-
po/POTFILES.in | 1 +
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/library/gnome-keyring.c b/library/gnome-keyring.c
index 92dcef5..a363788 100644
--- a/library/gnome-keyring.c
+++ b/library/gnome-keyring.c
@@ -37,6 +37,8 @@
#include <dbus/dbus.h>
+#include <glib/gi18n-lib.h>
+
#include <time.h>
#include <unistd.h>
#include <errno.h>
@@ -2679,7 +2681,8 @@ item_create_1_unlock_reply (GkrOperation *op, DBusMessage *reply, gpointer data)
req = dbus_message_new_method_call (gkr_service_name (), SERVICE_PATH,
SERVICE_INTERFACE, "CreateCollection");
dbus_message_iter_init_append (req, &iter);
- create_keyring_encode_properties (&iter, "default");
+ /* TRANSLATORS: This is the name of an automatically created default keyring. */
+ create_keyring_encode_properties (&iter, _("Default"));
gkr_operation_push (op, item_create_1_collection_reply, GKR_CALLBACK_OP_MSG, args, NULL);
gkr_operation_request (op, req);
dbus_message_unref (req);
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0100231..45149e3 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
library/gnome-keyring-utils.c
+library/gnome-keyring.c
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]