[evolution-patches] Patch to fix translation of E-Mail categories in Contact Editor



This patch fixes the e-mail categories of "Home", "Work", and "Other" to
be translated in the contact editor. We were marking the strings for
translation, but not actually looking them up.

-- dobey

Index: addressbook/gui/contact-editor/e-contact-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/e-contact-editor.c,v
retrieving revision 1.216.2.2
diff -u -p -r1.216.2.2 e-contact-editor.c
--- addressbook/gui/contact-editor/e-contact-editor.c	13 Sep 2004 16:08:21 -0000	1.216.2.2
+++ addressbook/gui/contact-editor/e-contact-editor.c	5 Oct 2004 15:10:23 -0000
@@ -640,7 +640,7 @@ init_email_record_location (EContactEdit
 	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);
 	}
 
@@ -1314,7 +1314,7 @@ init_im_record_location (EContactEditor 
 	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);
 	}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]