diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-04-05 23:23:48 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-04-05 23:23:48 +0800 |
commit | ef5c1be581dcbf3c0cc42c84919198e81ce5653b (patch) | |
tree | 0005ce1d52945388b3f2b4a8a9fda70596f89827 /addressbook | |
parent | bab13ad62c547623a2a3b9f04846f36c7e775a25 (diff) | |
download | gsoc2013-evolution-ef5c1be581dcbf3c0cc42c84919198e81ce5653b.tar gsoc2013-evolution-ef5c1be581dcbf3c0cc42c84919198e81ce5653b.tar.gz gsoc2013-evolution-ef5c1be581dcbf3c0cc42c84919198e81ce5653b.tar.bz2 gsoc2013-evolution-ef5c1be581dcbf3c0cc42c84919198e81ce5653b.tar.lz gsoc2013-evolution-ef5c1be581dcbf3c0cc42c84919198e81ce5653b.tar.xz 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')
-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); |