msgid ""
msgstr ""
-"PO-Revision-Date: 2014-11-30 20:04:21\n"
+"PO-Revision-Date: 2014-11-30 22:43:34\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"Last-Translator: Marcin Haba <marcin.haba@bacula.pl>\n"
msgid "clear bvfs cache"
msgstr "clear bvfs cache"
-msgid "Output for selected job is not available yet or you do not have enabled logging job logs to catalog database.\n"
-"\n"
-"For watching job log there is need to add to the job Messages resource next directive:\n"
-"\n"
-"console = all, !skipped, !saved\n"
-""
-msgstr "Output for selected job is not available yet or you do not have enabled logging job logs to catalog database.\n"
-"\n"
-"For watching job log there is need to add to the job Messages resource next directive:\n"
-"\n"
-"console = all, !skipped, !saved\n"
-""
-
msgid "Bconsole admin config file path:"
msgstr "Bconsole admin config file path:"
msgid "Clear"
msgstr "Clear"
+msgid "select action"
+msgstr "select action"
+
+msgid "Delete"
+msgstr "Delete"
+
+msgid "Output for selected job is not available yet or you do not have enabled logging job logs to catalog database. For watching job log there is need to add to the job Messages resource next directive: console = all, !skipped, !saved"
+msgstr "Output for selected job is not available yet or you do not have enabled logging job logs to catalog database.\n\nFor watching job log there is need to add to the job Messages resource next directive:\n\nconsole = all, !skipped, !saved"
+
msgid ""
msgstr ""
-"PO-Revision-Date: 2014-11-30 20:04:11\n"
+"PO-Revision-Date: 2014-11-30 22:45:33\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"Last-Translator: Marcin Haba <marcin.haba@bacula.pl>\n"
msgstr "Widok:"
msgid "Action:"
-msgstr "Akacja:"
+msgstr "Akcja:"
msgid "unmark all and close"
msgstr "Odznacz elementy i zamknij"
msgid "Clear"
msgstr "Wyczyść"
+msgid "select action"
+msgstr "wybierz akcję"
+
+msgid "Delete"
+msgstr "Usuń"
+
+msgid "Output for selected job is not available yet or you do not have enabled logging job logs to catalog database. For watching job log there is need to add to the job Messages resource next directive: console = all, !skipped, !saved"
+msgstr "Listing dla wybranego zadania nie jest jeszcze dostępny lub nie masz włączonego logowania statusów zadań do bazy katalogowej.\n\nW celu oglądania listingów ze statusami zadań potrzeba włączyć w zasobie Messages następującą dyrektywę:\n\nconsole = all, !skipped, !saved."
+
$this->JobName->Text = $jobdata->job;
$this->JobID->Text = $jobdata->jobid;
$joblog = $this->Application->getModule('api')->get(array('joblog', $jobdata->jobid))->output;
- $this->Estimation->Text = is_array($joblog) ? implode(PHP_EOL, $joblog) : Prado::localize("Output for selected job is not available yet or you do not have enabled logging job logs to catalog database." . PHP_EOL . PHP_EOL . "For watching job log there is need to add to the job Messages resource next directive:" . PHP_EOL . PHP_EOL . "console = all, !skipped, !saved" . PHP_EOL);
+ $this->Estimation->Text = is_array($joblog) ? implode(PHP_EOL, $joblog) : Prado::localize("Output for selected job is not available yet or you do not have enabled logging job logs to catalog database. For watching job log there is need to add to the job Messages resource next directive: console = all, !skipped, !saved");
$this->Level->dataSource = $this->Application->getModule('misc')->getJobLevels();
$this->Level->SelectedValue = $jobdata->level;
public function status($sender, $param) {
$joblog = $this->Application->getModule('api')->get(array('joblog', $this->JobID->Text))->output;
- $this->Estimation->Text = is_array($joblog) ? implode(PHP_EOL, $joblog) : Prado::localize("Output for selected job is not available yet or you do not have enabled logging job logs to catalog database." . PHP_EOL . PHP_EOL . "For watching job log there is need to add to the job Messages resource next directive:" . PHP_EOL . PHP_EOL . "console = all, !skipped, !saved" . PHP_EOL);
+ $this->Estimation->Text = is_array($joblog) ? implode(PHP_EOL, $joblog) : Prado::localize("Output for selected job is not available yet or you do not have enabled logging job logs to catalog database. For watching job log there is need to add to the job Messages resource next directive: console = all, !skipped, !saved");
}
public function delete($sender, $param) {
$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();
}
}