From: Marcin Haba Date: Sun, 30 Nov 2014 21:11:35 +0000 (+0100) Subject: baculum: Implement Polish language support X-Git-Tag: Release-7.2.0~103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ca7073fd657f63e55665133b6df16c08623c62ba;p=bacula%2Fbacula baculum: Implement Polish language support --- diff --git a/gui/baculum/protected/Class/ConfigurationManager.php b/gui/baculum/protected/Class/ConfigurationManager.php index 4bee3b643c..6742635470 100644 --- a/gui/baculum/protected/Class/ConfigurationManager.php +++ b/gui/baculum/protected/Class/ConfigurationManager.php @@ -93,7 +93,14 @@ class ConfigurationManager extends TModule } public function getLanguage() { - return $this->Application->Parameters['language']; + $language = self::DEFAULT_LANGUAGE; + if ($this->isApplicationConfig() === true) { + $config = $this->getApplicationConfig(); + if (array_key_exists('lang', $config['baculum'])) { + $language = $config['baculum']['lang']; + } + } + return $language; } public function setLanguage($language) { @@ -210,4 +217,4 @@ class ConfigurationManager extends TModule return $result; } } -?> \ No newline at end of file +?> diff --git a/gui/baculum/protected/Data/Settings.xml b/gui/baculum/protected/Data/Settings.xml deleted file mode 100644 index 0ff2478ea3..0000000000 --- a/gui/baculum/protected/Data/Settings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/gui/baculum/protected/Lang/en/messages.mo b/gui/baculum/protected/Lang/en/messages.mo index cde165bbc2..5355f22bca 100755 Binary files a/gui/baculum/protected/Lang/en/messages.mo and b/gui/baculum/protected/Lang/en/messages.mo differ diff --git a/gui/baculum/protected/Lang/en/messages.po b/gui/baculum/protected/Lang/en/messages.po index 5cbddcc839..5408b7c0a2 100755 --- a/gui/baculum/protected/Lang/en/messages.po +++ b/gui/baculum/protected/Lang/en/messages.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2014-11-23 18:52+0100\n" +"PO-Revision-Date: 2014-11-30 20:04:21\n" "Project-Id-Version: \n" "POT-Creation-Date: \n" "Last-Translator: Marcin Haba \n" @@ -469,24 +469,14 @@ msgstr "Step 3 - select files to restore" msgid "Files" msgstr "Files" -msgid "" -"For see a file versions please double click file on the left files browser." -msgstr "" -"For see a file versions please double click file on the left files browser." +msgid "For see a file versions please double click file on the left files browser." +msgstr "For see a file versions please double click file on the left files browser." -msgid "" -"For add a file to restore please drag a file from frame on left or from " -"above frame and drop it here" -msgstr "" -"For add a file to restore please drag a file from frame on left or from " -"above frame and drop it here" +msgid "For add a file to restore please drag a file from frame on left or from above frame and drop it here" +msgstr "For add a file to restore please drag a file from frame on left or from above frame and drop it here" -msgid "" -"It seems that there is no files for choosing or file records in database for " -"this job has been purged (file retention period expired)" -msgstr "" -"It seems that there is no files for choosing or file records in database for " -"this job has been purged (file retention period expired)" +msgid "It seems that there is no files for choosing or file records in database for this job has been purged (file retention period expired)" +msgstr "It seems that there is no files for choosing or file records in database for this job has been purged (file retention period expired)" msgid "Group most recent backups" msgstr "Group most recent backups" @@ -557,14 +547,8 @@ msgstr "Run" msgid "Cancel" msgstr "Cancel" -msgid "" -"There is no backup for restore. Please go to previous step and select " -"another client for restore or proceed backups for the client selected in " -"previous step." -msgstr "" -"There is no backup for restore. Please go to previous step and select " -"another client for restore or proceed backups for the client selected in " -"previous step." +msgid "There is no backup for restore. Please go to previous step and select another client for restore or proceed backups for the client selected in previous step." +msgstr "There is no backup for restore. Please go to previous step and select another client for restore or proceed backups for the client selected in previous step." msgid "Database file path (SQLite only):" msgstr "Database file path (SQLite only):" @@ -671,12 +655,8 @@ msgstr "Error 2 - problem with connection to database." msgid "Please check if Catalog database service is running." msgstr "Please check if Catalog database service is running." -msgid "" -"Please check if Web Server user is allowed for connection to Catalog " -"database." -msgstr "" -"Please check if Web Server user is allowed for connection to Catalog " -"database." +msgid "Please check if Web Server user is allowed for connection to Catalog database." +msgstr "Please check if Web Server user is allowed for connection to Catalog database." msgid "Please re-run" msgstr "Please re-run" @@ -696,24 +676,14 @@ msgstr "Error 4 - problem with connection to bconsole." msgid "Please check if Bacula Director service is running." msgstr "Please check if Bacula Director service is running." -msgid "" -"Please check in shell console if bconsole program is able to connect to " -"Bacula Director service." -msgstr "" -"Please check in shell console if bconsole program is able to connect to " -"Bacula Director service." +msgid "Please check in shell console if bconsole program is able to connect to Bacula Director service." +msgstr "Please check in shell console if bconsole program is able to connect to Bacula Director service." -msgid "" -"Please be sure if Web Server user is allowed for executing bconsole program." -msgstr "" -"Please be sure if Web Server user is allowed for executing bconsole program." +msgid "Please be sure if Web Server user is allowed for executing bconsole program." +msgstr "Please be sure if Web Server user is allowed for executing bconsole program." -msgid "" -"You can login to shell console as Web Server user and try to run bconsole " -"program." -msgstr "" -"You can login to shell console as Web Server user and try to run bconsole " -"program." +msgid "You can login to shell console as Web Server user and try to run bconsole program." +msgstr "You can login to shell console as Web Server user and try to run bconsole program." msgid "internal Baculum error." msgstr "internal Baculum error." @@ -727,33 +697,17 @@ msgstr "authorization to Baculum error." msgid "Please check Web Server authorization file if it is correct." msgstr "Please check Web Server authorization file if it is correct." -msgid "" -"and retype authorization login and authorization password for that is used " -"to login to" -msgstr "" -"and retype authorization login and authorization password for that is used " -"to login to" +msgid "and retype authorization login and authorization password for that is used to login to" +msgstr "and retype authorization login and authorization password for that is used to login to" -msgid "" -"Please check Web Server authorization file if it is defined and it is " -"correct." -msgstr "" -"Please check Web Server authorization file if it is defined and it is " -"correct." +msgid "Please check Web Server authorization file if it is defined and it is correct." +msgstr "Please check Web Server authorization file if it is defined and it is correct." -msgid "" -"Please be sure if Web Server authorization is enabled (for Apache it is " -"option 'AllowOverride All') and if the authorization works properly." -msgstr "" -"Please be sure if Web Server authorization is enabled (for Apache it is " -"option 'AllowOverride All') and if the authorization works properly." +msgid "Please be sure if Web Server authorization is enabled (for Apache it is option 'AllowOverride All') and if the authorization works properly." +msgstr "Please be sure if Web Server authorization is enabled (for Apache it is option 'AllowOverride All') and if the authorization works properly." -msgid "" -"please retype authorization login and authorization password to according " -"Web Server authorization values." -msgstr "" -"please retype authorization login and authorization password to according " -"Web Server authorization values." +msgid "please retype authorization login and authorization password to according Web Server authorization values." +msgstr "please retype authorization login and authorization password to according Web Server authorization values." msgid "Enable logging" msgstr "Enable logging" @@ -761,22 +715,18 @@ msgstr "Enable logging" 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" +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" +"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" +"" +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" +"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:" @@ -787,63 +737,165 @@ msgstr "Bconsole custom config file path:" msgid "Please enter bconsole custom config file path." msgstr "Please enter bconsole custom config file path." -msgid "" -"For need defining more Baculum users with custom access or restricted " -"console access (Bconsole ACLs) here is possible to determine custom bconsole " -"configuration file format for each user." -msgstr "" -"For need defining more Baculum users with custom access or restricted " -"console access (Bconsole ACLs) here is possible to determine custom bconsole " -"configuration file format for each user." +msgid "For need defining more Baculum users with custom access or restricted console access (Bconsole ACLs) here is possible to determine custom bconsole configuration file format for each user." +msgstr "For need defining more Baculum users with custom access or restricted console access (Bconsole ACLs) here is possible to determine custom bconsole configuration file format for each user." -msgid "" -"If there is used only one Baculum user then below field value will be ignored" -msgstr "" -"If there is used only one Baculum user then below field value will be ignored" +msgid "If there is used only one Baculum user then below field value will be ignored" +msgstr "If there is used only one Baculum user then below field value will be ignored" -msgid "" -"{user} keyword will be replaced for each logged user into according username." -msgstr "" -"{user} keyword will be replaced for each logged user into according username." +msgid "{user} keyword will be replaced for each logged user into according username." +msgstr "{user} keyword will be replaced for each logged user into according username." -msgid "" -"If there is used only one Baculum user then below field value will be " -"ignored." -msgstr "" -"If there is used only one Baculum user then below field value will be " -"ignored." +msgid "If there is used only one Baculum user then below field value will be ignored." +msgstr "If there is used only one Baculum user then below field value will be ignored." -msgid "" -"Above administration login and administration password will be used for " -"login as administrator to Baculum WebGUI. They are your HTTP Basic " -"authorization params by using which you will be logged in to Baculum." -msgstr "" -"Above administration login and administration password will be used for " -"login as administrator to Baculum WebGUI. They are your HTTP Basic " -"authorization params by using which you will be logged in to Baculum." +msgid "Above administration login and administration password will be used for login as administrator to Baculum WebGUI. They are your HTTP Basic authorization params by using which you will be logged in to Baculum." +msgstr "Above administration login and administration password will be used for login as administrator to Baculum WebGUI. They are your HTTP Basic authorization params by using which you will be logged in to Baculum." -msgid "" -"In case when you use your selected HTTP Basic auth backend and in particular " -"manual Baculum installation from source tar.gz archive, in above fields you " -"need to provide your defined login and password which you used for access to " -"this wizard." -msgstr "" -"In case when you use your selected HTTP Basic auth backend and in particular " -"manual Baculum installation from source tar.gz archive, in above fields you " -"need to provide your defined login and password which you used for access to " -"this wizard." +msgid "In case when you use your selected HTTP Basic auth backend and in particular manual Baculum installation from source tar.gz archive, in above fields you need to provide your defined login and password which you used for access to this wizard." +msgstr "In case when you use your selected HTTP Basic auth backend and in particular manual Baculum installation from source tar.gz archive, in above fields you need to provide your defined login and password which you used for access to this wizard." -msgid "" -"If all above steps will not help or if during installation you made mistake " -"in password in Initial Wizard, please remove settings file located in " -"baculum/protected/Data/settings.conf and re-run Initial wizard." -msgstr "" -"If all above steps will not help or if during installation you made mistake " -"in password in Initial Wizard, please remove settings file located in " -"baculum/protected/Data/settings.conf and re-run Initial wizard." +msgid "If all above steps will not help or if during installation you made mistake in password in Initial Wizard, please remove settings file located in baculum/protected/Data/settings.conf and re-run Initial wizard." +msgstr "If all above steps will not help or if during installation you made mistake in password in Initial Wizard, please remove settings file located in baculum/protected/Data/settings.conf and re-run Initial wizard." msgid "Action:" msgstr "Action:" msgid "unmark all and close" msgstr "unmark all and close" + +msgid "This action will clear bvfs cache that was created during preparing restore files. Please note that clear bvfs action does not clear nor remove temporary tables created for restore action purpose. They are tables with prefix b2[0-9]+ which need manual remove. There is not recommended use this action during restore job working. Are you sure?" +msgstr "This action will clear bvfs cache that was created during preparing restore files.\\n\\nPlease note that clear bvfs action does not clear nor remove temporary tables created for restore action purpose. They are tables with prefix b2[0-9]+ which need manual remove.\\n\\nThere is not recommended use this action during restore job working.\\n\\nAre you sure?" + +msgid "Log files enables possibility to save most of actions executed on Baculum WebGUI. Logs functionality should be enabled if is happening shomething wrong with Baculum or something that looks like a bug. Logs can be useful for detecting a problems in Baculum working. After confirmation this message Baculum log files will be continuously saving in /protected/Data/ directory. Are you sure?" +msgstr "Log files enables possibility to save most of actions executed on Baculum WebGUI.\\n\\nLogs functionality should be enabled if is happening shomething wrong with Baculum or something that looks like a bug. Logs can be useful for detecting a problems in Baculum working.\\n\\nAfter confirmation this message Baculum log files will be continuously saving in /protected/Data/ directory.\\n\\nAre you sure?" + +msgid "10 elements" +msgstr "10 elements" + +msgid "25 elements" +msgstr "25 elements" + +msgid "50 elements" +msgstr "50 elements" + +msgid "100 elements" +msgstr "100 elements" + +msgid "200 elements" +msgstr "200 elements" + +msgid "500 elements" +msgstr "500 elements" + +msgid "unlimited" +msgstr "unlimited" + +msgid "1000 elements" +msgstr "1000 elements" + +msgid "Volume name" +msgstr "Volume name" + +msgid "Slot" +msgstr "Slot" + +msgid "Pool" +msgstr "Pool" + +msgid "When expire" +msgstr "When expire" + +msgid "Storage name" +msgstr "Storage name" + +msgid "Autochanger" +msgstr "Autochanger" + +msgid "No" +msgstr "No" + +msgid "days" +msgstr "days" + +msgid "day" +msgstr "day" + +msgid "Warning! You checked over 50 elements. Please note, that in case more time consuming actions, web browser request may timed out after 30 seconds. It this case action will be canceled and in consequence the action may not touch all selected elements. Are you sure you want to continue?" +msgstr "Warning!\\n\\nYou checked over 50 elements.\\n\\nPlease note, that in case more time consuming actions, web browser request may timed out after 30 seconds. It this case action will be canceled and in consequence the action may not touch all selected elements.\\n\\nAre you sure you want to continue?" + +msgid "Close the window" +msgstr "Close the window" + +msgid "Change the window size" +msgstr "Change the window size" + +msgid "Configuration of storage daemons." +msgstr "Configuration of storage daemons." + +msgid "Configuration of clients daemons." +msgstr "Configuration of clients daemons." + +msgid "Management of volumes." +msgstr "Management of volumes." + +msgid "Management of volumes pools." +msgstr "Management of volumes pools." + +msgid "Jobs settings." +msgstr "Jobs settings." + +msgid "Starting jobs." +msgstr "Starting jobs." + +msgid "Restore" +msgstr "Restore" + +msgid "Restore wizard." +msgstr "Restore wizard." + +msgid "Settings" +msgstr "Settings" + +msgid "Management settings wizard." +msgstr "Management settings wizard." + +msgid "Client name" +msgstr "Client name" + +msgid "File Retention" +msgstr "File Retention" + +msgid "Job Retention" +msgstr "Job Retention" + +msgid "Last written:" +msgstr "Last written:" + +msgid "never written" +msgstr "never written" + +msgid "When expire:" +msgstr "When expire:" + +msgid "Job name" +msgstr "Job name" + +msgid "End time" +msgstr "End time" + +msgid "Type" +msgstr "Type" + +msgid "Level" +msgstr "Level" + +msgid "Director" +msgstr "Director" + +msgid "Enter" +msgstr "Enter" + +msgid "Clear" +msgstr "Clear" + diff --git a/gui/baculum/protected/Lang/pl/messages.mo b/gui/baculum/protected/Lang/pl/messages.mo index 9482f65b22..0a50396900 100755 Binary files a/gui/baculum/protected/Lang/pl/messages.mo and b/gui/baculum/protected/Lang/pl/messages.mo differ diff --git a/gui/baculum/protected/Lang/pl/messages.po b/gui/baculum/protected/Lang/pl/messages.po old mode 100755 new mode 100644 index fa221bbd6b..be977d1d55 --- a/gui/baculum/protected/Lang/pl/messages.po +++ b/gui/baculum/protected/Lang/pl/messages.po @@ -1,12 +1,12 @@ msgid "" msgstr "" -"PO-Revision-Date: 2014-02-02 17:46:20\n" +"PO-Revision-Date: 2014-11-30 20:04:11\n" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"Last-Translator: Marcin Haba \n" +"Last-Translator: Marcin Haba \n" "Language-Team: \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.4\n" @@ -56,7 +56,7 @@ msgid "Next »" msgstr "Dalej »" msgid "Step 1 - select language" -msgstr "Krok 1 - wybieranie języka" +msgstr "Krok 1 - wybierz język" msgid "Step 2 - acceptance of a license" msgstr "Krok 2 - akceptacja licencji" @@ -197,7 +197,7 @@ msgid "Switch the window view (normal/details)" msgstr "Przełącz widok okna (normalny/szczegóły)" msgid "Volume status:" -msgstr "Status wolumena" +msgstr "Status wolumenu:" msgid "Retention Period (in sec.):" msgstr "Czas retencji (w sek.):" @@ -218,16 +218,16 @@ msgid "Max Vol. Bytes:" msgstr "Max Vol. Bytes:" msgid "Slot number:" -msgstr "Numer slotu" +msgstr "Numer slotu:" msgid "Recycle:" -msgstr "Recycle:" +msgstr "Recykling (atrybut Recycle):" msgid "Enabled:" -msgstr "Załączony" +msgstr "Załączony (atrybut Enable)" msgid "In changer:" -msgstr "In changer:" +msgstr "W urządzeniu (atrybut In Changer):" msgid "Purge" msgstr "Purge" @@ -248,7 +248,7 @@ msgid "Mount" msgstr "Zamontuj" msgid "Release" -msgstr "Wydaj" +msgstr "Odłącz" msgid "Umount" msgstr "Odmontuj" @@ -266,7 +266,7 @@ msgid "AutoPrune:" msgstr "AutoPrune:" msgid "Maximum volumes:" -msgstr "Max. ilość wolumenów:" +msgstr "Maximum volumes:" msgid "Label format:" msgstr "Format etykiety:" @@ -275,7 +275,7 @@ msgid "Scratch pool:" msgstr "Pula Scratch" msgid "Recycle pool:" -msgstr "Recycle pool:" +msgstr "Pula recycle:" msgid "Action on purge:" msgstr "Action on purge:" @@ -290,7 +290,7 @@ msgid "Operation is in progress" msgstr "Operacja w trakcie" msgid "Volume name:" -msgstr "Nazwa wolumena:" +msgstr "Nazwa wolumenu:" msgid "Storage name:" msgstr "Nazwa magazynu:" @@ -320,7 +320,7 @@ msgid "Database file path (SQLite only):" msgstr "Lokalizacja pliku DB (tylko SQLite):" msgid "Delete job" -msgstr "Skasuj zadanie" +msgstr "Usuń zadanie" msgid "Cancel job" msgstr "Anuluj zadanie" @@ -452,68 +452,368 @@ msgid "FileSet for restore:" msgstr "FIleSet dla przywracania" msgid "Director:" -msgstr "" +msgstr "Zarządca:" msgid "Jobs for run" -msgstr "" +msgstr "Zadania do uruchomienia" msgid "Job status" -msgstr "" +msgstr "Status zadania" msgid "Run job again" -msgstr "" +msgstr "Uruchom ponownie" msgid "Label name have to contain string value from set [0-9a-zA-Z_-]." -msgstr "" +msgstr "Nazwa etykiety musi zawierać ciąg znaków ze zbioru [0-9a-zA-Z_-]." msgid "Slots for label have to contain string value from set [0-9-,]." -msgstr "" +msgstr "Sloty do etykietowania muszą zawierać ciąg znaków ze zbioru [0-9-,]" msgid "Drive has to contain digit value from set [0-9]." -msgstr "" +msgstr "Napęd musi zawierać cyfry z zakresu [0-9]" msgid "Slots for update have to contain string value from set [0-9-,]." -msgstr "" +msgstr "Sloty do aktualizacji muszą zawierać ciąg znaków ze zbioru [0-9-,]." msgid "Label volume(s)" -msgstr "" +msgstr "Etykietuj wolumen(y)" msgid "Use barcodes as label:" -msgstr "" +msgstr "Użyj barcode jako etykiet" msgid "Label name:" -msgstr "" +msgstr "Nazwa etykiety:" msgid "Slots for label:" -msgstr "" +msgstr "Sloty do etykietowania:" msgid "Label" -msgstr "" +msgstr "Etykieta" msgid "Update slots using barcodes" -msgstr "" +msgstr "Aktualizuj sloty używając barcode" msgid "Slots for update:" -msgstr "" +msgstr "Sloty do aktualizacji" msgid "Update barcodes slots" -msgstr "" +msgstr "Aktualizuj sloty z etykietami barcode" msgid "Update slots without barcodes" -msgstr "" +msgstr "Aktualizuj sloty bez etykiet barcode" msgid "Update slots scan" -msgstr "" +msgstr "Aktualizuj sloty poprzez skanowanie" msgid "volumes tools" -msgstr "" +msgstr "narzędzia volumenów" msgid "Bacula console" -msgstr "" +msgstr "Konsola Bacula" msgid "show console" -msgstr "" +msgstr "pokaż konsolę" msgid "hide console" -msgstr "" +msgstr "ukryj konsolę" + +msgid "Bconsole admin config file path:" +msgstr "Lokalizacja pliku konf. bconsole:" + +msgid "Bconsole custom config file path:" +msgstr "Lokalizacja konf. dla użytkowników:" + +msgid "Please enter bconsole custom config file path." +msgstr "Proszę wprowadzić lokalizację pliku konfiguracyjnego dla użytkowników" + +msgid "Storage Daemons" +msgstr "Magazyny danych - Storage" + +msgid "Clients" +msgstr "Klienci" + +msgid "Volumes" +msgstr "Wolumeny" + +msgid "Pools" +msgstr "Pule wolumenów" + +msgid "Jobs" +msgstr "Zadania" + +msgid "clear bvfs cache" +msgstr "Wyczyść bvfs cache" + +msgid "simple" +msgstr "prosty" + +msgid "details" +msgstr "szczegółowy" + +msgid "There is not possible to run selected action because:" +msgstr "Nie jest możliwe uruchomienie wybranej akcji ponieważ:" + +msgid "Retention period (in hours):" +msgstr "Czas retencji wolumenu (w godz.):" + +msgid "Retention period value must be integer." +msgstr "Czas retencji wolumenu musi być liczbą całkowitą." + +msgid "Vol. use duration (in hours):" +msgstr "Vol. use duration (w godz.):" + +msgid "Vol. use duration value must be integer." +msgstr "Vol. use duration musi być liczbą całkowitą." + +msgid "Max vol. jobs:" +msgstr "Max vol. jobs:" + +msgid "Max vol. jobs value must be integer." +msgstr "Max vol. jobs musi być liczbą całkowitą." + +msgid "Max vol. files:" +msgstr "Max vol. files:" + +msgid "Max vol. files value must be integer." +msgstr "Max vol. files musi być liczbą całkowitą." + +msgid "Max vol. bytes:" +msgstr "Max vol. bytes:" + +msgid "Max vol. bytes value must be integer." +msgstr "Max vol. bytes musi być liczbą całkowitą." + +msgid "Slot value must be integer." +msgstr "Slot musi być liczbą całkowitą." + +msgid "Drive number must be integer." +msgstr "Numer napędu musi być liczbą całkowitą." + +msgid "Slot number must be integer." +msgstr "Numer slotu musi być liczbą całkowitą." + +msgid "File retention (in days):" +msgstr "Retencja plików (w dniach):" + +msgid "File retention value must be positive integer or zero." +msgstr "Retencja plików musi być liczbą całkowitą." + +msgid "Job retention (in days):" +msgstr "Retencja zadań (w dniach):" + +msgid "Job retention value must be positive integer or zero." +msgstr "Retencja zadań musi być liczbą całkowitą." + +msgid "Max volumes value must be integer." +msgstr "Max volumes musi być liczbą całkowitą." + +msgid "Use duration value must be integer." +msgstr "Vol. use duration musi być liczbą całkowitą." + +msgid "Label format value must not be empty." +msgstr "Format etykiety nie może być pusty." + +msgid "Level:" +msgstr "Typ kopii:" + +msgid "Client:" +msgstr "Klient:" + +msgid "FileSet:" +msgstr "FileSet:" + +msgid "Storage:" +msgstr "Magazyn składowania danych:" + +msgid "Priority:" +msgstr "Priorytet:" + +msgid "Priority value must be integer greather than 0." +msgstr "Priorytet musi być liczbą większą niż 0." + +msgid "Accurate:" +msgstr "Dokładna kopia (Accurate):" + +msgid "Estimate job" +msgstr "Estymacja zadania" + +msgid "Run job" +msgstr "Uruchom zadanie" + +msgid "Limit:" +msgstr "Limit:" + +msgid "Search:" +msgstr "Szukaj:" + +msgid "View mode:" +msgstr "Widok:" + +msgid "Action:" +msgstr "Akacja:" + +msgid "unmark all and close" +msgstr "Odznacz elementy i zamknij" + +msgid "Job name:" +msgstr "Nazwa zadania:" + +msgid "Enable logging" +msgstr "Włącz tryb logowania" + +msgid "For need defining more Baculum users with custom access or restricted console access (Bconsole ACLs) here is possible to determine custom bconsole configuration file format for each user." +msgstr "Jeżeli potrzebujesz zdefiniować użytkowników z ograniczonym dostępem (np. do zadań, akcji, zasobów, kopii zapasowych...itp), to tutaj jest możliwość określenia formatu nazwy plików konfiguracyjnych Bconsole, które będą używa konsolowych list dostępu (tzw. Bconsole ACLs)." + +msgid "If there is used only one Baculum user then below field value will be ignored." +msgstr "Jeśli zamierzasz używać tylko jednego użytkownika Baculum (administrator), wtedy poniższa wartość pola będzie ignorowana." + +msgid "{user} keyword will be replaced for each logged user into according username." +msgstr "Słowo kluczowe {user} będzie zamieniane na nazwę każdego użytkownika zalogowanego do Baculum." + +msgid "Above administration login and administration password will be used for login as administrator to Baculum WebGUI. They are your HTTP Basic authorization params by using which you will be logged in to Baculum." +msgstr "Powyższy login administratora i hasło administratora będą używane do logowania jako administrator Baculum WebGUI. To są Twoje dane autoryzacyjne HTTP Basic, przy pomocy których będziesz logować się do Baculum." + +msgid "In case when you use your selected HTTP Basic auth backend and in particular manual Baculum installation from source tar.gz archive, in above fields you need to provide your defined login and password which you used for access to this wizard." +msgstr "W przypadku gdy używasz swojego backend'u HTTP Basic oraz w szczególności gdy instalujesz Baculum z pakietu źródłowego tar.gz, W POWYÅ»SZE POLA potrzeba wprowadzić TE SAME DANE LOGOWANIA, przy pomocy których zalogowałeś się do tego instalatora Baculum." + +msgid "This action will clear bvfs cache that was created during preparing restore files. Please note that clear bvfs action does not clear nor remove temporary tables created for restore action purpose. They are tables with prefix b2[0-9]+ which need manual remove. There is not recommended use this action during restore job working. Are you sure?" +msgstr "Ta akcja wyczyści bvfs cache który był stworzony podczas przygotowania każdej akcji przywracania danych.\\n\\nProszę mieć na uwadze, że akcja clear bvfs nie czyści ani nie usuwa tymaczowych tabel SQL stworzonych na potrzeby akcji przywracania danych. Są to tabele z prefiksem b2[0-9]+ które można usunąć samodzielnie.\\n\\nNie jest zalecane używanie tej akcji podczas gdy jest uruchomione zadanie przywracania danych.\\n\\nCzy chcesz kontynuować?" + +msgid "Log files enables possibility to save most of actions executed on Baculum WebGUI. Logs functionality should be enabled if is happening shomething wrong with Baculum or something that looks like a bug. Logs can be useful for detecting a problems in Baculum working. After confirmation this message Baculum log files will be continuously saving in /protected/Data/ directory. Are you sure?" +msgstr "Pliki dzienników programu (tzw. logów programu) umożliwiają zapisywanie akcji wykonywanych na interfejsie Baculum.\\n\\nFunkcjonalność dzienników programu powinna być załączana jeśli wydarzy się coś złego z interfejsem Baculum lub coś co wygląda jak błąd.\\n\\nDzienniki programu mogą być użyteczne przy wykrywaniu problemów w działaniu Baculum. Po potwierdzeniu tej wiadomości dzienniki Baculum będą zapisywany w lokalizacji /protected/Data/.\\n\\nCzy chcesz kontynuować?" + +msgid "unlimited" +msgstr "bez limitu" + +msgid "10 elements" +msgstr "10 elementów" + +msgid "25 elements" +msgstr "25 elementów" + +msgid "50 elements" +msgstr "50 elementów" + +msgid "100 elements" +msgstr "100 elementów" + +msgid "200 elements" +msgstr "200 elementów" + +msgid "500 elements" +msgstr "500 elementów" + +msgid "1000 elements" +msgstr "1000 elementów" + +msgid "Volume name" +msgstr "Nazwa wolumenu" + +msgid "Slot" +msgstr "Slot" + +msgid "Pool" +msgstr "Pula" + +msgid "When expire" +msgstr "Kiedy wygasa" + +msgid "Storage name" +msgstr "Nazwa magazynu" + +msgid "Autochanger" +msgstr "Urządzenie Autochanger" + +msgid "Yes" +msgstr "Tak" + +msgid "No" +msgstr "Nie" + +msgid "days" +msgstr "dni" + +msgid "day" +msgstr "dzień" + +msgid "Warning! You checked over 50 elements. Please note, that in case more time consuming actions, web browser request may timed out after 30 seconds. It this case action will be canceled and in consequence the action may not touch all selected elements. Are you sure you want to continue?" +msgstr "Uwaga!\\n\\nZaznaczyłeś ponad 50 elementów.\\n\\nProszę mieć na uwadze fakt, że w przypadku czasochłonnych operacji żądanie z przeglądarka internetowej może zostać anulowane po 30 sekundach. W takim przypadku akcja będzie przerwana i w konsekwencji może nie wykonać się dla wszystkich zaznaczonych elementów.\\n\\nCzy jesteś pewien, że chcesz kontynuować?" + +msgid "Close the window" +msgstr "Zamknij okno" + +msgid "Change the window size" +msgstr "Zmień rozmiar okna" + +msgid "Storage Daemons." +msgstr "Magazyny danych." + +msgid "Configuration of storage daemons." +msgstr "Konfiguracja magazynów danych." + +msgid "Configuration of clients daemons." +msgstr "Konfiguracja klientów." + +msgid "Restore" +msgstr "Przywracanie danych" + +msgid "Restore wizard." +msgstr "Kreator przywracania danych." + +msgid "Settings" +msgstr "Ustawienia" + +msgid "Management of volumes." +msgstr "Zarządzanie wolumenami." + +msgid "Management of volumes pools." +msgstr "Zarządzanie pulami wolumenów." + +msgid "Jobs settings." +msgstr "Ustawienia zadań." + +msgid "Starting jobs." +msgstr "Uruchamianie zadań." + +msgid "Management settings wizard." +msgstr "Kreator ustawień Baculum." + +msgid "Client name" +msgstr "Nazwa klienta" + +msgid "File Retention" +msgstr "Retencja plików" + +msgid "Job Retention" +msgstr "Retencja zadań" + +msgid "never written" +msgstr "nie dotyczy" + +msgid "When expire:" +msgstr "Kiedy wygasa:" + +msgid "Last written:" +msgstr "Ostatnio zapisany:" + +msgid "Job name" +msgstr "Nazwa zadania" + +msgid "Type" +msgstr "Typ zadania" + +msgid "Level" +msgstr "Typ kopii" + +msgid "End time" +msgstr "Czas zakończenia" + +msgid "Director" +msgstr "Zarządca" + +msgid "Enter" +msgstr "Wykonaj" + +msgid "Clear" +msgstr "Wyczyść" diff --git a/gui/baculum/protected/Pages/ConfigurationWizard.page b/gui/baculum/protected/Pages/ConfigurationWizard.page index 7fcef5ed36..b15fdba388 100644 --- a/gui/baculum/protected/Pages/ConfigurationWizard.page +++ b/gui/baculum/protected/Pages/ConfigurationWizard.page @@ -59,7 +59,7 @@
- +
diff --git a/gui/baculum/protected/Pages/ConfigurationWizard.php b/gui/baculum/protected/Pages/ConfigurationWizard.php index 84ea1bad63..7fb63edabf 100644 --- a/gui/baculum/protected/Pages/ConfigurationWizard.php +++ b/gui/baculum/protected/Pages/ConfigurationWizard.php @@ -103,6 +103,7 @@ class ConfigurationWizard extends BaculumPage $cfgData['baculum']['login'] = $this->PanelLogin->Text; $cfgData['baculum']['password'] = $this->PanelPassword->Text; $cfgData['baculum']['debug'] = isset($this->applicationConfig['baculum']['debug']) ? $this->applicationConfig['baculum']['debug'] : "0"; + $cfgData['baculum']['lang'] = $_SESSION['language']; $ret = $this->getModule('configuration')->setApplicationConfig($cfgData); if($ret === true) { if($this->getModule('configuration')->isUsersConfig() === true) { // version with users config file, so next is try to auto-login diff --git a/gui/baculum/protected/Pages/Home.page b/gui/baculum/protected/Pages/Home.page index da5fbb6a37..b92c295f4c 100644 --- a/gui/baculum/protected/Pages/Home.page +++ b/gui/baculum/protected/Pages/Home.page @@ -6,15 +6,15 @@
@@ -38,8 +38,8 @@
- <%[ clear bvfs cache ]%> - <%[ Enable logging ]%> + <%[ clear bvfs cache ]%> + <%[ Enable logging ]%> <%[ volumes tools ]%><%[ volumes tools ]%> <%[ Bacula console ]%><%[ show console ]%> diff --git a/gui/baculum/protected/Portlets/ClientList.tpl b/gui/baculum/protected/Portlets/ClientList.tpl index 00571ad293..eb5b85b9af 100644 --- a/gui/baculum/protected/Portlets/ClientList.tpl +++ b/gui/baculum/protected/Portlets/ClientList.tpl @@ -21,7 +21,7 @@ ItemStyle.CssClass="slide-window-element" AlternatingItemStyle.CssClass="slide-window-element-alternating" > - +
<%=$this->getParent()->Data['name']%>
@@ -29,17 +29,17 @@
- <%=$this->getParent()->Data['autoprune'] == 1 ? 'Yes' : 'No'%> + <%=$this->getParent()->Data['autoprune'] == 1 ? Prado::localize('Yes') : Prado::localize('No')%> - + - <%=(integer)($this->getParent()->Data['fileretention'] / 3600 / 24)%> <%=$this->getParent()->Data['fileretention'] < 172800 ? 'day' : 'days'%> + <%=(integer)($this->getParent()->Data['fileretention'] / 3600 / 24)%> <%=$this->getParent()->Data['fileretention'] < 172800 ? Prado::localize('day') : Prado::localize('days')%> - + - <%=(integer)($this->getParent()->Data['jobretention'] / 3600 / 24)%> <%=$this->getParent()->Data['jobretention'] < 172800 ? 'day' : 'days'%> + <%=(integer)($this->getParent()->Data['jobretention'] / 3600 / 24)%> <%=$this->getParent()->Data['jobretention'] < 172800 ? Prado::localize('day') : Prado::localize('days')%> diff --git a/gui/baculum/protected/Portlets/Console.tpl b/gui/baculum/protected/Portlets/Console.tpl index 3250000771..fc0af6a602 100644 --- a/gui/baculum/protected/Portlets/Console.tpl +++ b/gui/baculum/protected/Portlets/Console.tpl @@ -10,8 +10,8 @@ diff --git a/gui/baculum/protected/Portlets/JobList.tpl b/gui/baculum/protected/Portlets/JobList.tpl index 9ab4e66fa2..5b8d800f18 100644 --- a/gui/baculum/protected/Portlets/JobList.tpl +++ b/gui/baculum/protected/Portlets/JobList.tpl @@ -32,7 +32,7 @@ DataField="jobid" ItemStyle.HorizontalAlign="Center" /> - +
<%=$this->getParent()->Data['name']%>
@@ -40,22 +40,22 @@
- T + T - L + L - +
<%=isset($this->getPage()->JobWindow->getJobState($this->getParent()->Data['jobstatus'])->value) ? $this->getPage()->JobWindow->getJobState($this->getParent()->Data['jobstatus'])->value : ''%>
diff --git a/gui/baculum/protected/Portlets/JobRunList.tpl b/gui/baculum/protected/Portlets/JobRunList.tpl index a7532370d6..ec4255e100 100644 --- a/gui/baculum/protected/Portlets/JobRunList.tpl +++ b/gui/baculum/protected/Portlets/JobRunList.tpl @@ -3,7 +3,7 @@ - <%=($this->getPage()->JobRunWindow->oldDirector != $this->DataItem['director']) ? '
Director: ' . $this->DataItem['director'] . '
': ''%> + <%=($this->getPage()->JobRunWindow->oldDirector != $this->DataItem['director']) ? '
' . Prado::localize('Director:') . ' ' . $this->DataItem['director'] . '
': ''%> <%=@$this->DataItem['name']%> @@ -24,7 +24,7 @@ ItemStyle.CssClass="slide-window-element" AlternatingItemStyle.CssClass="slide-window-element-alternating" > - +
<%=$this->getParent()->DataItem['name']%>
@@ -32,7 +32,7 @@
diff --git a/gui/baculum/protected/Portlets/SlideWindow.php b/gui/baculum/protected/Portlets/SlideWindow.php index ef12015e75..17ee34e7e8 100644 --- a/gui/baculum/protected/Portlets/SlideWindow.php +++ b/gui/baculum/protected/Portlets/SlideWindow.php @@ -30,7 +30,16 @@ Prado::using('Application.Portlets.Portlets'); class SlideWindow extends Portlets { - public $elementsLimits = array(10, 25, 50, 100, 200, 500, 1000, 'unlimited'); + public $elementsLimit = array( + 10 => '10 elements', + 25 => '25 elements', + 50 => '50 elements', + 100 => '100 elements', + 200 => '200 elements', + 500 => '500 elements', + 1000 => '1000 elements', + 'unlimited' => 'unlimited' + ); public $actions = array( 'VolumeWindow' => array( 'NoAction' => 'select action', @@ -51,14 +60,19 @@ class SlideWindow extends Portlets { parent::onInit($param); if(empty($_SESSION['view' . $this->getParent()->ID]) && empty($_SESSION['limit' . $this->getParent()->ID])) { $_SESSION['view' . $this->getParent()->ID] = self::NORMAL_VIEW; - $_SESSION['limit' . $this->getParent()->ID] = 'unlimited'; + $_SESSION['limit' . $this->getParent()->ID] = $this->elementsLimit['unlimited']; } } public function onLoad($param) { parent::onLoad($param); if(!$this->getPage()->IsPostBack) { - $this->Limit->dataSource = array_combine($this->elementsLimits, $this->elementsLimits); + $limitKeys = array_keys($this->elementsLimit); + $limitValues = array(); + foreach($this->elementsLimit as $val) { + $limitValues[] = Prado::localize($val); + } + $this->Limit->dataSource = array_combine($limitKeys, $limitValues); $this->Limit->SelectedValue = $_SESSION['limit' . $this->getParent()->ID]; $this->Limit->dataBind(); $this->Simple->Checked = ($_SESSION['view' . $this->getParent()->ID] == self::NORMAL_VIEW); diff --git a/gui/baculum/protected/Portlets/SlideWindow.tpl b/gui/baculum/protected/Portlets/SlideWindow.tpl index aa0ca6b5a8..8094e46a6e 100644 --- a/gui/baculum/protected/Portlets/SlideWindow.tpl +++ b/gui/baculum/protected/Portlets/SlideWindow.tpl @@ -40,7 +40,7 @@ - +