diff --git a/app/assets/javascripts/app/lib/app_post/utils.coffee b/app/assets/javascripts/app/lib/app_post/utils.coffee index 0eb039b96..569e5de6d 100644 --- a/app/assets/javascripts/app/lib/app_post/utils.coffee +++ b/app/assets/javascripts/app/lib/app_post/utils.coffee @@ -948,7 +948,7 @@ class App.Utils tmp.find('blockquote').remove() text = tmp.text() - matchwords = ['Attachment', 'attachment', 'Attached', 'attached', 'Enclosed', 'enclosed', 'Enclosure', 'enclosure'] + matchwords = [__('Attachment'), __('attachment'), __('Attached'), __('attached'), __('Enclosed'), __('enclosed'), __('Enclosure'), __('enclosure')] for word in matchwords # en attachmentTranslatedRegExp = new RegExp("\\W#{word}\\W", 'i') diff --git a/i18n/zammad.pot b/i18n/zammad.pot index 1f3e4a664..59a03577d 100644 --- a/i18n/zammad.pot +++ b/i18n/zammad.pot @@ -941,11 +941,19 @@ msgstr "" msgid "At least one user needs to have admin permissions." msgstr "" +#: app/assets/javascripts/app/lib/app_post/utils.coffee +msgid "Attached" +msgstr "" + #: app/assets/javascripts/app/views/generic/attachments.jst.eco #: app/views/knowledge_base/public/answers/show.html.erb msgid "Attached Files" msgstr "" +#: app/assets/javascripts/app/lib/app_post/utils.coffee +msgid "Attachment" +msgstr "" + #: db/seeds/settings.rb msgid "Attachment - Search for follow-up also in attachments." msgstr "" @@ -3702,6 +3710,14 @@ msgstr "" msgid "Enables users to create their own account via web interface." msgstr "" +#: app/assets/javascripts/app/lib/app_post/utils.coffee +msgid "Enclosed" +msgstr "" + +#: app/assets/javascripts/app/lib/app_post/utils.coffee +msgid "Enclosure" +msgstr "" + #: app/assets/javascripts/app/views/agent_ticket_create.jst.eco #: app/assets/javascripts/app/views/ticket_zoom/article_new.jst.eco msgid "Encrypt" @@ -10793,6 +10809,14 @@ msgstr "" msgid "at" msgstr "" +#: app/assets/javascripts/app/lib/app_post/utils.coffee +msgid "attached" +msgstr "" + +#: app/assets/javascripts/app/lib/app_post/utils.coffee +msgid "attachment" +msgstr "" + #: app/assets/javascripts/app/controllers/_ui_element/core_workflow_perform.coffee msgid "auto select" msgstr "" @@ -10969,6 +10993,14 @@ msgstr "" msgid "email" msgstr "" +#: app/assets/javascripts/app/lib/app_post/utils.coffee +msgid "enclosed" +msgstr "" + +#: app/assets/javascripts/app/lib/app_post/utils.coffee +msgid "enclosure" +msgstr "" + #: app/assets/javascripts/app/models/ticket.coffee msgid "escalated" msgstr ""