From 4625d183b1f04d4662cb34a65458786e6a4df5d1 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Sun, 7 Nov 2004 16:10:41 +0000 Subject: Translate the category pretty names that we pass for creation of new menu 2004-11-07 Rodney Dawes * gui/contact-editor/e-contact-editor.c (init_email_record_location, init_im_record_location): Translate the category pretty names that we pass for creation of new menu item entries for the E-Mail and IM dropdown selections Partially fixes bug #66854 svn path=/trunk/; revision=27856 --- addressbook/gui/contact-editor/e-contact-editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index c21e78c6a2..715588cc1e 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -639,7 +639,7 @@ init_email_record_location (EContactEditor *editor, gint record) for (i = 0; i < G_N_ELEMENTS (common_location); i++) { GtkWidget *item; - item = gtk_menu_item_new_with_label (common_location [i].pretty_name); + item = gtk_menu_item_new_with_label (_(common_location [i].pretty_name)); gtk_menu_shell_append (GTK_MENU_SHELL (location_menu), item); } @@ -1313,7 +1313,7 @@ init_im_record_location (EContactEditor *editor, gint record) for (i = 0; i < G_N_ELEMENTS (common_location); i++) { GtkWidget *item; - item = gtk_menu_item_new_with_label (common_location [i].pretty_name); + item = gtk_menu_item_new_with_label (_(common_location [i].pretty_name)); gtk_menu_shell_append (GTK_MENU_SHELL (location_menu), item); } -- cgit v1.2.3