aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorRodney Dawes <dobey@novell.com>2004-11-08 00:10:41 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-11-08 00:10:41 +0800
commit4625d183b1f04d4662cb34a65458786e6a4df5d1 (patch)
treed795dd1b9c8d970ad9805f44a0089efbeb98007e /addressbook
parent415ac0d42ecbfc480f52ed8b66f4ab315ac29cb8 (diff)
downloadgsoc2013-evolution-4625d183b1f04d4662cb34a65458786e6a4df5d1.tar.gz
gsoc2013-evolution-4625d183b1f04d4662cb34a65458786e6a4df5d1.tar.zst
gsoc2013-evolution-4625d183b1f04d4662cb34a65458786e6a4df5d1.zip
Translate the category pretty names that we pass for creation of new menu
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 svn path=/trunk/; revision=27856
Diffstat (limited to 'addressbook')
-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);
}