From 31481bc94a3a8a9741c4b3224c0cbd388dc0e362 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 14 Jan 2009 09:41:41 +0000 Subject: [PATCH] * Fixes NB#97986, replaced "Attachments" by "Attachment" logical ids in viewer pmo-trunk-r7135 --- src/widgets/modest-gtkhtml-msg-view.c | 4 ++++ src/widgets/modest-mozembed-msg-view.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/widgets/modest-gtkhtml-msg-view.c b/src/widgets/modest-gtkhtml-msg-view.c index d8ebb46..569c8cb 100644 --- a/src/widgets/modest-gtkhtml-msg-view.c +++ b/src/widgets/modest-gtkhtml-msg-view.c @@ -1131,7 +1131,11 @@ modest_gtkhtml_msg_view_init (ModestGtkhtmlMsgView *obj) } if (priv->attachments_view) { +#ifndef MODEST_TOOLKIT_HILDON2 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), diff --git a/src/widgets/modest-mozembed-msg-view.c b/src/widgets/modest-mozembed-msg-view.c index 33b52af..1be3392 100644 --- a/src/widgets/modest-mozembed-msg-view.c +++ b/src/widgets/modest-mozembed-msg-view.c @@ -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) { +#ifndef MODEST_TOOLKIT_HILDON2 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), -- 1.7.9.5