[-] BO : #PSTP-73 : fix bug translations in AdminStatsTabController

This commit is contained in:
lLefevre
2012-06-20 08:43:22 +00:00
parent af855321ab
commit 72390c4f68
@@ -36,7 +36,7 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor
public function initContent() public function initContent()
{ {
$this->toolbar_title = $this->l('Stats'); $this->toolbar_title = $this->l('Stats', 'AdminStatsTab');
if ($this->display == 'view') if ($this->display == 'view')
{ {
@@ -98,10 +98,10 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor
$tpl = $this->createTemplate('engines.tpl'); $tpl = $this->createTemplate('engines.tpl');
$autoclean_period = array( $autoclean_period = array(
'never' => $this->l('Never'), 'never' => $this->l('Never', 'AdminStatsTab'),
'week' => $this->l('Week'), 'week' => $this->l('Week', 'AdminStatsTab'),
'month' => $this->l('Month'), 'month' => $this->l('Month', 'AdminStatsTab'),
'year' => $this->l('Year'), 'year' => $this->l('Year', 'AdminStatsTab')
); );
$tpl->assign(array( $tpl->assign(array(