Commit 2b89dab9 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #3516 removing no longe user setButton function

parent b8694ed1
......@@ -423,7 +423,7 @@ class msgPool {
{
/* Stylize example */
if ($example != "") {
$example = "<br><br><i>"._("Example").":</i> ".$example;
$example = "<br><br><i>"._("Example:")."</i> ".$example;
}
/* If validChars are posted, take data and paint all invalid
......@@ -443,11 +443,11 @@ class msgPool {
}
}
return sprintf(_("The Field '%s' contains invalid characters"), $name).". ".
return sprintf(_("The field '%s' contains invalid characters"), $name).". ".
(strlen($mismatch) == 1?sprintf(_("'%s' is not allowed:"), $mismatch):sprintf(_("'%s' are not allowed!"), $mismatch)).
"<br><br> \"$result\"$example";
} else {
return sprintf(_("The Field '%s' contains invalid characters!"), $name)."!$example";
return sprintf(_("The field '%s' contains invalid characters"), $name)."!$example";
}
}
......@@ -513,16 +513,6 @@ class msgPool {
return ($what == "" ? sprintf(_("Delete")): sprintf(_("Delete %s"), $what));
}
/*!
* \brief Text for an set button
*
* \param string $what Text for the button
*/
public static function setButton($what = "")
{
return ($what == "" ? sprintf(_("Set")): sprintf(_("Set %s"), $what));
}
/*!
* \brief Text for an edit button
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment