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/gui/component/addressbook-config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/component/addressbook-config.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