From ece88ff6d4c59418dc043c735252aca012eee207 Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 12 Jun 2016 17:25:32 +0200 Subject: * localizing DB strings --- app/frontend/dto/EventDTO.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app/frontend/dto/EventDTO.php') diff --git a/app/frontend/dto/EventDTO.php b/app/frontend/dto/EventDTO.php index 8f5cdf5..9af06e4 100644 --- a/app/frontend/dto/EventDTO.php +++ b/app/frontend/dto/EventDTO.php @@ -1,10 +1,11 @@ Name = $event->Name; + $this->Name = self::getTranslation( + $event->Name, + 'Event.Name' + ); $this->Location = $event->Location; if ($event->AllDay) { -- cgit v1.2.3