From 5f438e86231ac23a0058ef646c43801cc1b3794a Mon Sep 17 00:00:00 2001 From: Tero Elonen Date: Tue, 9 Jan 2024 17:35:38 +0200 Subject: [PATCH] UHF-9067: Add changes to daycare, high school, vocational school, playground and after school activity search result labels --- ...ew--after-school-activity-search.html.twig | 7 ++-- .../views-view--daycare-search.html.twig | 7 ++-- .../views-view--high-school-search.html.twig | 11 +++---- .../views-view--playground-search.html.twig | 7 ++-- ...s-view--vocational-school-search.html.twig | 7 ++-- .../custom/hdbt_subtheme/translations/fi.po | 32 +++++++++---------- .../custom/hdbt_subtheme/translations/sv.po | 32 +++++++++---------- 7 files changed, 49 insertions(+), 54 deletions(-) diff --git a/public/themes/custom/hdbt_subtheme/templates/views/views-view--after-school-activity-search.html.twig b/public/themes/custom/hdbt_subtheme/templates/views/views-view--after-school-activity-search.html.twig index 6e446c3c..7e7ef088 100644 --- a/public/themes/custom/hdbt_subtheme/templates/views/views-view--after-school-activity-search.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/views/views-view--after-school-activity-search.html.twig @@ -50,10 +50,9 @@
{% if total_rows %} - - {{ total_rows }} - {% trans with {'context': 'After-school activity search count'}%}location{% plural total_rows %}locations{% endtrans %} - +

+ {{ total_rows }} {% trans with {'context': 'After-school activity search count'}%}activity location{% plural total_rows %}activity locations{% endtrans %} +

{% endif %} {% if header %} diff --git a/public/themes/custom/hdbt_subtheme/templates/views/views-view--daycare-search.html.twig b/public/themes/custom/hdbt_subtheme/templates/views/views-view--daycare-search.html.twig index 611d9f9d..6e9e1e6c 100644 --- a/public/themes/custom/hdbt_subtheme/templates/views/views-view--daycare-search.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/views/views-view--daycare-search.html.twig @@ -49,10 +49,9 @@ {{ attachment_before }}
- - {{ total_rows }} - {% trans with {'context': 'Daycare search count'}%}location{% plural total_rows %}locations{% endtrans %} - +

+ {{ total_rows }} {% trans with {'context': 'Daycare search count'}%}daycare centre{% plural total_rows %}daycare centres{% endtrans %} +

{% if header %} {{ header }} diff --git a/public/themes/custom/hdbt_subtheme/templates/views/views-view--high-school-search.html.twig b/public/themes/custom/hdbt_subtheme/templates/views/views-view--high-school-search.html.twig index ff6b2a14..00851af6 100644 --- a/public/themes/custom/hdbt_subtheme/templates/views/views-view--high-school-search.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/views/views-view--high-school-search.html.twig @@ -60,10 +60,9 @@
- - {{ total_rows }} - {% trans with {'context': 'High school search count'}%}general upper secondary school{% plural total_rows %}general upper secondary schools{% endtrans %} - +

+ {{ total_rows }} {% trans with {'context': 'High school search count'}%}general upper secondary school{% plural total_rows %}general upper secondary schools{% endtrans %} +

{% if total_rows %} - - {{ total_rows }} - {% trans with {'context': 'Playground search count'}%}location{% plural total_rows %}locations{% endtrans %} - +

+ {{ total_rows }} {% trans with {'context': 'Playground search count'}%}playground or family house{% plural total_rows %}playgrounds or family houses{% endtrans %} +

{% endif %} {% if header %} diff --git a/public/themes/custom/hdbt_subtheme/templates/views/views-view--vocational-school-search.html.twig b/public/themes/custom/hdbt_subtheme/templates/views/views-view--vocational-school-search.html.twig index 043de525..13ebe14c 100644 --- a/public/themes/custom/hdbt_subtheme/templates/views/views-view--vocational-school-search.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/views/views-view--vocational-school-search.html.twig @@ -54,10 +54,9 @@ {{ attachment_before }}
- - {{ total_rows }} - {% trans with {'context': 'Vocational school search count'}%}unit{% plural total_rows %}units{% endtrans %} - +

