Traduction Obligatoire
This commit is contained in:
parent
d13e8888d9
commit
971ebf1133
@ -491,12 +491,12 @@ class common
|
|||||||
$firstKey = explode('[', $key)[0];
|
$firstKey = explode('[', $key)[0];
|
||||||
$secondKey = $secondKey[1];
|
$secondKey = $secondKey[1];
|
||||||
if (empty($this->input['_POST'][$firstKey][$secondKey])) {
|
if (empty($this->input['_POST'][$firstKey][$secondKey])) {
|
||||||
common::$inputNotices[$firstKey . '_' . $secondKey] = 'Obligatoire';
|
common::$inputNotices[$firstKey . '_' . $secondKey] = helper::translate('Obligatoire');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// La clef est une chaine
|
// La clef est une chaine
|
||||||
elseif (empty($this->input['_POST'][$key])) {
|
elseif (empty($this->input['_POST'][$key])) {
|
||||||
common::$inputNotices[$key] = 'Obligatoire';
|
common::$inputNotices[$key] = helper::translate('Obligatoire');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user