X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-plugins%2Fgofon%2Fgofon%2Fmacro%2Fclass_divListMacros.inc;h=bdc551a6072a8fe29695703f45b42669ab7331ab;hb=fbf8e4356f625423e3ccfcb0c6520942726a44e1;hp=de822bb544cabbcb8220243faf2991ebc0e3a8b9;hpb=fc6a593f3a5e65ae4cd31c408d29bbe22ff54f9d;p=gosa.git diff --git a/gosa-plugins/gofon/gofon/macro/class_divListMacros.inc b/gosa-plugins/gofon/gofon/macro/class_divListMacros.inc index de822bb54..bdc551a60 100644 --- a/gosa-plugins/gofon/gofon/macro/class_divListMacros.inc +++ b/gosa-plugins/gofon/gofon/macro/class_divListMacros.inc @@ -33,7 +33,6 @@ class divListMacro extends MultiSelectWindow /* Result page will look like a headpage */ $this->SetHeadpageMode(); - $this->SetInformation(_("This menu allows you to add, edit and remove selected macros. You may want to use the range selector on top of the macro listbox, when working with a large number of macros.")); $this->EnableAplhabet (true); @@ -54,12 +53,12 @@ class divListMacro extends MultiSelectWindow /* set Page header */ $this->AddHeader(array("string"=> $chk, "attach"=>"style='width:20px;'")); $this->AddHeader(array("string" => " ", "attach" => "style='text-align:center;width:20px;'")); - $this->AddHeader(array("string" => _("Macro name")." / "._("Department"), "attach" => "style=''")); + $this->AddHeader(array("string" => _("Name")." / "._("Department"), "attach" => "style=''")); $this->AddHeader(array("string" => _("Visible"), "attach" => "style='width:50px;'")); $this->AddHeader(array("string" => _("Actions"), "attach" => "style='width:".$action_col_size."px;border-right:0px;text-align:right;'" )); /* Add Checkboxes / SubSearch checkbox */ - $this->AddCheckBox("SubSearch", _("Select to search within subtrees"), _("Search in subtrees"), false); + $this->AddCheckBox("SubSearch", msgPool::selectToView("","subsearch"), msgPool::selectToView("","subsearch_small"), false); /* Name ,Text ,Default , Connect with alphabet */ $this->AddRegex ("Regex", _("Regular expression for matching macro names"),"*" , true); @@ -142,22 +141,22 @@ class divListMacro extends MultiSelectWindow /* Multiple options */ $s.= "..|---|\n"; - $s.= "..|". + $s.= "..|". " "._("Remove")."|"."remove_multiple|\n"; /* Add multiple copy & cut icons */ if(preg_match("/(c.*w|w.*c)/",$acls) && is_object( $this->parent->CopyPasteHandler)){ $s.= "..|---|\n"; - $s.= "..|". + $s.= "..|". " "._("Copy")."|"."multiple_copy_systems|\n"; - $s.= "..|". + $s.= "..|". " "._("Cut")."|"."multiple_cut_systems|\n"; if($this->parent->CopyPasteHandler->entries_queued()){ - $img = ""; + $img = ""; $s.="..|".$img." "._("Paste")."|editPaste|\n"; }else{ - $img = ""; + $img = ""; $s.="..|".$img." "._("Paste")."\n"; } } @@ -210,9 +209,9 @@ class divListMacro extends MultiSelectWindow if(($this->parent->CopyPasteHandler) && preg_match("/(c.*w|w.*c)/",$sacl)){ $action.= " "; + src='images/lists/cut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> "; $action.= " "; + src='images/lists/copy.png' alt='"._("copy")."' name='copy_%KEY%' title='"._("Copy this entry")."'> "; } $action.= ""; } @@ -272,8 +271,8 @@ class divListMacro extends MultiSelectWindow } $num_objs = count($list); - $num_obj_str = _("Number of listed macros"); - $num_dep_str = _("Number of listed departments"); + $num_obj_str = sprintf(_("Number of listed %s"),_("macros")); + $num_dep_str = sprintf(_("Number of listed %s"),_("departments")); $str = "".$num_obj_str." ".$num_objs."    ";