Properly set the title of the "Select contacts" dialog
authorSergio Villar Senin <svillar@igalia.com>
Wed, 17 Dec 2008 16:56:03 +0000 (16:56 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 17 Dec 2008 16:56:03 +0000 (16:56 +0000)
pmo-trunk-r6927

src/hildon2/modest-address-book.c
src/modest-text-utils.h

index 537186b..9d1ab65 100644 (file)
@@ -203,7 +203,7 @@ modest_address_book_select_addresses (ModestRecptEditor *recpt_editor)
 #else /* MODEST_ABOOK_API < 4 */
        /* TODO: figure out how to make the contact chooser modal */
        contact_chooser = osso_abook_contact_chooser_new_with_capabilities (NULL,
-                                                                           _("mcen_me_editor_selectrecipients"),
+                                                                           _AB("addr_ti_dia_select_contacts"),
                                                                            OSSO_ABOOK_CAPS_EMAIL, 
                                                                            OSSO_ABOOK_CONTACT_ORDER_NAME);
        /* Enable multiselection */
@@ -896,8 +896,8 @@ select_contacts_for_name_dialog (const gchar *name)
 
                /* TODO: figure out how to make the contact chooser modal */
                contact_dialog = osso_abook_contact_chooser_new_with_capabilities (NULL,
-                                                                                  _("mcen_me_editor_selectrecipients"),
-                                                                                  OSSO_ABOOK_CAPS_EMAIL, 
+                                                                                  _AB("addr_ti_dia_select_contacts"),
+                                                                                  OSSO_ABOOK_CAPS_EMAIL,
                                                                                   OSSO_ABOOK_CONTACT_ORDER_NAME);
 
                osso_abook_contact_chooser_set_model (OSSO_ABOOK_CONTACT_CHOOSER (contact_dialog),
index e9f98c9..503c4a7 100644 (file)
@@ -43,6 +43,7 @@
 #define _CS(str) dgettext("hildon-common-strings",str)
 #define _HL(str) dgettext("hildon-libs",str)
 #define _MD(str) dgettext("maemo-af-desktop",str)
+#define _AB(str) dgettext("osso-addressbook",str)
 
 /* Forbidden char arrays */
 extern const gchar account_title_forbidden_chars[];