[-] BO : #PSTP-73 : fix bug translations in AdminStatsTabController
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user