From 46c2455853e215091cf43167a868ac6d0e56c78a Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 13 Jan 2023 15:59:59 +0100 Subject: [PATCH] Comment translate function --- core/class/helper.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index 65598c4a..f276a680 100644 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -26,8 +26,8 @@ class helper public static function translate($text) { + /* $target = 'redirection'; - /** Collecte des dialogues des modules */ $url = $_SERVER['QUERY_STRING']; $module = explode('/', $url); if ( $module[0] === $target) @@ -40,6 +40,7 @@ class helper } } + */ return (array_key_exists($text, core::$dialog) && !empty(core::$dialog[$text]) ? core::$dialog[$text] : $text); }