Index: mail/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3444.2.7
diff -u -3 -r1.3444.2.7 ChangeLog
--- mail/ChangeLog	17 Sep 2004 20:13:36 -0000	1.3444.2.7
+++ mail/ChangeLog	20 Sep 2004 09:54:43 -0000
@@ -1,3 +1,12 @@
+2004-09-20  Not Zed  <NotZed@Ximian.com>
+
+	* em-folder-tree-model.c (emft_is_special_local_folder): added
+	helper for finding local folders for translation.
+	(em_folder_tree_model_set_folder_info): translate the special
+	local folder names.
+
+	* mail-component.c: mark standard folder names for translation.
+
 2004-09-09  Jeffrey Stedfast  <fejj@novell.com>
 
 	* em-message-browser.c (emmb_set_message): Ignore the
Index: mail/em-folder-tree-model.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-folder-tree-model.c,v
retrieving revision 1.61
diff -u -3 -r1.61 em-folder-tree-model.c
--- mail/em-folder-tree-model.c	24 Aug 2004 02:54:03 -0000	1.61
+++ mail/em-folder-tree-model.c	20 Sep 2004 09:54:44 -0000
@@ -414,6 +414,15 @@
 	em_folder_tree_model_remove_store (model, si->store);
 }
 
+/* NB: more-or-less copied from em-folder-tree.c */
+static gboolean
+emft_is_special_local_folder(CamelStore *store, const char *name)
+{
+	/* Bit of a hack to translate local mailbox names */
+	return store == mail_component_peek_local_store(NULL)
+		&& (!strcmp (name, "Drafts") || !strcmp (name, "Inbox")
+		    || !strcmp (name, "Outbox") || !strcmp (name, "Sent"));
+}
 
 void
 em_folder_tree_model_set_folder_info (EMFolderTreeModel *model, GtkTreeIter *iter,
@@ -427,7 +436,8 @@
 	gboolean load = FALSE;
 	struct _CamelFolder *folder;
 	gboolean emitted = FALSE;
-	
+	const char *name;
+
 	if (!fully_loaded)
 		load = fi->child == NULL && !(fi->flags & (CAMEL_FOLDER_NOCHILDREN | CAMEL_FOLDER_NOINFERIORS));
 	
@@ -457,9 +467,14 @@
 		}
 		camel_object_unref(folder);
 	}
-		
+
+	if (emft_is_special_local_folder(si->store, fi->full_name))
+		name = _(fi->name);
+	else
+		name = fi->name;
+
 	gtk_tree_store_set ((GtkTreeStore *) model, iter,
-			    COL_STRING_DISPLAY_NAME, fi->name,
+			    COL_STRING_DISPLAY_NAME, name,
 			    COL_POINTER_CAMEL_STORE, si->store,
 			    COL_STRING_FULL_NAME, fi->full_name,
 			    COL_STRING_URI, fi->uri,
Index: mail/mail-component.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-component.c,v
retrieving revision 1.96
diff -u -3 -r1.96 mail-component.c
--- mail/mail-component.c	26 Aug 2004 04:13:43 -0000	1.96
+++ mail/mail-component.c	20 Sep 2004 09:54:46 -0000
@@ -130,10 +130,11 @@
 	char *uri;
 	CamelFolder *folder;
 } mc_default_folders[] = {
-	{ "Inbox", },
-	{ "Drafts", },
-	{ "Outbox", },
-	{ "Sent", },
+	/* translators: standard local mailbox names */
+	{ N_("Inbox"), },
+	{ N_("Drafts"), },
+	{ N_("Outbox"), },
+	{ N_("Sent"), },
 	{ "Inbox", },		/* 'always local' inbox */
 };
 
