Update gettext : add spaces
DomCi : remove line too longs on all the files git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
8
form.php
8
form.php
@@ -229,7 +229,7 @@ class form
|
||||
{
|
||||
$this->loggingCallable (LOG_ERR,
|
||||
"Unknown FORM method (GET or POST allowed)");
|
||||
throw new \Exception (dgettext("domframework",
|
||||
throw new \Exception (dgettext ("domframework",
|
||||
"Unknown FORM method (GET or POST allowed)"));
|
||||
}
|
||||
|
||||
@@ -243,7 +243,7 @@ class form
|
||||
catch (\Exception $e)
|
||||
{
|
||||
$this->loggingCallable (LOG_ERR, $e->getMessage ());
|
||||
throw new \Exception (dgettext("domframework",
|
||||
throw new \Exception (dgettext ("domframework",
|
||||
"Can not read the data from the form : ".
|
||||
"Expired or missing CSRF Token"), 500);
|
||||
}
|
||||
@@ -453,7 +453,7 @@ class form
|
||||
if ($field->mandatory !== null &&
|
||||
(! array_key_exists ($field->name, $values) ||
|
||||
trim ($values[$field->name]) === ""))
|
||||
$errors[$field->name] = dgettext("domframework",
|
||||
$errors[$field->name] = dgettext ("domframework",
|
||||
"Field mandatory and not provided");
|
||||
}
|
||||
return $errors;
|
||||
@@ -1173,7 +1173,7 @@ class formfield
|
||||
}
|
||||
else
|
||||
{
|
||||
$res .= dgettext("domframework", "No value provided");
|
||||
$res .= dgettext ("domframework", "No value provided");
|
||||
}
|
||||
|
||||
$res .= " </div>\n"; // End controls
|
||||
|
||||
Reference in New Issue
Block a user