diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoOptions.inc b/gosa-plugins/sudo/admin/sudo/class_sudoOptions.inc
index b9954a50378420366cee8404d3b8a6a01de68947..eb2cd1e800e5c1f187284cdb74867efc8204dab7 100644 (file)
if(!isset($this->options[$opt])){
$this->options[$opt]=array('NAME'=>$opt,'TYPE'=>'STRING','DEFAULT' => '');
msg_dialog::display(_("Unknown option"),
- sprintf(_("The sudo option '%s' is unkown to GOsa, it is now temporarily added as type string."),
+ sprintf(_("The sudo option '%s' is invalid!"),
$opt),WARNING_DIALOG);
}
$smarty = get_smarty();
$smarty->assign("map", array("STRING" => _("string"), "BOOLEAN" => _("bool"),
"INTEGER" => _("integer") , "BOOL_INTEGER" => _("integer")."-"._("bool") ,
- "STRING_BOOL" => _("string")."-"._("bool"),"LISTS" => _("lists")));
+ "STRING_BOOL" => _("string")."-"._("bool"),"LISTS" => _("list")));
$smarty->assign("sudoOption",$this->sudoOption);
$smarty->assign("options",$this->options);
return($smarty->fetch(get_template_path('options.tpl', TRUE)));