aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-04-05 23:23:48 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-04-05 23:23:48 +0800
commitef5c1be581dcbf3c0cc42c84919198e81ce5653b (patch)
tree0005ce1d52945388b3f2b4a8a9fda70596f89827 /addressbook/gui
parentbab13ad62c547623a2a3b9f04846f36c7e775a25 (diff)
downloadgsoc2013-evolution-ef5c1be581dcbf3c0cc42c84919198e81ce5653b.tar.gz
gsoc2013-evolution-ef5c1be581dcbf3c0cc42c84919198e81ce5653b.tar.zst
gsoc2013-evolution-ef5c1be581dcbf3c0cc42c84919198e81ce5653b.zip
Call gettext() on the EConfigItem labels. (#406933) Patch from Jeff Cai.
2007-04-05 Matthew Barnes <mbarnes@redhat.com> * gui/component/addressbook-config.c (addressbook_config_edit_source): Call gettext() on the EConfigItem labels. (#406933) Patch from Jeff Cai. svn path=/trunk/; revision=33386
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c
index 60ad21e513..133512d2c4 100644
--- a/addressbook/gui/component/addressbook-config.c
+++ b/addressbook/gui/component/addressbook-config.c
@@ -1190,8 +1190,11 @@ addressbook_config_edit_source (GtkWidget *parent, ESource *source)
sdialog->config = ec = eab_config_new(E_CONFIG_BOOK, "com.novell.evolution.addressbook.config.accountEditor");
- for (i=0;eabc_items[i].path;i++)
+ for (i=0;eabc_items[i].path;i++) {
+ if (eabc_items[i].label)
+ eabc_items[i].label = gettext(eabc_items[i].label);
items = g_slist_prepend(items, &eabc_items[i]);
+ }
e_config_add_items((EConfig *)ec, items, eabc_commit, NULL, eabc_free, sdialog);
e_config_add_page_check((EConfig *)ec, NULL, eabc_check_complete, sdialog);