+ {{ total_rows }} {% trans with {'context': 'Vocational school search count'}%}unit{% plural total_rows %}units{% endtrans %} +

{{ rows }} diff --git a/public/themes/custom/hdbt_subtheme/translations/fi.po b/public/themes/custom/hdbt_subtheme/translations/fi.po index d74f783a..6603a01b 100644 --- a/public/themes/custom/hdbt_subtheme/translations/fi.po +++ b/public/themes/custom/hdbt_subtheme/translations/fi.po @@ -23,32 +23,32 @@ msgid_plural "units" msgstr[0] "toimipaikka" msgstr[1] "toimipaikkaa" -msgid "Show results on a map" -msgstr "Näytä tulokset kartalla" +msgid "View in a map" +msgstr "Näytä kartalla" -msgid "Show results as a list" -msgstr "Näytä tulokset listana" +msgid "View as a list" +msgstr "Näytä listana" msgid "Open large version of the map" msgstr "Avaa suurempi versio kartasta" msgctxt "Daycare search count" -msgid "location" -msgid_plural "locations" -msgstr[0] "toimipaikka" -msgstr[1] "toimipaikkaa" +msgid "daycare centre" +msgid_plural "daycare centres" +msgstr[0] "päiväkoti" +msgstr[1] "päiväkotia" msgctxt "After-school activity search count" -msgid "location" -msgid_plural "locations" -msgstr[0] "toimipaikka" -msgstr[1] "toimipaikkaa" +msgid "activity location" +msgid_plural "activity locations" +msgstr[0] "toimintapaikka" +msgstr[1] "toimintapaikkaa" msgctxt "Playground search count" -msgid "location" -msgid_plural "locations" -msgstr[0] "toimipaikka" -msgstr[1] "toimipaikkaa" +msgid "playground or family house" +msgid_plural "playgrounds or family houses" +msgstr[0] "leikkipuisto tai perhetalo" +msgstr[1] "leikkipuistoa tai perhetaloa" msgctxt "Group news archive link" msgid "All news" diff --git a/public/themes/custom/hdbt_subtheme/translations/sv.po b/public/themes/custom/hdbt_subtheme/translations/sv.po index da28ccc6..7c6941e0 100644 --- a/public/themes/custom/hdbt_subtheme/translations/sv.po +++ b/public/themes/custom/hdbt_subtheme/translations/sv.po @@ -14,32 +14,32 @@ msgid_plural "units" msgstr[0] "enhet" msgstr[1] "enheter" -msgid "Show results on a map" -msgstr "Visa resultat på en karta" +msgid "View in a map" +msgstr "Visa på kartan" -msgid "Show results as a list" -msgstr "Visa resultat på en lista" +msgid "View as a list" +msgstr "Visa som lista" msgid "Open large version of the map" msgstr "Öppna den stora versionen av kartan" msgctxt "Daycare search count" -msgid "location" -msgid_plural "locations" -msgstr[0] "enhet" -msgstr[1] "enheter" +msgid "daycare centre" +msgid_plural "daycare centres" +msgstr[0] "daghem" +msgstr[1] "daghem" msgctxt "After-school activity search count" -msgid "location" -msgid_plural "locations" -msgstr[0] "enhet" -msgstr[1] "enheter" +msgid "activity location" +msgid_plural "activity locations" +msgstr[0] "verksamhetsställe" +msgstr[1] "verksamhetsställen" msgctxt "Playground search count" -msgid "location" -msgid_plural "locations" -msgstr[0] "enhet" -msgstr[1] "enheter" +msgid "playground or family house" +msgid_plural "playgrounds or family houses" +msgstr[0] "lekpark eller familjehus" +msgstr[1] "lekparker eller familjehus" msgctxt "Group news archive link" msgid "All news"