From ef5c1be581dcbf3c0cc42c84919198e81ce5653b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 5 Apr 2007 15:23:48 +0000 Subject: Call gettext() on the EConfigItem labels. (#406933) Patch from Jeff Cai. 2007-04-05 Matthew Barnes * 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 --- addressbook/ChangeLog | 6 ++++++ addressbook/gui/component/addressbook-config.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'addressbook') 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 + + * 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 * 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); -- cgit v1.2.3