From bafd6addbfa44463ebf28a26cf32fe8a7b0e18c4 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 26 Nov 2020 12:09:06 +0100 Subject: [PATCH] =?UTF-8?q?Option=20du=20fran=C3=A7ais?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/translate/translate.php | 2 +- core/module/translate/view/index/index.php | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/core/module/translate/translate.php b/core/module/translate/translate.php index 4b37404f..95070cb8 100755 --- a/core/module/translate/translate.php +++ b/core/module/translate/translate.php @@ -71,7 +71,7 @@ class translate extends common { 'showCredits' => $this->getInput('translateCredits', helper::FILTER_BOOLEAN) ? $this->getInput('translateCredits', helper::FILTER_BOOLEAN) : false, 'autoDetect' => $this->getInput('translateAutoDetect', helper::FILTER_BOOLEAN), 'admin' => $this->getInput('translateAdmin', helper::FILTER_BOOLEAN), - 'fr' => 'site', + 'fr' => $this->getInput('translateFR'), 'de' => $this->getInput('translateDE'), 'en' => $this->getInput('translateEN'), 'es' => $this->getInput('translateES'), diff --git a/core/module/translate/view/index/index.php b/core/module/translate/view/index/index.php index 1498800b..6be830e1 100755 --- a/core/module/translate/view/index/index.php +++ b/core/module/translate/view/index/index.php @@ -49,6 +49,14 @@

Drapeaux des langues supportées

+
+
+ 'Masqué','site'=>'Affiché'], [ + 'label' => 'Français', + 'selected' => $this->getData(['config', 'translate' , 'fr']) + ]); ?> +
+