From b2cbbf0c2d56104d746cfcfc5501d776b1327eac Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 13 Jan 2023 15:58:11 +0100 Subject: [PATCH] dialogues redirection --- core/class/helper.class.php | 2 +- module/redirection/i18n/fr_FR.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 module/redirection/i18n/fr_FR.json diff --git a/core/class/helper.class.php b/core/class/helper.class.php index 540e8687..65598c4a 100644 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -26,7 +26,7 @@ class helper public static function translate($text) { - $target = 'search'; + $target = 'redirection'; /** Collecte des dialogues des modules */ $url = $_SERVER['QUERY_STRING']; $module = explode('/', $url); diff --git a/module/redirection/i18n/fr_FR.json b/module/redirection/i18n/fr_FR.json new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/module/redirection/i18n/fr_FR.json @@ -0,0 +1 @@ +{} \ No newline at end of file