Fixes #4096 - Pop-Up Warning for missing attachments with text containing "attached" or related only appears on english terms (not translated).
This commit is contained in:
parent
0fb34f24cf
commit
d1d67c3230
2 changed files with 33 additions and 1 deletions
|
@ -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')
|
||||
|
|
|
@ -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 ""
|
||||
|
|
Loading…
Reference in a new issue