Bug #587699 - IMAP - Localize only Inbox folder name, no other
authorMilan Crha <mcrha@redhat.com>
Tue, 7 Jul 2009 14:54:33 +0000 (16:54 +0200)
committerMilan Crha <mcrha@redhat.com>
Tue, 7 Jul 2009 14:54:33 +0000 (16:54 +0200)
camel/providers/imap/camel-imap-store.c

index e89036f..80958a2 100644 (file)
@@ -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);