diff --git a/application/controllers/Cron.php b/application/controllers/Cron.php index 3cb7c464f..6e2bbe883 100644 --- a/application/controllers/Cron.php +++ b/application/controllers/Cron.php @@ -215,8 +215,8 @@ class cron extends CI_Controller { $single->cron_description = $cron->description; $single->cron_status = $this->cronStatus2html($cron->enabled, $cron->status); $single->cron_expression = $this->cronExpression2html($cron->expression); - $single->cron_last_run = $cron->last_run ?? 'never'; - $single->cron_next_run = ($cron->enabled == '1') ? ($cron->next_run ?? 'calculating..') : 'never'; + $single->cron_last_run = $cron->last_run ?? __("never"); + $single->cron_next_run = ($cron->enabled == '1') ? ($cron->next_run ?? __("calculating...")) : __("never"); $single->cron_edit = $this->cronEdit2html($cron->id); $single->cron_enabled = $this->cronEnabled2html($cron->id, $cron->enabled); array_push($hres, $single); @@ -227,12 +227,16 @@ class cron extends CI_Controller { private function cronStatus2html($enabled, $status) { if ($enabled == '1') { if ($status == 'healthy') { - $htmlret = 'healthy'; + $htmlret = '' . __("healthy") . ''; + } else if ($status == 'failed') { + $htmlret = '' . __("failed") . ''; + } else if ($status == 'pending') { + $htmlret = '' . __("pending") . ''; } else { $htmlret = '' . $status . ''; } } else { - $htmlret = 'disabled'; + $htmlret = '' . __("disabled") . ''; } return $htmlret; } diff --git a/application/locale/bg_BG/LC_MESSAGES/messages.po b/application/locale/bg_BG/LC_MESSAGES/messages.po index 0e6df60b7..b1530d0ef 100644 --- a/application/locale/bg_BG/LC_MESSAGES/messages.po +++ b/application/locale/bg_BG/LC_MESSAGES/messages.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: translations@wavelog.org\n" -"POT-Creation-Date: 2024-11-04 13:50+0000\n" +"POT-Creation-Date: 2024-11-05 08:16+0000\n" "PO-Revision-Date: 2024-11-01 08:53+0000\n" "Last-Translator: Plamen Panteleev \n" "Language-Team: Bulgarian \n" "Language-Team: Bosnian \n" "Language-Team: Montenegrin \n" "Language-Team: Czech \n" -"Language-Team: German \n" +"Language-Team: German \n" "Language: de_DE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -607,10 +607,11 @@ msgstr "Bearbeite Cronjob" #: application/controllers/Cron.php:274 #: application/views/interface_assets/footer.php:37 +#: application/controllers/Cron.php:278 msgid "OK" msgstr "OK" -#: application/controllers/Cron.php:278 +#: application/controllers/Cron.php:278 application/controllers/Cron.php:282 #, php-format msgid "" "Last run occurred more than %s seconds ago.%sPlease check your master cron! " @@ -619,7 +620,7 @@ msgstr "" "Letzte Ausführung fand vor mehr als %s Sekunden statt.%sBitte überprüfe " "deinen Master-Cron! Er sollte jede Minute laufen (* * * * *)." -#: application/controllers/Cron.php:281 +#: application/controllers/Cron.php:281 application/controllers/Cron.php:285 #, php-format msgid "" "Last run occurred more than %s minutes ago.%sSeems like your Mastercron " @@ -629,6 +630,7 @@ msgstr "" "dein Mastercron nicht läuft!%sEr sollte jede Minute laufen (* * * * *)." #: application/controllers/Cron.php:286 application/views/cron/index.php:29 +#: application/controllers/Cron.php:290 msgctxt "Master Cron" msgid "Not running" msgstr "Läuft nicht" @@ -6122,19 +6124,19 @@ msgstr "Letzte Ausführung" msgid "Next Run" msgstr "Nächste Ausführung" -#: application/views/cron/index.php:70 +#: application/views/cron/index.php:70 application/controllers/Cron.php:230 msgid "healthy" msgstr "gesund" -#: application/views/cron/index.php:72 +#: application/views/cron/index.php:72 application/controllers/Cron.php:232 msgid "failed" msgstr "fehlgeschlagen" -#: application/views/cron/index.php:74 +#: application/views/cron/index.php:74 application/controllers/Cron.php:234 msgid "pending" msgstr "wartend" -#: application/views/cron/index.php:79 +#: application/views/cron/index.php:79 application/controllers/Cron.php:239 msgid "disabled" msgstr "ausgeschaltet" @@ -6143,7 +6145,8 @@ msgstr "ausgeschaltet" #: application/views/debug/index.php:525 application/views/debug/index.php:530 #: application/views/debug/index.php:535 application/views/debug/index.php:540 #: application/views/debug/index.php:545 application/views/debug/index.php:550 -#: application/views/user/index.php:136 +#: application/views/user/index.php:136 application/controllers/Cron.php:218 +#: application/controllers/Cron.php:219 msgid "never" msgstr "nie" @@ -12587,6 +12590,10 @@ msgstr "Dein Rufzeichen:" msgid "Submit Request" msgstr "Anfrage senden" +#: application/controllers/Cron.php:219 +msgid "calculating..." +msgstr "" + #~ msgid "The QSO were successfully logged in the logbook!" #~ msgstr "Die QSO wurden erfolgreich im Logbuch gespeichert!" diff --git a/application/locale/el_GR/LC_MESSAGES/messages.po b/application/locale/el_GR/LC_MESSAGES/messages.po index 5202a048b..1b9aa1332 100644 --- a/application/locale/el_GR/LC_MESSAGES/messages.po +++ b/application/locale/el_GR/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: translations@wavelog.org\n" -"POT-Creation-Date: 2024-11-04 13:50+0000\n" +"POT-Creation-Date: 2024-11-05 08:16+0000\n" "PO-Revision-Date: 2024-08-17 10:47+0000\n" "Last-Translator: Fabian Berg \n" "Language-Team: Greek \n" "Language-Team: Spanish \n" "Language-Team: Estonian \n" "Language-Team: Finnish \n" "Language-Team: French \n" "Language-Team: Croatian \n" "Language-Team: Italian \n" "Language-Team: LANGUAGE \n" @@ -588,26 +588,56 @@ msgstr "" msgid "Edit Cronjob" msgstr "" -#: application/controllers/Cron.php:274 +#: application/controllers/Cron.php:218 application/controllers/Cron.php:219 +#: application/views/cron/index.php:83 application/views/cron/index.php:85 +#: application/views/cron/index.php:87 application/views/debug/index.php:519 +#: application/views/debug/index.php:525 application/views/debug/index.php:530 +#: application/views/debug/index.php:535 application/views/debug/index.php:540 +#: application/views/debug/index.php:545 application/views/debug/index.php:550 +#: application/views/user/index.php:136 +msgid "never" +msgstr "" + +#: application/controllers/Cron.php:219 +msgid "calculating..." +msgstr "" + +#: application/controllers/Cron.php:230 application/views/cron/index.php:70 +msgid "healthy" +msgstr "" + +#: application/controllers/Cron.php:232 application/views/cron/index.php:72 +msgid "failed" +msgstr "" + +#: application/controllers/Cron.php:234 application/views/cron/index.php:74 +msgid "pending" +msgstr "" + +#: application/controllers/Cron.php:239 application/views/cron/index.php:79 +msgid "disabled" +msgstr "" + +#: application/controllers/Cron.php:278 #: application/views/interface_assets/footer.php:37 msgid "OK" msgstr "" -#: application/controllers/Cron.php:278 +#: application/controllers/Cron.php:282 #, php-format msgid "" "Last run occurred more than %s seconds ago.%sPlease check your master cron! " "It should run every minute (* * * * *)." msgstr "" -#: application/controllers/Cron.php:281 +#: application/controllers/Cron.php:285 #, php-format msgid "" "Last run occurred more than %s minutes ago.%sSeems like your Mastercron " "isn't running!%sIt should run every minute (* * * * *)." msgstr "" -#: application/controllers/Cron.php:286 application/views/cron/index.php:29 +#: application/controllers/Cron.php:290 application/views/cron/index.php:29 msgctxt "Master Cron" msgid "Not running" msgstr "" @@ -5815,31 +5845,6 @@ msgstr "" msgid "Next Run" msgstr "" -#: application/views/cron/index.php:70 -msgid "healthy" -msgstr "" - -#: application/views/cron/index.php:72 -msgid "failed" -msgstr "" - -#: application/views/cron/index.php:74 -msgid "pending" -msgstr "" - -#: application/views/cron/index.php:79 -msgid "disabled" -msgstr "" - -#: application/views/cron/index.php:83 application/views/cron/index.php:85 -#: application/views/cron/index.php:87 application/views/debug/index.php:519 -#: application/views/debug/index.php:525 application/views/debug/index.php:530 -#: application/views/debug/index.php:535 application/views/debug/index.php:540 -#: application/views/debug/index.php:545 application/views/debug/index.php:550 -#: application/views/user/index.php:136 -msgid "never" -msgstr "" - #: application/views/cron/index.php:102 msgid "Your Mastercron isn't running." msgstr "" diff --git a/application/locale/lv/LC_MESSAGES/messages.po b/application/locale/lv/LC_MESSAGES/messages.po index 2f802bf07..9c42bb588 100644 --- a/application/locale/lv/LC_MESSAGES/messages.po +++ b/application/locale/lv/LC_MESSAGES/messages.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: translations@wavelog.org\n" -"POT-Creation-Date: 2024-11-04 13:50+0000\n" +"POT-Creation-Date: 2024-11-05 08:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -588,26 +588,56 @@ msgstr "" msgid "Edit Cronjob" msgstr "" -#: application/controllers/Cron.php:274 +#: application/controllers/Cron.php:218 application/controllers/Cron.php:219 +#: application/views/cron/index.php:83 application/views/cron/index.php:85 +#: application/views/cron/index.php:87 application/views/debug/index.php:519 +#: application/views/debug/index.php:525 application/views/debug/index.php:530 +#: application/views/debug/index.php:535 application/views/debug/index.php:540 +#: application/views/debug/index.php:545 application/views/debug/index.php:550 +#: application/views/user/index.php:136 +msgid "never" +msgstr "" + +#: application/controllers/Cron.php:219 +msgid "calculating..." +msgstr "" + +#: application/controllers/Cron.php:230 application/views/cron/index.php:70 +msgid "healthy" +msgstr "" + +#: application/controllers/Cron.php:232 application/views/cron/index.php:72 +msgid "failed" +msgstr "" + +#: application/controllers/Cron.php:234 application/views/cron/index.php:74 +msgid "pending" +msgstr "" + +#: application/controllers/Cron.php:239 application/views/cron/index.php:79 +msgid "disabled" +msgstr "" + +#: application/controllers/Cron.php:278 #: application/views/interface_assets/footer.php:37 msgid "OK" msgstr "" -#: application/controllers/Cron.php:278 +#: application/controllers/Cron.php:282 #, php-format msgid "" "Last run occurred more than %s seconds ago.%sPlease check your master cron! " "It should run every minute (* * * * *)." msgstr "" -#: application/controllers/Cron.php:281 +#: application/controllers/Cron.php:285 #, php-format msgid "" "Last run occurred more than %s minutes ago.%sSeems like your Mastercron " "isn't running!%sIt should run every minute (* * * * *)." msgstr "" -#: application/controllers/Cron.php:286 application/views/cron/index.php:29 +#: application/controllers/Cron.php:290 application/views/cron/index.php:29 msgctxt "Master Cron" msgid "Not running" msgstr "" @@ -5815,31 +5845,6 @@ msgstr "" msgid "Next Run" msgstr "" -#: application/views/cron/index.php:70 -msgid "healthy" -msgstr "" - -#: application/views/cron/index.php:72 -msgid "failed" -msgstr "" - -#: application/views/cron/index.php:74 -msgid "pending" -msgstr "" - -#: application/views/cron/index.php:79 -msgid "disabled" -msgstr "" - -#: application/views/cron/index.php:83 application/views/cron/index.php:85 -#: application/views/cron/index.php:87 application/views/debug/index.php:519 -#: application/views/debug/index.php:525 application/views/debug/index.php:530 -#: application/views/debug/index.php:535 application/views/debug/index.php:540 -#: application/views/debug/index.php:545 application/views/debug/index.php:550 -#: application/views/user/index.php:136 -msgid "never" -msgstr "" - #: application/views/cron/index.php:102 msgid "Your Mastercron isn't running." msgstr "" diff --git a/application/locale/nl_NL/LC_MESSAGES/messages.po b/application/locale/nl_NL/LC_MESSAGES/messages.po index 98f4a2633..7b011d57a 100644 --- a/application/locale/nl_NL/LC_MESSAGES/messages.po +++ b/application/locale/nl_NL/LC_MESSAGES/messages.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: translations@wavelog.org\n" -"POT-Creation-Date: 2024-11-04 13:50+0000\n" +"POT-Creation-Date: 2024-11-05 08:16+0000\n" "PO-Revision-Date: 2024-08-17 10:47+0000\n" "Last-Translator: Anonymous \n" "Language-Team: Dutch \n" "Language-Team: Polish \n" "Language-Team: Portuguese (Portugal) \n" -"Language-Team: Russian \n" +"Language-Team: Russian \n" "Language: ru_RU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -596,10 +596,11 @@ msgstr "Редактирование задачи" #: application/controllers/Cron.php:274 #: application/views/interface_assets/footer.php:37 +#: application/controllers/Cron.php:278 msgid "OK" msgstr "ОК" -#: application/controllers/Cron.php:278 +#: application/controllers/Cron.php:278 application/controllers/Cron.php:282 #, php-format msgid "" "Last run occurred more than %s seconds ago.%sPlease check your master cron! " @@ -608,7 +609,7 @@ msgstr "" "Последний запуск произошел более %s секунд назад.%sПроверьте ваш основной " "cron! Он должен запускаться каждую минуту (* * * * *)." -#: application/controllers/Cron.php:281 +#: application/controllers/Cron.php:281 application/controllers/Cron.php:285 #, php-format msgid "" "Last run occurred more than %s minutes ago.%sSeems like your Mastercron " @@ -618,6 +619,7 @@ msgstr "" "работает!%sОн должен запускаться каждую минуту (* * * * *)." #: application/controllers/Cron.php:286 application/views/cron/index.php:29 +#: application/controllers/Cron.php:290 msgctxt "Master Cron" msgid "Not running" msgstr "Не работает" @@ -6101,19 +6103,19 @@ msgstr "Последний запуск" msgid "Next Run" msgstr "Следующий запуск" -#: application/views/cron/index.php:70 +#: application/views/cron/index.php:70 application/controllers/Cron.php:230 msgid "healthy" msgstr "норма" -#: application/views/cron/index.php:72 +#: application/views/cron/index.php:72 application/controllers/Cron.php:232 msgid "failed" msgstr "ошибка" -#: application/views/cron/index.php:74 +#: application/views/cron/index.php:74 application/controllers/Cron.php:234 msgid "pending" msgstr "в ожидании" -#: application/views/cron/index.php:79 +#: application/views/cron/index.php:79 application/controllers/Cron.php:239 msgid "disabled" msgstr "отключено" @@ -6122,7 +6124,8 @@ msgstr "отключено" #: application/views/debug/index.php:525 application/views/debug/index.php:530 #: application/views/debug/index.php:535 application/views/debug/index.php:540 #: application/views/debug/index.php:545 application/views/debug/index.php:550 -#: application/views/user/index.php:136 +#: application/views/user/index.php:136 application/controllers/Cron.php:218 +#: application/controllers/Cron.php:219 msgid "never" msgstr "никогда" @@ -12520,6 +12523,10 @@ msgstr "Ваш позывной:" msgid "Submit Request" msgstr "Отправить запрос" +#: application/controllers/Cron.php:219 +msgid "calculating..." +msgstr "" + #~ msgid "The QSO were successfully logged in the logbook!" #~ msgstr "QSO были успешно записаны в журнал!" diff --git a/application/locale/sq/LC_MESSAGES/messages.po b/application/locale/sq/LC_MESSAGES/messages.po index 2a6afb296..72e331aa1 100644 --- a/application/locale/sq/LC_MESSAGES/messages.po +++ b/application/locale/sq/LC_MESSAGES/messages.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: translations@wavelog.org\n" -"POT-Creation-Date: 2024-11-04 13:50+0000\n" +"POT-Creation-Date: 2024-11-05 08:16+0000\n" "PO-Revision-Date: 2024-08-17 10:49+0000\n" "Last-Translator: Anonymous \n" "Language-Team: Albanian \n" "Language-Team: Serbian \n" "Language-Team: Swedish \n" "Language-Team: Turkish \n" "Language-Team: Chinese (Simplified Han script) \n" "Language-Team: LANGUAGE \n" @@ -589,26 +589,56 @@ msgstr "" msgid "Edit Cronjob" msgstr "" -#: application/controllers/Cron.php:274 +#: application/controllers/Cron.php:218 application/controllers/Cron.php:219 +#: application/views/cron/index.php:83 application/views/cron/index.php:85 +#: application/views/cron/index.php:87 application/views/debug/index.php:519 +#: application/views/debug/index.php:525 application/views/debug/index.php:530 +#: application/views/debug/index.php:535 application/views/debug/index.php:540 +#: application/views/debug/index.php:545 application/views/debug/index.php:550 +#: application/views/user/index.php:136 +msgid "never" +msgstr "" + +#: application/controllers/Cron.php:219 +msgid "calculating..." +msgstr "" + +#: application/controllers/Cron.php:230 application/views/cron/index.php:70 +msgid "healthy" +msgstr "" + +#: application/controllers/Cron.php:232 application/views/cron/index.php:72 +msgid "failed" +msgstr "" + +#: application/controllers/Cron.php:234 application/views/cron/index.php:74 +msgid "pending" +msgstr "" + +#: application/controllers/Cron.php:239 application/views/cron/index.php:79 +msgid "disabled" +msgstr "" + +#: application/controllers/Cron.php:278 #: application/views/interface_assets/footer.php:37 msgid "OK" msgstr "" -#: application/controllers/Cron.php:278 +#: application/controllers/Cron.php:282 #, php-format msgid "" "Last run occurred more than %s seconds ago.%sPlease check your master cron! " "It should run every minute (* * * * *)." msgstr "" -#: application/controllers/Cron.php:281 +#: application/controllers/Cron.php:285 #, php-format msgid "" "Last run occurred more than %s minutes ago.%sSeems like your Mastercron " "isn't running!%sIt should run every minute (* * * * *)." msgstr "" -#: application/controllers/Cron.php:286 application/views/cron/index.php:29 +#: application/controllers/Cron.php:290 application/views/cron/index.php:29 msgctxt "Master Cron" msgid "Not running" msgstr "" @@ -5816,31 +5846,6 @@ msgstr "" msgid "Next Run" msgstr "" -#: application/views/cron/index.php:70 -msgid "healthy" -msgstr "" - -#: application/views/cron/index.php:72 -msgid "failed" -msgstr "" - -#: application/views/cron/index.php:74 -msgid "pending" -msgstr "" - -#: application/views/cron/index.php:79 -msgid "disabled" -msgstr "" - -#: application/views/cron/index.php:83 application/views/cron/index.php:85 -#: application/views/cron/index.php:87 application/views/debug/index.php:519 -#: application/views/debug/index.php:525 application/views/debug/index.php:530 -#: application/views/debug/index.php:535 application/views/debug/index.php:540 -#: application/views/debug/index.php:545 application/views/debug/index.php:550 -#: application/views/user/index.php:136 -msgid "never" -msgstr "" - #: application/views/cron/index.php:102 msgid "Your Mastercron isn't running." msgstr ""