]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/Portlets/SlideWindow.php
baculum: Tweak update language files
[bacula/bacula] / gui / baculum / protected / Portlets / SlideWindow.php
index 17ee34e7e8e539a05ee2d16d60ded6e3d841610c..4882df7fd73de28ca52295e54aa1cf18eda074ca 100644 (file)
@@ -78,7 +78,11 @@ class SlideWindow extends Portlets {
                        $this->Simple->Checked = ($_SESSION['view' . $this->getParent()->ID] == self::NORMAL_VIEW);
                        $this->Details->Checked = ($_SESSION['view' . $this->getParent()->ID] == self::DETAIL_VIEW);
                        $actions = array_key_exists($this->getParent()->ID, $this->actions) ? $this->actions[$this->getParent()->ID] : array();
-                       $this->Actions->dataSource = $actions;
+                       $actionsLang = array();
+                       foreach($actions as $key => $val) {
+                               $actionsLang[$key] = Prado::localize($val);
+                       }
+                       $this->Actions->dataSource = $actionsLang;
                        $this->Actions->dataBind();
                }
        }