Traduction Obligatoire

This commit is contained in:
Fred Tempez 2023-02-19 18:01:28 +01:00
parent d13e8888d9
commit 971ebf1133
1 changed files with 2 additions and 2 deletions

View File

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