** Fix for bug #511717
authorTakao Fujiwara <takao.fujiwara@sun.com>
Thu, 24 Jan 2008 08:30:45 +0000 (08:30 +0000)
committerTakao Fujiwara <fujiwarat@src.gnome.org>
Thu, 24 Jan 2008 08:30:45 +0000 (08:30 +0000)
2008-01-24  Takao Fujiwara  <takao.fujiwara@sun.com>

    ** Fix for bug #511717

    * camel/providers/imap/camel-imap-store.c: (imap_build_folder_info):
    Add gettext imap folders.

svn path=/trunk/; revision=8414

ChangeLog
camel/providers/imap/camel-imap-store.c

index a3f208f..dcf79ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-24  Takao Fujiwara  <takao.fujiwara@sun.com>
+
+       ** Fix for bug #511717
+
+       * camel/providers/imap/camel-imap-store.c: (imap_build_folder_info):
+       Add gettext imap folders.
+
 2008-01-19  Matthew Barnes  <mbarnes@redhat.com>
 
        * configure.in:
index b17a3c5..9795364 100644 (file)
@@ -1067,6 +1067,14 @@ imap_build_folder_info(CamelImapStore *imap_store, const char *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"))
+               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"));
        else
                fi->name = g_strdup (name);