From d7565e0f55e015f3ce813b73d87c4867f863cfa5 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 14 Nov 2016 12:03:26 +0100 Subject: [PATCH] Fixed issue#408 - "Ticket will escalate soon" in online notifications is not translated. --- app/assets/javascripts/app/models/ticket.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/app/models/ticket.coffee b/app/assets/javascripts/app/models/ticket.coffee index 32ba6f7c3..261db5c74 100644 --- a/app/assets/javascripts/app/models/ticket.coffee +++ b/app/assets/javascripts/app/models/ticket.coffee @@ -89,4 +89,6 @@ class App.Ticket extends App.Model return App.i18n.translateContent('Pending reminder reached for Ticket |%s|', item.title) else if item.type is 'escalation' return App.i18n.translateContent('Ticket |%s| is escalated!', item.title) + else if item.type is 'escalation_warning' + return App.i18n.translateContent('Ticket |%s| will escalate soon!', item.title) return "Unknow action for (#{@objectDisplayName()}/#{item.type}), extend activityMessage() of model."