diff --git a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc
index d75b2993dc941d3aac7b5b5845d2e1141c899a72..9d5679a073343e8ac9fca9e4affd8a540d4a480d 100644 (file)
class blocklist extends plugin
{
/* Definitions */
- var $plHeadline= "FAX Blocklists";
+ var $plHeadline= "FAX blocklists";
var $plDescription= "This does something";
var $blocklists = array();
$this->dialog->delete();
$this->dialog = NULL;
} else {
- msg_dialog::display(_("Permission error"), sprintf(_("You have not permission to delete '%s'!"), $dn), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), msgPool::permDelete($dn), ERROR_DIALOG);
}
/* Remove lock file after successfull deletion */
del_lock ($dn);
$this->dialog = NULL;
del_lock ($this->dn);
} else {
- msg_dialog::display(_("Permission error"), _("You have not permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), msgPool::permDelete(), ERROR_DIALOG);
}
}