From bdadd44efb2eeb1b1968bfacb3444c8fd77ead55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Mon, 3 Oct 2022 19:01:42 +0200 Subject: [PATCH] Corrections diverses --- core/class/helper.class.php | 3 +- core/module/config/view/connect/connect.php | 13 +- core/module/config/view/network/network.php | 12 +- core/module/config/view/setup/setup.php | 24 +- core/module/config/view/social/social.php | 12 +- core/module/install/ressource/i18n/de.json | 452 ----------------- core/module/install/ressource/i18n/it.json | 452 ----------------- core/module/install/ressource/i18n/nl.json | 466 ------------------ core/module/install/ressource/i18n/pt_PT.json | 448 ----------------- core/module/page/view/edit/edit.php | 30 +- core/module/translate/view/edit/edit.php | 32 +- site/i18n/en_EN.json | 13 +- site/i18n/fr_FR.json | 6 +- 13 files changed, 75 insertions(+), 1888 deletions(-) delete mode 100644 core/module/install/ressource/i18n/de.json delete mode 100644 core/module/install/ressource/i18n/it.json delete mode 100644 core/module/install/ressource/i18n/nl.json delete mode 100644 core/module/install/ressource/i18n/pt_PT.json diff --git a/core/class/helper.class.php b/core/class/helper.class.php index 198e8bf6..75943bc5 100644 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -29,8 +29,7 @@ class helper //helper::googleTranslate('fr_FR', 'fr_FR', $text); - $r = array_key_exists($text, core::$dialog) && !empty(core::$dialog[$text]) ? core::$dialog[$text] : $text; - return $r; + return (array_key_exists($text, core::$dialog) && !empty(core::$dialog[$text]) ? core::$dialog[$text] : $text); } /** diff --git a/core/module/config/view/connect/connect.php b/core/module/config/view/connect/connect.php index b3582006..1fc17096 100644 --- a/core/module/config/view/connect/connect.php +++ b/core/module/config/view/connect/connect.php @@ -3,11 +3,11 @@

- +

@@ -44,7 +44,7 @@ ]); ?>
-