Code

Updated gotomasses
[gosa.git] / gosa-plugins / goto / addons / goto / class_target_list.inc
index d2c49aeb2156222974764052ce823d0cb2e13d52..446176256cfa9f7044bc5c13371b4a90037e4499 100644 (file)
@@ -76,7 +76,7 @@ class target_list extends MultiSelectWindow
 
     /* 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  */
@@ -248,11 +248,11 @@ class target_list extends MultiSelectWindow
 
     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;
       }
     }