? mail/semantic.cache
Index: mail/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3598.2.12
diff -u -p -r1.3598.2.12 ChangeLog
--- mail/ChangeLog	13 Apr 2005 03:47:45 -0000	1.3598.2.12
+++ mail/ChangeLog	15 May 2005 01:51:18 -0000
@@ -1,3 +1,11 @@
+2005-05-14  Changwoo Ryu  <cwryu@debian.org>
+
+	* em-folder-properties.c (emfp_dialog_got_folder): translate
+	the labels of emfp_items.
+
+	* em-account-editor.c (em_account_editor_construct): translate
+	the labels of emae_{editor,druid}_items.
+
 2005-04-12  Not Zed  <NotZed@Ximian.com>
 
 	** See bug #273752
Index: mail/em-account-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-account-editor.c,v
retrieving revision 1.23.2.1
diff -u -p -r1.23.2.1 em-account-editor.c
--- mail/em-account-editor.c	15 Mar 2005 02:27:49 -0000	1.23.2.1
+++ mail/em-account-editor.c	15 May 2005 01:51:19 -0000
@@ -2198,6 +2198,7 @@ static EMConfigItem emae_editor_items[] 
 	/* table not vbox: { E_CONFIG_SECTION, "50.security/10.smime", "smime_table", emae_widget_glade }, */
 	{ 0 },
 };
+static gboolean emae_editor_items_translated = FALSE;
 
 static GtkWidget *
 emae_management_page(EConfig *ec, EConfigItem *item, struct _GtkWidget *parent, struct _GtkWidget *old, void *data)
@@ -2268,6 +2269,7 @@ static EMConfigItem emae_druid_items[] =
 	{ E_CONFIG_PAGE_FINISH, "999.end", "finish_page", emae_widget_druid_glade },
 	{ 0 },
 };
+static gboolean emae_druid_items_translated = FALSE;
 
 static void
 emae_free(EConfig *ec, GSList *items, void *data)
@@ -2519,9 +2521,23 @@ em_account_editor_construct(EMAccountEdi
 	if (type == EMAE_NOTEBOOK) {
 		ec = em_config_new(E_CONFIG_BOOK, id);
 		items = emae_editor_items;
+		if (!emae_editor_items_translated) {
+			for (i=0;items[i].path;i++) {
+				if (items[i].label)
+					items[i].label = gettext(items[i].label);
+			}
+			emae_editor_items_translated = TRUE;
+		}
 	} else {
 		ec = em_config_new(E_CONFIG_DRUID, id);
 		items = emae_druid_items;
+		if (!emae_druid_items_translated) {
+			for (i=0;items[i].path;i++) {
+				if (items[i].label)
+					items[i].label = _(items[i].label);
+			}
+			emae_druid_items_translated = TRUE;
+		}
 	}
 
 	emae->config = gui->config = ec;
Index: mail/em-folder-properties.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-folder-properties.c,v
retrieving revision 1.9
diff -u -p -r1.9 em-folder-properties.c
--- mail/em-folder-properties.c	4 Feb 2005 04:14:22 -0000	1.9
+++ mail/em-folder-properties.c	15 May 2005 01:51:19 -0000
@@ -216,6 +216,7 @@ static EMConfigItem emfp_items[] = {
 	{ E_CONFIG_SECTION, "00.general/00.folder", NULL /* set by code */ },
 	{ E_CONFIG_ITEM, "00.general/00.folder/00.info", NULL, emfp_get_folder_item },
 };
+static gboolean emfp_items_translated = FALSE;
 
 static void
 emfp_dialog_got_folder (char *uri, CamelFolder *folder, void *data)
@@ -247,6 +248,14 @@ emfp_dialog_got_folder (char *uri, Camel
 		emfp_items[EMFP_FOLDER_SECTION].label = _(prop_data->name);
 	else
 		emfp_items[EMFP_FOLDER_SECTION].label = prop_data->name;
+
+	if (!emfp_items_translated) {
+		for (i=0;i<sizeof(emfp_items)/sizeof(emfp_items[0]);i++) {
+			if (emfp_items[i].label)
+				emfp_items[i].label = _(emfp_items[i].label);
+		}
+		emfp_items_translated = TRUE;
+	}
 
 	count = g_slist_length (prop_data->properties);
 
