diff --git a/gosa-plugins/goto/addons/goto/class_target_list.inc b/gosa-plugins/goto/addons/goto/class_target_list.inc
index d2c49aeb2156222974764052ce823d0cb2e13d52..446176256cfa9f7044bc5c13371b4a90037e4499 100644 (file)
/* Add SubSearch checkbox */
$this->AddCheckBox(SEPERATOR);
- $this->AddCheckBox("SubSearch", _("Select to search within subtrees"), _("Search in subtrees"), false);
+ $this->AddCheckBox("SubSearch", msgPool::selectToView("","subsearch"), msgPool::selectToView("","subsearch_small"), false);
$this->AddCheckBox("IPMatch", _("Select to search for a specific IP range only"), _("Match IP range"), false);
/* Name,Text,Default , Connect with alphabet */
if($this->IPMatch){
if(!tests::is_ip($IP_start)){
- msg_dialog::display(_("Error"), _("IP range is invalid!"), ERROR_DIALOG);
+ msg_dialog::display(_("Error"), msgPool::invalid(_("IP range")), ERROR_DIALOG);
return;
}
if(!tests::is_ip($IP_end)){
- msg_dialog::display(_("Error"), _("IP range is invalid!"), ERROR_DIALOG);
+ msg_dialog::display(_("Error"), msgPool::invalid(_("IP range")), ERROR_DIALOG);
return;
}
}