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); }