diff options
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-config.c | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index cee8de1cf0..ae4249c7f9 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +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. + 2007-03-27 Matthew Barnes <mbarnes@redhat.com> * gui/contact-editor/e-contact-editor.c: 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); |