X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_tabs.inc;h=6d1b5e871781daf574a885a21751473dd6e8ffe6;hb=928e5d63d17e08ba4b364838c75509d454d4fa74;hp=ccc3f7c715f9ee98d79341ab7ff5bbd3cebe9c23;hpb=3daec3e3469686f68457b992847a339c7add9bb1;p=gosa.git diff --git a/gosa-core/include/class_tabs.inc b/gosa-core/include/class_tabs.inc index ccc3f7c71..6d1b5e871 100644 --- a/gosa-core/include/class_tabs.inc +++ b/gosa-core/include/class_tabs.inc @@ -54,7 +54,7 @@ class tabs if(!count($data)) { $data[] = array("CLASS" => 'plugin',"NAME" => 'Error'); msg_dialog::display(_("Error"), - sprintf(_("No plugin definitions found to initialize '%s', please check your configuration file."),get_class($this)), + sprintf(_("No plugin definition for %s found: please check the configuration file!"), bold(get_class($this))), "ERROR_DIALOG"); } @@ -63,7 +63,7 @@ class tabs 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']; @@ -246,7 +246,7 @@ class tabs 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; } }