aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-23 17:20:50 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-23 17:20:50 +0800
commit91020b05a3107e4ae51d7aa33dc0bebe5b668e6d (patch)
treee3b2445f54a7d74e5ff00ebbd8ecfa70235ed016 /composer/e-msg-composer.c
parentedf6286a38279e6db82dee4da50e94c587f06e02 (diff)
downloadgsoc2013-evolution-91020b05a3107e4ae51d7aa33dc0bebe5b668e6d.tar.gz
gsoc2013-evolution-91020b05a3107e4ae51d7aa33dc0bebe5b668e6d.tar.zst
gsoc2013-evolution-91020b05a3107e4ae51d7aa33dc0bebe5b668e6d.zip
Bug #360461 - Avoid markup in translatable messages
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 2edf313a5e..1705d85c3a 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3305,12 +3305,15 @@ e_msg_composer_set_body (EMsgComposer *composer,
{
EMsgComposerPrivate *p = composer->priv;
EComposerHeaderTable *table;
+ gchar *buff;
g_return_if_fail (E_IS_MSG_COMPOSER (composer));
table = e_msg_composer_get_header_table (composer);
- set_editor_text (composer, _("<b>(The composer contains a non-text message body, which cannot be edited.)</b>"), FALSE);
+ buff = g_strconcat ("<b>(", _("The composer contains a non-text message body, which cannot be edited."), ")</b>", NULL);
+ set_editor_text (composer, buff, FALSE);
+ g_free (buff);
gtkhtml_editor_set_html_mode (GTKHTML_EDITOR (composer), FALSE);
disable_editor (composer);