Translated label for automatically created default keyrings

https://bugzilla.gnome.org/show_bug.cgi?id=688165
This commit is contained in:
Stef Walter 2012-11-14 10:33:40 +01:00
parent afc1d65679
commit 430b217e3e
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,8 @@
#include "secret-types.h" #include "secret-types.h"
#include "secret-value.h" #include "secret-value.h"
#include <glib/gi18n-lib.h>
/** /**
* SecretSearchFlags: * SecretSearchFlags:
* @SECRET_SEARCH_NONE: no flags * @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, SECRET_ERROR, SECRET_ERROR_NO_SUCH_OBJECT) ||
g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD)) && g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD)) &&
g_strcmp0 (store->collection_path, SECRET_ALIAS_PREFIX "default") == 0) { 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_service_create_collection_dbus_path (service, properties, "default",
SECRET_COLLECTION_CREATE_NONE, store->cancellable, SECRET_COLLECTION_CREATE_NONE, store->cancellable,
on_store_keyring, g_object_ref (async)); on_store_keyring, g_object_ref (async));

View File

@ -1,3 +1,4 @@
libsecret/secret-item.c libsecret/secret-item.c
libsecret/secret-methods.c
libsecret/secret-session.c libsecret/secret-session.c
tool/secret-tool.c tool/secret-tool.c