qui est en ligne update
This commit is contained in:
parent
e8171a63a0
commit
1bd9cf41ef
|
@ -148,11 +148,22 @@ if ($this->getData(['core', 'dataVersion']) < 4501) {
|
|||
$this->setData(['config', 'i18n', 'scriptGoogle', false]);
|
||||
$this->setData(['config', 'i18n', 'showCredits', false]);
|
||||
$this->setData(['config', 'i18n', 'autoDetect', false]);
|
||||
$this->setData(['locale', 'visitorLabel', 'Visiteur']);
|
||||
$this->setData(['locale', 'memberLabel', 'Membre']);
|
||||
$this->setData(['locale', 'editorLabel', 'Editeur']);
|
||||
$this->setData(['locale', 'moderatorLabel', 'Modérateur']);
|
||||
$this->setData(['locale', 'administratorLabel', 'Administrateur']);
|
||||
switch ( $this->getData(['config', 'i18n', 'langAdmin']) ){
|
||||
case 'fr':
|
||||
$groupWhoIs = [ 0=>'Visiteur', 1=>'Membre', 2=>'Editeur', 3=>'Modérateur', 4=>'Administrateur' ];
|
||||
break;
|
||||
case 'en':
|
||||
$groupWhoIs = [ 0=>'Visitor', 1=>'Member', 2=>'Editor', 3=>'Moderator', 4=>'Administrator' ];
|
||||
break;
|
||||
case 'es':
|
||||
$groupWhoIs = [ 0=>'Visitante', 1=>'Miembro', 2=>'Editor', 3=>'Moderador', 4=>'Administrador' ];
|
||||
break;
|
||||
}
|
||||
$this->setData(['locale', 'visitorLabel', $groupWhoIs[0] ]);
|
||||
$this->setData(['locale', 'memberLabel', $groupWhoIs[1] ]);
|
||||
$this->setData(['locale', 'editorLabel', $groupWhoIs[2] ]);
|
||||
$this->setData(['locale', 'moderatorLabel', $groupWhoIs[3] ]);
|
||||
$this->setData(['locale', 'administratorLabel', $groupWhoIs[4] ]);
|
||||
$this->setData(['core', 'dataVersion', 4501]);
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue