From: hickert Date: Fri, 7 Mar 2008 10:07:25 +0000 (+0000) Subject: msgPool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3ec164f22c57492a26be1d9fa3d92d135c74e9e3;p=gosa.git msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9421 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/personal/environment/class_logonManagementDialog.inc b/gosa-plugins/goto/personal/environment/class_logonManagementDialog.inc index 349d19548..5110ab25a 100644 --- a/gosa-plugins/goto/personal/environment/class_logonManagementDialog.inc +++ b/gosa-plugins/goto/personal/environment/class_logonManagementDialog.inc @@ -100,15 +100,15 @@ class logonManagementDialog extends plugin $message= plugin::check(); if(preg_match("/[^a-zA-Z]/",$this->LogonName)){ - $message[] = _("Specified name should only consist of upper-/lowercase characters."); + $message[] = msgPool::invalid(_("Name"),$this->LogonName,"/[a-zA-Z]/"); } if(empty($this->LogonName)){ - $message[] = _("Please specify a valid script name."); + $message[] = msgPool::required(_("Script name")); } if(preg_match("/[^a-z0-9,\.-;:_\(\)!\? ]/i",$this->LogonDescription)){ - $message[] = _("Specified description contains invalid characters."); + $message[] = msgPool::required(_("Description"),$this->LogonDescription,"/[a-z0-9,\.-;:_\(\)!\? ]/i"); } return $message;