From 55b4763cff6a89ff30a1c65b9748577d10cb925b Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 21 Sep 2022 15:09:13 +0200 Subject: [PATCH] Translate : nom de variable --- core/module/translate/translate.php | 4 ++-- core/module/translate/view/index/index.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/module/translate/translate.php b/core/module/translate/translate.php index 7f1fb324..f66c4613 100644 --- a/core/module/translate/translate.php +++ b/core/module/translate/translate.php @@ -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' || diff --git a/core/module/translate/view/index/index.php b/core/module/translate/view/index/index.php index 02a8cb4d..229159b8 100644 --- a/core/module/translate/view/index/index.php +++ b/core/module/translate/view/index/index.php @@ -50,7 +50,7 @@
- 'Traductions installées', 'selected' => $this->getData(['config', 'i18n' , 'interface']), ]); ?>