index ac772eeeff46e04221f6cf5f8fc582bcd8839521..6d1b5e871781daf574a885a21751473dd6e8ffe6 100644 (file)
if(!count($data)) {
$data[] = array("CLASS" => 'plugin',"NAME" => 'Error');
msg_dialog::display(_("Error"),
- sprintf(_("No plugin definition for '%s' found: please check the configuration file!"),get_class($this)),
+ sprintf(_("No plugin definition for %s found: please check the configuration file!"), bold(get_class($this))),
"ERROR_DIALOG");
}
foreach ($data as &$tab){
if (!plugin_available($tab['CLASS'])){
- trigger_error(sprintf("Unknown class '%s'!", $tab['CLASS']));
+ trigger_error(sprintf("Unknown class %s!", bold($tab['CLASS'])));
continue;
}
if ($this->current == "") $this->current= $tab['CLASS'];
foreach (array_reverse($this->by_object) as $key => $obj){
$reason= $obj->allow_remove();
if ($reason != ""){
- msg_dialog::display(_("Warning"), sprintf(_("Delete process has been canceled by plugin '%s': %s"), $key, $reason), WARNING_DIALOG);
+ msg_dialog::display(_("Warning"), sprintf(_("Delete process has been canceled by plugin %s: %s"), bold($key), $reason), WARNING_DIALOG);
return;
}
}