]> git.0d.be Git - empathy.git/commitdiff
Mark strings for translation. https://bugzilla.gnome.org/show_bug.cgi?id=671875
authorGabor Kelemen <kelemeng@gnome.hu>
Mon, 12 Mar 2012 09:35:20 +0000 (10:35 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 12 Mar 2012 11:23:08 +0000 (12:23 +0100)
libempathy/empathy-keyring.c
po/POTFILES.in

index e63ed12dff69ba07b19461248c7f2fad5599f0f7..fef7a43517483b46ca0c96f09bc94cdabd5ec277 100644 (file)
@@ -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,
index ca41d9fe12eaf9d4d34a9f7f13c96ed0f2ded448..2b5c45fd04df4c8c71362b056ef647de0cfe17e9 100644 (file)
@@ -10,6 +10,7 @@ libempathy/empathy-message.c
 libempathy/empathy-tp-contact-list.c
 libempathy/empathy-utils.c
 libempathy/empathy-time.c
+libempathy/empathy-keyring.c
 
 libempathy-gtk/empathy-account-chooser.c
 libempathy-gtk/empathy-account-widget.c