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

Fixes: #3516 removing no longe user setButton function

Showing with 3 additions and 13 deletions
+3 -13
......@@ -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
*
......
  • bmortier @bmortier

    mentioned in issue #1174

    By Côme Chilliet on 2017-09-02T15:15:50 (imported from GitLab)

    ·

    mentioned in issue #1174

    By Côme Chilliet on 2017-09-02T15:15:50 (imported from GitLab)

    Toggle commit list
Supports Markdown
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