From 2ca0caf7d48b02a2ab9eec8e27d707e4cdddce67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Kalij=C3=A4rvi?= Date: Mon, 25 Mar 2024 11:15:02 +0200 Subject: [PATCH 1/4] UHF-9088: Updated translations. --- .../optional/language/fi/metatag.metatag_defaults.front.yml | 1 + .../optional/language/fi/metatag.metatag_defaults.global.yml | 1 + .../optional/language/fi/metatag.metatag_defaults.node.yml | 1 + .../language/fi/metatag.metatag_defaults.taxonomy_term.yml | 1 + translations/override/fi.po | 3 +++ 5 files changed, 7 insertions(+) create mode 100644 modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.front.yml create mode 100644 modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.global.yml create mode 100644 modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.node.yml create mode 100644 modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.taxonomy_term.yml diff --git a/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.front.yml b/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.front.yml new file mode 100644 index 000000000..22becbcbf --- /dev/null +++ b/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.front.yml @@ -0,0 +1 @@ +label: Etusivu diff --git a/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.global.yml b/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.global.yml new file mode 100644 index 000000000..0fff6882e --- /dev/null +++ b/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.global.yml @@ -0,0 +1 @@ +label: Globaali diff --git a/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.node.yml b/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.node.yml new file mode 100644 index 000000000..9d61cbc9a --- /dev/null +++ b/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.node.yml @@ -0,0 +1 @@ +label: Sisältö diff --git a/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.taxonomy_term.yml b/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.taxonomy_term.yml new file mode 100644 index 000000000..4491be73f --- /dev/null +++ b/modules/helfi_base_content/config/optional/language/fi/metatag.metatag_defaults.taxonomy_term.yml @@ -0,0 +1 @@ +label: Luokittelutermi diff --git a/translations/override/fi.po b/translations/override/fi.po index 9048e21af..a7a99532b 100644 --- a/translations/override/fi.po +++ b/translations/override/fi.po @@ -19,6 +19,9 @@ msgid "" "Menu links with lower weights are displayed before links with higher weights." msgstr "Mitä pienempi luku, sitä ylempänä järjestyksessä." +msgid "No media available." +msgstr "Mediatiedostoja ei ole saatavilla." + msgid "j.n.Y" msgstr "j.n.Y" From 8d64e471cca3cefd0e9c5651bf4c5290149f4c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Kalij=C3=A4rvi?= Date: Mon, 25 Mar 2024 11:24:17 +0200 Subject: [PATCH 2/4] UHF-9088: Fixed some translations. --- .../config/install/views.view.locked_services.yml | 6 +++--- .../optional/language/fi/views.view.locked_services.yml | 2 +- translations/override/fi.po | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/helfi_tpr_config/config/install/views.view.locked_services.yml b/modules/helfi_tpr_config/config/install/views.view.locked_services.yml index 46e39edea..a11fe1632 100644 --- a/modules/helfi_tpr_config/config/install/views.view.locked_services.yml +++ b/modules/helfi_tpr_config/config/install/views.view.locked_services.yml @@ -388,10 +388,10 @@ display: last: 'Last »' expose: items_per_page: false - items_per_page_label: 'Merkintöjä sivua kohti' + items_per_page_label: 'Items per page' items_per_page_options: '5, 10, 25, 50' items_per_page_options_all: false - items_per_page_options_all_label: '- Kaikki -' + items_per_page_options_all_label: '- All -' offset: false offset_label: Offset quantity: 9 @@ -400,7 +400,7 @@ display: options: submit_button: Filter reset_button: false - reset_button_label: Palauta + reset_button_label: Reset exposed_sorts_label: Sort expose_sort_order: true sort_asc_label: Ascending diff --git a/modules/helfi_tpr_config/config/optional/language/fi/views.view.locked_services.yml b/modules/helfi_tpr_config/config/optional/language/fi/views.view.locked_services.yml index 4f320ee12..161d785b2 100644 --- a/modules/helfi_tpr_config/config/optional/language/fi/views.view.locked_services.yml +++ b/modules/helfi_tpr_config/config/optional/language/fi/views.view.locked_services.yml @@ -38,7 +38,7 @@ display: sort_desc_label: Laskeva empty: area_text_custom: - content: 'Lukittua sisältöä ei ole.' + content: 'Lukittuja palveluita ei ole.' filters: name: expose: diff --git a/translations/override/fi.po b/translations/override/fi.po index a7a99532b..4c3a45b95 100644 --- a/translations/override/fi.po +++ b/translations/override/fi.po @@ -19,6 +19,9 @@ msgid "" "Menu links with lower weights are displayed before links with higher weights." msgstr "Mitä pienempi luku, sitä ylempänä järjestyksessä." +msgid "Block" +msgstr "Lohko" + msgid "No media available." msgstr "Mediatiedostoja ei ole saatavilla." From 12df74579e01182bd7b18e27543f1aed0b1cc26f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Kalij=C3=A4rvi?= Date: Mon, 25 Mar 2024 11:37:06 +0200 Subject: [PATCH 3/4] UHF-9088: Added simple translations to fix the configuration translations in drupal instances. --- translations/override/fi.po | 6 ++++++ translations/override/sv.po | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/translations/override/fi.po b/translations/override/fi.po index 4c3a45b95..256ab3eb1 100644 --- a/translations/override/fi.po +++ b/translations/override/fi.po @@ -40,6 +40,9 @@ msgstr "Etusivu" msgid "Minimal" msgstr "Minimaalinen" +msgid "No" +msgstr "Ei" + msgid "" "Short description of the image used by screen readers and " "displayed when the image is not loaded. This is important for accessibility." @@ -66,6 +69,9 @@ msgstr "Korvauskuvio" msgid "User" msgstr "Käyttäjä" +msgid "Yes" +msgstr "Kyllä" + # Content lock msgid "Break Lock for content @label" msgstr "Vahvista lukituksen poisto sivulta @label" diff --git a/translations/override/sv.po b/translations/override/sv.po index 94195a263..058ef3383 100644 --- a/translations/override/sv.po +++ b/translations/override/sv.po @@ -14,6 +14,13 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +# Drupal +msgid "Front page" +msgstr "Huvudsida" + +msgid "No" +msgstr "Nej" + msgctxt "PHP date format" msgid "D, m/d/Y - H:i" msgstr "j. F Y" @@ -26,8 +33,8 @@ msgctxt "PHP date format" msgid "l, F j, Y - H:i" msgstr "j.n.Y - H:i" -msgid "Front page" -msgstr "Framsida" +msgid "Yes" +msgstr "Ja" # Content lock msgid "Unlock" From 6c73ad166c629248ae3e15d5a97a8346409243cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Kalij=C3=A4rvi?= Date: Mon, 25 Mar 2024 11:52:11 +0200 Subject: [PATCH 4/4] UHF-9088: Added an update hook for helfi TPR config. --- modules/helfi_tpr_config/helfi_tpr_config.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/helfi_tpr_config/helfi_tpr_config.install b/modules/helfi_tpr_config/helfi_tpr_config.install index fec77541e..6daae0f03 100644 --- a/modules/helfi_tpr_config/helfi_tpr_config.install +++ b/modules/helfi_tpr_config/helfi_tpr_config.install @@ -383,7 +383,7 @@ function helfi_tpr_config_update_9052() : void { /** * UHF-9088: Updated configuration translations. */ -function helfi_tpr_config_update_9060(): void { +function helfi_tpr_config_update_9061(): void { // Re-import 'helfi_tpr_config' configuration. \Drupal::service('helfi_platform_config.config_update_helper') ->update('helfi_tpr_config');