Fixes #4066 - Zammad notification emails have a broken reason footer line
This commit is contained in:
parent
ee6f1650cb
commit
13e3887dd8
2 changed files with 20 additions and 4 deletions
|
@ -62,14 +62,14 @@ class Transaction::Notification
|
|||
next if !mention_user.group_access?(ticket.group_id, 'read')
|
||||
|
||||
possible_recipients.push mention_user
|
||||
recipients_reason[mention_user.id] = 'are subscribed'
|
||||
recipients_reason[mention_user.id] = __('are subscribed')
|
||||
end
|
||||
end
|
||||
|
||||
# apply owner
|
||||
if ticket.owner_id != 1
|
||||
possible_recipients.push ticket.owner
|
||||
recipients_reason[ticket.owner_id] = 'are assigned'
|
||||
recipients_reason[ticket.owner_id] = __('are assigned')
|
||||
end
|
||||
|
||||
# apply out of office agents
|
||||
|
@ -98,7 +98,7 @@ class Transaction::Notification
|
|||
recipients_and_channels.push result
|
||||
next if recipients_reason[user.id]
|
||||
|
||||
recipients_reason[user.id] = 'are in group'
|
||||
recipients_reason[user.id] = __('are in group')
|
||||
end
|
||||
|
||||
# send notifications
|
||||
|
@ -349,7 +349,7 @@ class Transaction::Notification
|
|||
|
||||
return if !replacements.add?(replacement)
|
||||
|
||||
reasons[replacement.id] = 'are the out-of-office replacement of the owner'
|
||||
reasons[replacement.id] = __('are the out-of-office replacement of the owner')
|
||||
end
|
||||
|
||||
def possible_recipients_of_group(group_id)
|
||||
|
|
|
@ -10751,6 +10751,22 @@ msgstr ""
|
|||
msgid "archived"
|
||||
msgstr ""
|
||||
|
||||
#: app/models/transaction/notification.rb
|
||||
msgid "are assigned"
|
||||
msgstr ""
|
||||
|
||||
#: app/models/transaction/notification.rb
|
||||
msgid "are in group"
|
||||
msgstr ""
|
||||
|
||||
#: app/models/transaction/notification.rb
|
||||
msgid "are subscribed"
|
||||
msgstr ""
|
||||
|
||||
#: app/models/transaction/notification.rb
|
||||
msgid "are the out-of-office replacement of the owner"
|
||||
msgstr ""
|
||||
|
||||
#: app/assets/javascripts/app/views/ticket_overview/batch_overlay.jst.eco
|
||||
msgid "assign tickets"
|
||||
msgstr ""
|
||||
|
|
Loading…
Reference in a new issue