Skip to content

Commit

Permalink
Merge pull request #792 from City-of-Helsinki/UHF-X_unit_services_tit…
Browse files Browse the repository at this point in the history
…le_translation

UHF-X: Modified the unit services component title to be translated with a context and added a translation
  • Loading branch information
teroelonen authored Oct 11, 2023
2 parents c04c520 + 76811c6 commit c3ae959
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/views/views-view--unit-services.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
'component--service-list',
'component--hardcoded',
],
component_title: 'Services'|trans
component_title: 'Services'|t({}, {'context': 'Unit services title'})
}
%}
{% block component_content %}
Expand Down
4 changes: 4 additions & 0 deletions translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,10 @@ msgctxt "React search"
msgid "An error occured while loading the content. Please reload page."
msgstr "Sisällön lataamisessa tapahtui virhe. Kokeile ladata sivu uudelleen."

msgctxt "Unit services title"
msgid "Services"
msgstr "Palvelut"

msgctxt "TPR unit contact information show accessibility information link"
msgid "Show accessibility information"
msgstr "Näytä esteettömyystiedot"
Expand Down
4 changes: 4 additions & 0 deletions translations/sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,10 @@ msgctxt "React search"
msgid "An error occured while loading the content. Please reload page."
msgstr "Ett fel uppstod vid hämtning av innehållet. Vänligen ladda om sidan."

msgctxt "Unit services title"
msgid "Services"
msgstr "Tjänster"

msgctxt "TPR unit contact information show accessibility information link"
msgid "Show accessibility information"
msgstr "Visa tillgänglighetsuppgifter"
Expand Down

0 comments on commit c3ae959

Please sign in to comment.