Code

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1307 594d385d-05f5-0310...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Sep 2005 13:23:22 +0000 (13:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Sep 2005 13:23:22 +0000 (13:23 +0000)
plugins/personal/environment/class_environment.inc

index 4177481b96ac6c0756666db3c74e6565be8c884e..d353665d05179c280473d161745b9f5402b2bb2f 100644 (file)
@@ -407,7 +407,7 @@ class environment extends plugin
     if(isset($_POST['gotoShareAdd'])){
       /* We assign a share to this user, if we don't know where to mount the share */
       if((!isset($_POST['gotoShareMountPoint']))||(empty($_POST['gotoShareMountPoint']))||(preg_match("/[\|]/i",$_POST['gotoShareMountPoint']))){
-        print_red("You must specify a valid mount point.");
+        print_red(_("You must specify a valid mount point."));
       }else{
         $a_share = $this->gotoAvailableShares[$_POST['gotoShareSelection']];
         $s_mount = $_POST['gotoShareMountPoint'];
@@ -648,7 +648,7 @@ class environment extends plugin
       $contents = $file['contents'];
       $fp = @fopen($path."/".$file['name'],"w");
       if(!$fp){
-        print_red("Can't save new kiosk profiles, possibly permission denied for folder :",$path);
+        print_red(_("Can't save new kiosk profiles, possibly permission denied for folder")." : ",$path);
       }else{
         fwrite($fp,$contents,strlen($contents));
       }
@@ -722,7 +722,7 @@ class environment extends plugin
         unset($attr['dn']);
         $ldap->modify($attr);
         if($ldap->get_error()!="Success"){
-          print_red("Printer saving ".$ldap->get_error());
+          print_red(_("Error while writing printer")." : ".$ldap->get_error());
         }
       }
     }    
@@ -801,7 +801,7 @@ class environment extends plugin
       unset($attrs['dn']);
       $ldap->modify($attrs);
       if($ldap->get_error()!="Success"){
-        print_red("Printer saving ".$ldap->get_error());
+        print_red(_("Error while writing printer settings")." : ".$ldap->get_error());
       }
     }