From 257ab2fc60cbb23b1dfeaf16d68f7ae4c1c03878 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Wed, 16 Feb 2022 16:20:25 +0100 Subject: [PATCH] Fixes #3920 - Not translated text with forwarding e-mails. --- .../controllers/ticket_zoom/article_action/email_reply.coffee | 2 +- i18n/zammad.pot | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/article_action/email_reply.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/article_action/email_reply.coffee index 338bb8625..f46c17586 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/article_action/email_reply.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/article_action/email_reply.coffee @@ -257,7 +257,7 @@ class EmailReply extends App.Controller quote_header = App.FullQuoteHeader.fullQuoteHeaderForward(article) - body = "
---Begin forwarded message:---

#{quote_header}#{body}

" + body = "
---#{App.i18n.translateInline('Begin forwarded message')}:---

#{quote_header}#{body}

" articleNew = {} articleNew.body = body diff --git a/i18n/zammad.pot b/i18n/zammad.pot index ac9c077bb..f20f04f32 100644 --- a/i18n/zammad.pot +++ b/i18n/zammad.pot @@ -1140,6 +1140,10 @@ msgstr "" msgid "Before you mention a user, please select a group." msgstr "" +#: app/assets/javascripts/app/controllers/ticket_zoom/article_action/email_reply.coffee +msgid "Begin forwarded message" +msgstr "" + #: db/seeds/settings.rb msgid "Beginner" msgstr ""