aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog9
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c4
2 files changed, 11 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 328297f11b..1e29291c2f 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,12 @@
+2004-11-07 Rodney Dawes <dobey@novell.com>
+
+ * 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
+
2004-11-04 mengjie yu <meng-jie.yu@sun.com>
fix for bugzilla #44876
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);
}