Code

String update
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 07:29:18 +0000 (07:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 07:29:18 +0000 (07:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9647 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/groups/class_divListGroup.inc
gosa-core/plugins/admin/groups/class_groupGeneric.inc
gosa-core/plugins/admin/groups/class_groupManagement.inc

index 835cd7068f213fc671217a8315ee613986d2299a..577f0603301183c7a6b3bc094c836cbaafbb1e33 100644 (file)
@@ -76,7 +76,7 @@ class divListGroup extends MultiSelectWindow
     /* set Page header */
     $this->AddHeader(array("string"=> $chk,          "attach"=>"style='width:20px;'"));
     $this->AddHeader(array("string"=>"&nbsp;","attach"=>"style='width:20px;'"));
-    $this->AddHeader(array("string"=>_("Groupname / Department")));
+    $this->AddHeader(array("string"=>_("Name")."&nbsp;/&nbsp;"._("Department")));
     $this->AddHeader(array("string"=>_("Properties"),"attach"=>"style='width:136px;'"));
     $this->AddHeader(array("string"=>_("Actions"),"attach"=>"style='width:".$action_col_size."px;border-right:0px;'"));
 
index 14f38be1e8a6f125acd14f4d1edf3606593b328f..703d2c0a30ba67254ba352282ac9aff83268e2cf 100644 (file)
@@ -204,8 +204,7 @@ class group extends plugin
 
     /* Do we represent a valid group? */
     if (!$this->is_account && $this->parent === NULL){
-      $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
-        _("This 'dn' is no group.")."</b>";
+      $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".msgPool::noValidExtension()."</b>";
       return ($display);
     }
 
index d2abe940b71efb5021835cf73770c889de7643b1..9975f313e5372da7505634b7e2fbd1032cb13f38 100644 (file)
@@ -385,7 +385,7 @@ class groupManagement extends plugin
 
             /* Normally this shouldn't be reached, send some extra
                logs to notify the administrator */
-            msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), ERROR_DIALOG);
+            msg_dialog::display(_("Permission error"), msgPool::permDelete(), ERROR_DIALOG);
             new log("security","groups/".get_class($this),$dn,array(),"Tried to trick deletion.");
           }
           /* Remove lock file after successfull deletion */