Translate : nom de variable
This commit is contained in:
parent
677ecaf19c
commit
55b4763cff
@ -221,7 +221,7 @@ class translate extends common {
|
||||
]);
|
||||
// Sauvegarder les langues de contenu
|
||||
$this->setData(['config', 'i18n', [
|
||||
'interface' => $this->getInput('translateI18n'),
|
||||
'interface' => $this->getInput('translateUI'),
|
||||
'fr' => $this->getInput('translateFR'),
|
||||
'de' => $this->getInput('translateDE'),
|
||||
'en' => $this->getInput('translateEN'),
|
||||
@ -272,7 +272,7 @@ class translate extends common {
|
||||
];
|
||||
}
|
||||
}
|
||||
// Générer la list des pages disponibles
|
||||
// Générer la liste des pages disponibles
|
||||
self::$pagesList = $this->getData(['page']);
|
||||
foreach(self::$pagesList as $page => $pageId) {
|
||||
if ($this->getData(['page',$page,'block']) === 'bar' ||
|
||||
|
@ -50,7 +50,7 @@
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4 offset4">
|
||||
<?php echo template::select('translateI18n', $module::$i18nFiles, [
|
||||
<?php echo template::select('translateUI', $module::$i18nFiles, [
|
||||
'label' => 'Traductions installées',
|
||||
'selected' => $this->getData(['config', 'i18n' , 'interface']),
|
||||
]); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user