[evolution-data-server] Bug #587699 - IMAP - Localize only Inbox folder name, no other



commit 110130b6de4d9adc58a054a4aaa475c03485bfde
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jul 7 16:54:33 2009 +0200

    Bug #587699 - IMAP - Localize only Inbox folder	name, no other

 camel/providers/imap/camel-imap-store.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index e89036f..80958a2 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -1051,14 +1051,15 @@ imap_build_folder_info(CamelImapStore *imap_store, const gchar *folder_name)
 		name++;
 	if (!g_ascii_strcasecmp (fi->full_name, "INBOX"))
 		fi->name = g_strdup (_("Inbox"));
-	else if (!g_ascii_strcasecmp (fi->full_name, "Drafts"))
+	/* Do not localize the rest, these are from a server, thus shouldn't be localized */
+	/*else if (!g_ascii_strcasecmp (fi->full_name, "Drafts"))
 		fi->name = g_strdup (_("Drafts"));
 	else if (!g_ascii_strcasecmp (fi->full_name, "Sent"))
 		fi->name = g_strdup (_("Sent"));
 	else if (!g_ascii_strcasecmp (fi->full_name, "Templates"))
 		fi->name = g_strdup (_("Templates"));
 	else if (!g_ascii_strcasecmp (fi->full_name, "Trash"))
-		fi->name = g_strdup (_("Trash"));
+		fi->name = g_strdup (_("Trash"));*/
 	else
 		fi->name = g_strdup (name);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]