From 971ebf113363b4fe87117681da5bc7b9dfe9e425 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sun, 19 Feb 2023 18:01:28 +0100 Subject: [PATCH] Traduction Obligatoire --- core/core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index 4ed0422c..7111ebcd 100644 --- a/core/core.php +++ b/core/core.php @@ -491,12 +491,12 @@ class common $firstKey = explode('[', $key)[0]; $secondKey = $secondKey[1]; if (empty($this->input['_POST'][$firstKey][$secondKey])) { - common::$inputNotices[$firstKey . '_' . $secondKey] = 'Obligatoire'; + common::$inputNotices[$firstKey . '_' . $secondKey] = helper::translate('Obligatoire'); } } // La clef est une chaine elseif (empty($this->input['_POST'][$key])) { - common::$inputNotices[$key] = 'Obligatoire'; + common::$inputNotices[$key] = helper::translate('Obligatoire'); } }