From 430b217e3e17a4623894750bcb996489353aa6b3 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 14 Nov 2012 10:33:40 +0100 Subject: [PATCH] Translated label for automatically created default keyrings https://bugzilla.gnome.org/show_bug.cgi?id=688165 --- libsecret/secret-methods.c | 4 +++- po/POTFILES.in | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libsecret/secret-methods.c b/libsecret/secret-methods.c index 9dfaa7e..65440c9 100644 --- a/libsecret/secret-methods.c +++ b/libsecret/secret-methods.c @@ -24,6 +24,8 @@ #include "secret-types.h" #include "secret-value.h" +#include + /** * SecretSearchFlags: * @SECRET_SEARCH_NONE: no flags @@ -1025,7 +1027,7 @@ on_store_create (GObject *source, (g_error_matches (error, SECRET_ERROR, SECRET_ERROR_NO_SUCH_OBJECT) || g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD)) && g_strcmp0 (store->collection_path, SECRET_ALIAS_PREFIX "default") == 0) { - properties = _secret_collection_properties_new ("Default keyring"); + properties = _secret_collection_properties_new (_("Default keyring")); secret_service_create_collection_dbus_path (service, properties, "default", SECRET_COLLECTION_CREATE_NONE, store->cancellable, on_store_keyring, g_object_ref (async)); diff --git a/po/POTFILES.in b/po/POTFILES.in index 11ac4ee..4accf79 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,3 +1,4 @@ libsecret/secret-item.c +libsecret/secret-methods.c libsecret/secret-session.c tool/secret-tool.c