From 93d82cf1d68dfade01763fd1594996ed437cbc5c Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 3 Dec 2024 10:00:28 +0100 Subject: [PATCH 1/2] Add variables to visitors map view --- application/controllers/Visitor.php | 5 +++++ application/views/gridmap/index.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/application/controllers/Visitor.php b/application/controllers/Visitor.php index d386ea25a..4dbfaa963 100644 --- a/application/controllers/Visitor.php +++ b/application/controllers/Visitor.php @@ -387,6 +387,11 @@ class Visitor extends CI_Controller { $data['gridsquares_gridsquares_not_confirmed'] = __("Gridsquares not confirmed"); $data['gridsquares_gridsquares_total_worked'] = __("Total gridsquares worked"); + $data['gridsquares_fields'] = __("Fields"); + $data['gridsquares_fields_confirmed'] = __("Fields confirmed"); + $data['gridsquares_fields_not_confirmed'] = __("Fields not confirmed"); + $data['gridsquares_fields_total_worked'] = __("Total fields worked"); + $data['visitor'] = true; $this->load->view('visitor/layout/header', $data); diff --git a/application/views/gridmap/index.php b/application/views/gridmap/index.php index eaaefef65..e1c079710 100644 --- a/application/views/gridmap/index.php +++ b/application/views/gridmap/index.php @@ -175,7 +175,7 @@ echo "var gridsquares_gridsquares_confirmed = \"" . $gridsquares_gridsquares_confirmed . "\";\n"; echo "var gridsquares_gridsquares_not_confirmed = \"" . $gridsquares_gridsquares_not_confirmed . "\";\n"; echo "var gridsquares_gridsquares_total_worked = \"" . $gridsquares_gridsquares_total_worked . "\";\n"; - echo "var gridsquares_fields = \"" . $gridsquares_fields . "\";\n"; + echo "var gridsquares_fields = \"" . $gridsquares_fields . "\";\n"; echo "var gridsquares_fields_confirmed = \"" . $gridsquares_fields_confirmed . "\";\n"; echo "var gridsquares_fields_not_confirmed = \"" . $gridsquares_fields_not_confirmed . "\";\n"; echo "var gridsquares_fields_total_worked = \"" . $gridsquares_fields_total_worked . "\";\n"; From 28544b851d193beb3f0f3705bd57f84b9a659da0 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 3 Dec 2024 15:27:19 +0000 Subject: [PATCH 2/2] po/mo updates --- application/locale/bg_BG/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/bs/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/cnr/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/cs_CZ/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/de_DE/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/el_GR/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/es_ES/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/et/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/fi_FI/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/fr_FR/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/hr/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/it_IT/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/lt/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/lv/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/nl_NL/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/pl_PL/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/pt_PT/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/ru_RU/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/sq/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/sr/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/sv_SE/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/tr_TR/LC_MESSAGES/messages.po | 14 +++++++++----- application/locale/zh_CN/LC_MESSAGES/messages.po | 14 +++++++++----- assets/lang_src/messages.pot | 14 +++++++++----- 24 files changed, 216 insertions(+), 120 deletions(-) diff --git a/application/locale/bg_BG/LC_MESSAGES/messages.po b/application/locale/bg_BG/LC_MESSAGES/messages.po index 9017e986e..44bfae7e9 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-12-03 12:03+0000\n" +"POT-Creation-Date: 2024-12-03 15:27+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: 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: Lithuanian \n" "Language-Team: Latvian \n" "Language-Team: Dutch \n" "Language-Team: Polish \n" "Language-Team: Portuguese (Portugal) \n" "Language-Team: Russian \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" @@ -150,21 +150,25 @@ msgstr "" #: application/controllers/Activated_gridmap.php:36 #: application/controllers/Gridmap.php:36 +#: application/controllers/Visitor.php:390 msgid "Fields" msgstr "" #: application/controllers/Activated_gridmap.php:37 #: application/controllers/Gridmap.php:37 +#: application/controllers/Visitor.php:391 msgid "Fields confirmed" msgstr "" #: application/controllers/Activated_gridmap.php:38 #: application/controllers/Gridmap.php:38 +#: application/controllers/Visitor.php:392 msgid "Fields not confirmed" msgstr "" #: application/controllers/Activated_gridmap.php:39 #: application/controllers/Gridmap.php:39 +#: application/controllers/Visitor.php:393 msgid "Total fields worked" msgstr "" @@ -2006,7 +2010,7 @@ msgstr "" #: application/controllers/Visitor.php:148 #: application/controllers/Visitor.php:175 #: application/controllers/Visitor.php:210 -#: application/controllers/Visitor.php:471 +#: application/controllers/Visitor.php:476 #: application/controllers/Widgets.php:40 msgid "Unknown Public Page." msgstr "" @@ -2015,7 +2019,7 @@ msgstr "" #: application/controllers/Visitor.php:76 #: application/controllers/Visitor.php:171 #: application/controllers/Visitor.php:206 -#: application/controllers/Visitor.php:467 +#: application/controllers/Visitor.php:472 #: application/controllers/Widgets.php:36 msgid "Empty Logbook" msgstr "" @@ -2397,12 +2401,12 @@ msgstr "" msgid "Satellite Gridsquare Map" msgstr "" -#: application/controllers/Visitor.php:405 +#: application/controllers/Visitor.php:410 #: application/views/stationsetup/stationsetup.php:35 msgid "Public Search" msgstr "" -#: application/controllers/Visitor.php:438 +#: application/controllers/Visitor.php:443 msgid "Export Map" msgstr ""