From 72390c4f68191afe4c8b10e5b2a9a1eb81f4100a Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 20 Jun 2012 08:43:22 +0000 Subject: [PATCH] [-] BO : #PSTP-73 : fix bug translations in AdminStatsTabController --- controllers/admin/AdminStatsTabController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/controllers/admin/AdminStatsTabController.php b/controllers/admin/AdminStatsTabController.php index c30b36e8c..500e91547 100644 --- a/controllers/admin/AdminStatsTabController.php +++ b/controllers/admin/AdminStatsTabController.php @@ -36,7 +36,7 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor public function initContent() { - $this->toolbar_title = $this->l('Stats'); + $this->toolbar_title = $this->l('Stats', 'AdminStatsTab'); if ($this->display == 'view') { @@ -98,10 +98,10 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor $tpl = $this->createTemplate('engines.tpl'); $autoclean_period = array( - 'never' => $this->l('Never'), - 'week' => $this->l('Week'), - 'month' => $this->l('Month'), - 'year' => $this->l('Year'), + 'never' => $this->l('Never', 'AdminStatsTab'), + 'week' => $this->l('Week', 'AdminStatsTab'), + 'month' => $this->l('Month', 'AdminStatsTab'), + 'year' => $this->l('Year', 'AdminStatsTab') ); $tpl->assign(array(