From 958ffcd41fb37dbfb569e8337987b1d81cbea483 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sun, 22 Aug 2021 19:22:39 +0200 Subject: [PATCH] =?UTF-8?q?i18n=20valeurs=20par=20d=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/include/update.inc.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 5e2a9201..3a61f094 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -595,17 +595,18 @@ if ($this->getData(['core', 'dataVersion']) < 11000) { $this->setData(['config','autoDisconnect',true]); // Mettre à jour les données de langue + $this->setData(['config', 'i18n','active', true ]); $this->setData(['config', 'i18n','scriptGoogle', false ]); $this->setData(['config', 'i18n','showCredits', false ]); $this->setData(['config', 'i18n','autoDetect', false ]); $this->setData(['config', 'i18n','admin', false ]); - $this->setData(['config', 'i18n','fr', false ]); - $this->setData(['config', 'i18n','de', false ]); - $this->setData(['config', 'i18n','en', false ]); - $this->setData(['config', 'i18n','es', false ]); - $this->setData(['config', 'i18n','it', false ]); - $this->setData(['config', 'i18n','nl', false ]); - $this->setData(['config', 'i18n','pt', false ]); + $this->setData(['config', 'i18n','fr', 'none' ]); + $this->setData(['config', 'i18n','de', 'none' ]); + $this->setData(['config', 'i18n','en', 'none' ]); + $this->setData(['config', 'i18n','es', 'none' ]); + $this->setData(['config', 'i18n','it', 'none' ]); + $this->setData(['config', 'i18n','nl', 'none' ]); + $this->setData(['config', 'i18n','pt', 'none' ]); // Supprimer les fichiers de backup if (file_exists('site/data/.backup')) unlink('site/data/.backup');