Update all the _( to dgettext ("domframework"
Update locales git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5271 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
3
form.php
3
form.php
@@ -453,7 +453,8 @@ class form
|
||||
if ($field->mandatory !== null &&
|
||||
(! array_key_exists ($field->name, $values) ||
|
||||
trim ($values[$field->name]) === ""))
|
||||
$errors[$field->name] = _("Field mandatory and not provided");
|
||||
$errors[$field->name] = dgettext("domframework",
|
||||
"Field mandatory and not provided");
|
||||
}
|
||||
return $errors;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user