From 3ec164f22c57492a26be1d9fa3d92d135c74e9e3 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 7 Mar 2008 10:07:25 +0000 Subject: [PATCH] msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9421 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/environment/class_logonManagementDialog.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.30.2