aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@gnome.hu>2012-03-12 17:35:20 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-12 19:23:08 +0800
commit75a991eddf0106916146c30756274bbbd03c5904 (patch)
tree7bf901d115c0e4e37b90c9bc077033fa15df0cbe /libempathy
parent460fd88a38686b49c374830e0c066dee452cec50 (diff)
downloadgsoc2013-empathy-75a991eddf0106916146c30756274bbbd03c5904.tar
gsoc2013-empathy-75a991eddf0106916146c30756274bbbd03c5904.tar.gz
gsoc2013-empathy-75a991eddf0106916146c30756274bbbd03c5904.tar.bz2
gsoc2013-empathy-75a991eddf0106916146c30756274bbbd03c5904.tar.lz
gsoc2013-empathy-75a991eddf0106916146c30756274bbbd03c5904.tar.xz
gsoc2013-empathy-75a991eddf0106916146c30756274bbbd03c5904.tar.zst
gsoc2013-empathy-75a991eddf0106916146c30756274bbbd03c5904.zip
Mark strings for translation. https://bugzilla.gnome.org/show_bug.cgi?id=671875
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-keyring.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libempathy/empathy-keyring.c b/libempathy/empathy-keyring.c
index e63ed12df..fef7a4351 100644
--- a/libempathy/empathy-keyring.c
+++ b/libempathy/empathy-keyring.c
@@ -18,6 +18,8 @@
#include "config.h"
+#include <glib/gi18n-lib.h>
+
#include "empathy-keyring.h"
#include <string.h>
@@ -70,7 +72,7 @@ find_items_cb (GnomeKeyringResult result,
if (list == NULL)
{
g_simple_async_result_set_error (simple, TP_ERROR,
- TP_ERROR_DOES_NOT_EXIST, "Password not found");
+ TP_ERROR_DOES_NOT_EXIST, _("Password not found"));
goto out;
}
@@ -213,7 +215,7 @@ empathy_keyring_set_account_password_async (TpAccount *account,
DEBUG ("Remembering password for %s", account_id);
- name = g_strdup_printf ("IM account password for %s (%s)",
+ name = g_strdup_printf (_("IM account password for %s (%s)"),
tp_account_get_display_name (account), account_id);
gnome_keyring_store_password (&account_keyring_schema, NULL, name, password,
@@ -248,7 +250,7 @@ empathy_keyring_set_room_password_async (TpAccount *account,
DEBUG ("Remembering password for room '%s' on account '%s'", id, account_id);
- name = g_strdup_printf ("Password for chatroom '%s' on account %s (%s)",
+ name = g_strdup_printf (_("Password for chatroom '%s' on account %s (%s)"),
id, tp_account_get_display_name (account), account_id);
gnome_keyring_store_password (&room_keyring_schema, NULL, name, password,