From 05973b6b0543df3de7e70d389e70b9fb6475c237 Mon Sep 17 00:00:00 2001 From: Sanjeev Papnoi Date: Thu, 8 Oct 2020 18:25:24 +0530 Subject: [PATCH] correct some translation --- Controller/Thread.php | 2 +- Resources/views/ticket.html.twig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Controller/Thread.php b/Controller/Thread.php index 3e038e324..8400ec970 100755 --- a/Controller/Thread.php +++ b/Controller/Thread.php @@ -131,7 +131,7 @@ public function saveThread($ticketId, Request $request) $this->eventDispatcher->dispatch('uvdesk.automation.workflow.execute', $event); // @TODO: Render response on the basis of event response (if propogation was stopped or not) - $this->addFlash('success', $this->translator->trans('Reply added to ticket successfully.')); + $this->addFlash('success', $this->get('translator')->trans('Success ! Reply added successfully.')); break; case 'forward': // Prepare headers diff --git a/Resources/views/ticket.html.twig b/Resources/views/ticket.html.twig index dd37ecd69..42c231219 100755 --- a/Resources/views/ticket.html.twig +++ b/Resources/views/ticket.html.twig @@ -462,13 +462,13 @@ {% else %} - {{ ticket.status.description }} + {{ ticket.status.description|trans }} {% endif %}