From 7091a12c9232245816fde08904a8202ded732622 Mon Sep 17 00:00:00 2001 From: Andrey Klochok Date: Thu, 14 May 2015 14:52:26 +0300 Subject: [PATCH] Fix translation TicketController --- controllers/TicketController.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/controllers/TicketController.php b/controllers/TicketController.php index 4c1ac5a..45ff3ea 100644 --- a/controllers/TicketController.php +++ b/controllers/TicketController.php @@ -68,25 +68,25 @@ public function actionIndex() $sort = new Sort([ 'attributes' => [ 'create_time' => [ - 'label' => 'Create time', + 'label' => Yii::t('app', 'Create time'), ], 'lastanswer' => [ - 'label' => 'Latest answer', + 'label' => Yii::t('app', 'Latest answer'), ], 'time' => [ - 'label' => 'Time', + 'label' => Yii::t('app', 'Time'), ], 'subject' => [ - 'label' => 'Subject', + 'label' => Yii::t('app', 'Subject'), ], 'spent' => [ - 'label' => 'Spent time', + 'label' => Yii::t('app', 'Spent time'), ], 'author' => [ - 'label' => 'Author', + 'label' => Yii::t('app', 'Author'), ], - 'rescipient' => [ - 'label' => 'Recipient', + 'recipient' => [ + 'label' => Yii::t('app', 'Recipient'), ], ], ]);