Permalink
Browse files

[-] MO : Bug fix #PNM-1204 : Jirafe, Tab name & languages

  • Loading branch information...
gaillafr committed Mar 29, 2013
1 parent 0754773 commit dc9a25bab7c81ca3a94b0696eb6ac0095928726d
Showing with 6 additions and 4 deletions.
  1. +1 −1 jirafe/config.xml
  2. +1 −1 jirafe/jirafe14.php
  3. +4 −2 jirafe/jirafe15.php
View
@@ -2,7 +2,7 @@
<module>
<name>jirafe</name>
<displayName><![CDATA[Analytics for ecommerce]]></displayName>
- <version><![CDATA[1.2.4]]></version>
+ <version><![CDATA[1.2.5]]></version>
<description><![CDATA[The best analytics for ecommerce merchants. Deeply integrated into the Prestashop platform.]]></description>
<author><![CDATA[Jirafe Inc.]]></author>
<tab><![CDATA[analytics_stats]]></tab>
View
@@ -45,7 +45,7 @@ public function __construct()
$this->name = 'jirafe';
$this->tab = 'analytics_stats';
- $this->version = '1.2.4';
+ $this->version = '1.2.5';
//The constructor must be called after the name has been set, but before you try to use any functions like $this->l()
parent::__construct();
View
@@ -44,7 +44,7 @@ public function __construct()
$this->name = 'jirafe';
$this->tab = 'analytics_stats';
- $this->version = '1.2.4';
+ $this->version = '1.2.5';
//The constructor must be called after the name has been set, but before you try to use any functions like $this->l()
parent::__construct();
@@ -168,7 +168,9 @@ public function install()
private function installAdminDashboard()
{
$tab = new Tab();
- $tab->name = 'Jirafe Analytics';
+ $tab->name = array();
+ foreach (Language::getLanguages() as $language)
+ $tab->name[$language['id_lang']] = 'Jirafe Analytics';
$tab->class_name = 'AdminJirafeDashboard';
$tab->module = 'jirafe';
$tab->id_parent = Tab::getIdFromClassName('AdminParentStats');

0 comments on commit dc9a25b

Please sign in to comment.