From: hickert Date: Fri, 14 Mar 2008 13:09:40 +0000 (+0000) Subject: msgPool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=349151a6fbaef0a91cb8d79fcf71843c06b3666e;p=gosa.git msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9842 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc index 5a4ff0ea9..aa51a7ee8 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc @@ -286,7 +286,7 @@ class goFonMacro extends plugin $this->macrotabs= NULL; } 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); } /* Remove lock file after successfull deletion */ @@ -340,7 +340,7 @@ class goFonMacro extends plugin /* Obviously the user isn't allowed to delete. Show message and clean session. */ - msg_dialog::display(_("Permission error"), _("You have not permission to delete this entry!"), ERROR_DIALOG); + msg_dialog::display(_("Permission error"), msgPool::permDelete(), ERROR_DIALOG); } } @@ -364,7 +364,7 @@ class goFonMacro extends plugin } else { /* Normally this shouldn't be reached, send some extra logs to notify the administrator */ - msg_dialog::display(_("Permission error"), _("You have not permission to delete this entry!"), ERROR_DIALOG); + msg_dialog::display(_("Permission error"), msgPool::permDelete(), ERROR_DIALOG); new log("security","gofonmacro/".get_class($this),$this->dn,array(),"Tried to trick deletion."); } /* Remove lock file after successfull deletion */ diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc index 97d8a822b..21f653218 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc @@ -193,7 +193,7 @@ class macroParameter extends plugin /* Do we represent a valid group? */ if (!$this->is_account && $this->parent === NULL){ $display= "\"\" ". - _("This 'dn' is no phone macro.").""; + msgPool::noValidExtension(_("Phone macro")).""; return ($display); }