From: Sergio Villar Senin Date: Wed, 17 Dec 2008 16:56:03 +0000 (+0000) Subject: Properly set the title of the "Select contacts" dialog X-Git-Tag: git_migration_finished~916 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=a6f2014ab1650908e8ee043223ed7090c7928e2a Properly set the title of the "Select contacts" dialog pmo-trunk-r6927 --- diff --git a/src/hildon2/modest-address-book.c b/src/hildon2/modest-address-book.c index 537186b..9d1ab65 100644 --- a/src/hildon2/modest-address-book.c +++ b/src/hildon2/modest-address-book.c @@ -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), diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index e9f98c9..503c4a7 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -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[];