Code

little correction when working on managing expiration of password
[gosa.git] / plugins / personal / posix / class_posixAccount.inc
index 86e8a892f841db7d114f76f010b8edf89b395836..b7cbba26206588aa5e8f17863455a6f5fa002811 100644 (file)
@@ -115,16 +115,16 @@ class posixAccount extends plugin
       /* Generate status text */
       $current= date("U");
       if (($current >= $this->shadowExpire) && $this->shadowExpire){
-        $this->status= "expired";
+        $this->status= _("expired");
         if (($this->shadowExpire - $current) < $this->shadowInactive){
-          $this->status.= ", grace time active";
+          $this->status.= _(", grace time active");
         }
       } elseif (($this->shadowLastChange + $this->shadowMin) >= $current){
-        $this->status= "active, password not changable";
+        $this->status= _("active, password not changable");
       } elseif (($this->shadowLastChange + $this->shadowMax) >= $current){
-        $this->status= "active, password expired";
+        $this->status= _("active, password expired");
       } else {
-        $this->status= "active";
+        $this->status= _("active");
       }
 
       /* Get group membership */