* Fixes NB#97986, replaced "Attachments" by "Attachment" logical ids in viewer
authorSergio Villar Senin <svillar@igalia.com>
Wed, 14 Jan 2009 09:41:41 +0000 (09:41 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 14 Jan 2009 09:41:41 +0000 (09:41 +0000)
pmo-trunk-r7135

src/widgets/modest-gtkhtml-msg-view.c
src/widgets/modest-mozembed-msg-view.c

index d8ebb46..569c8cb 100644 (file)
@@ -1131,7 +1131,11 @@ modest_gtkhtml_msg_view_init (ModestGtkhtmlMsgView *obj)
        }
        
        if (priv->attachments_view) {
        }
        
        if (priv->attachments_view) {
+#ifndef MODEST_TOOLKIT_HILDON2
                gchar *att_label = g_strconcat (_("mcen_me_viewer_attachments"), ":", NULL);
                gchar *att_label = g_strconcat (_("mcen_me_viewer_attachments"), ":", NULL);
+#else
+               gchar *att_label = g_strconcat (_("mail_va_attachment"), ":", NULL);
+#endif
 
                priv->attachments_box = (GtkWidget *)
                        modest_mail_header_view_add_custom_header (MODEST_MAIL_HEADER_VIEW (priv->mail_header_view),
 
                priv->attachments_box = (GtkWidget *)
                        modest_mail_header_view_add_custom_header (MODEST_MAIL_HEADER_VIEW (priv->mail_header_view),
index 33b52af..1be3392 100644 (file)
@@ -348,7 +348,11 @@ modest_mozembed_msg_view_init (ModestMozembedMsgView *obj)
                gtk_box_pack_start (GTK_BOX(priv->headers_box), priv->mail_header_view, FALSE, FALSE, 0);
        
        if (priv->attachments_view) {
                gtk_box_pack_start (GTK_BOX(priv->headers_box), priv->mail_header_view, FALSE, FALSE, 0);
        
        if (priv->attachments_view) {
+#ifndef MODEST_TOOLKIT_HILDON2
                gchar *att_label = g_strconcat (_("mcen_me_viewer_attachments"), ":", NULL);
                gchar *att_label = g_strconcat (_("mcen_me_viewer_attachments"), ":", NULL);
+#else
+               gchar *att_label = g_strconcat (_("mail_va_attachment"), ":", NULL);
+#endif
 
                priv->attachments_box = (GtkWidget *)
                        modest_mail_header_view_add_custom_header (MODEST_MAIL_HEADER_VIEW (priv->mail_header_view),
 
                priv->attachments_box = (GtkWidget *)
                        modest_mail_header_view_add_custom_header (MODEST_MAIL_HEADER_VIEW (priv->mail_header_view),