Skip to content

Commit

Permalink
Merge pull request #894 from City-of-Helsinki/UHF-11363
Browse files Browse the repository at this point in the history
UHF-11363: Configuration translations
  • Loading branch information
khalima authored Jan 28, 2025
2 parents a542544 + 52ab6cb commit 45bcca1
Show file tree
Hide file tree
Showing 40 changed files with 149 additions and 138 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ display:
pager:
options:
tags:
next: 'Seuraava'
previous: 'Edellinen'
first: '« Ensimmäinen'
last: 'Viimeinen »'
next: Seuraava
previous: Edellinen
first: Ensimmäinen
last: Viimeinen
exposed_form:
options:
submit_button: Suodata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ display:
pager:
options:
tags:
next: 'Nästa'
previous: 'Föregående'
first: '« Första'
last: 'Sista »'
next: Nästa
previous: Föregående
first: Första
last: Sista
exposed_form:
options:
submit_button: Filtrera
Expand Down
15 changes: 4 additions & 11 deletions modules/hdbt_admin_tools/config/rewrite/views.view.content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@ display:
pagination_heading_level: h4
items_per_page: 50
tags:
next: 'Next'
previous: 'Previous'
first: '« First'
last: 'Last »'
next: Next
previous: Previous
first: First
last: Last
exposed_form:
type: basic
options:
Expand Down Expand Up @@ -375,8 +375,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
Expand Down Expand Up @@ -417,8 +415,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
Expand Down Expand Up @@ -511,9 +507,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
admin: '0'
content_producer: '0'
reduce: true
is_grouped: false
group_info:
Expand Down
4 changes: 2 additions & 2 deletions modules/hdbt_admin_tools/hdbt_admin_tools.install
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ function hdbt_admin_tools_update_9005(): void {
}

/**
* UHF-11222: Fix issue with publish state translation on content listing view.
* UHF-11363: Updated pager labels in views.
*/
function hdbt_admin_tools_update_9007(): void {
function hdbt_admin_tools_update_9008(): void {
// Re-import 'hdbt_admin_tools' configuration.
\Drupal::service('helfi_platform_config.config_update_helper')
->update('hdbt_admin_tools');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ display:
total_pages: null
id: 0
tags:
next: 'next ›'
previous: '‹ previous'
first: '« first'
last: 'last »'
next: Next
previous: Previous
first: First
last: Last
expose:
items_per_page: false
items_per_page_label: 'Items per page'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ display:
items_per_page_label: 'Merkintöjä sivua kohti'
items_per_page_options_all_label: '- Kaikki -'
tags:
previous: '‹ edellinen'
next: 'seuraava ›'
first: '« ensimmäinen'
last: 'viimeinen »'
previous: Edellinen
next: Seuraava
first: Ensimmäinen
last: Viimeinen
fields:
redirect_bulk_form:
action_title: Valinnalla
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ display:
pager:
options:
tags:
previous: 'Edellinen'
next: 'Seuraava'
first: '« Ensimmäinen'
last: 'Viimeinen »'
previous: Edellinen
next: Seuraava
first: Ensimmäinen
last: Viimeinen
expose:
items_per_page_label: 'Merkintöjä sivua kohti'
items_per_page_options_all_label: '- Kaikki -'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ display:
langcode:
expose:
label: Kieli
pager:
options:
tags:
previous: Edellinen
next: Seuraava
first: Ensimmäinen
last: Viimeinen
title: 'Ajastettu sisältö'
empty:
area_text_custom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ display:
items_per_page_label: 'Poster per sida'
items_per_page_options_all_label: '- Alla -'
tags:
previous: '‹ föregående'
next: 'nästa ›'
first: '« första'
last: 'sista »'
previous: Föregående
next: Nästa
first: Första
last: Sista
fields:
redirect_bulk_form:
action_title: Med valda
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ display:
pager:
options:
tags:
first: '« Första'
last: 'Sista »'
previous: Föregående
next: Nästa
first: Första
last: Sista
expose:
items_per_page_label: 'Inlägg per sida'
items_per_page_options_all_label: '- Alla -'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ display:
pager:
options:
tags:
previous: '‹ föregående'
next: 'nästa ›'
first: '« första'
last: 'sista »'
previous: Föregående
next: Nästa
first: Första
last: Sista
title: 'Schemalagt innehåll'
empty:
area_text_custom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ display:
title: Unpublished
operator: '='
value: '0'
pager:
options:
tags:
next: Next
previous: Previous
first: First
last: Last
Original file line number Diff line number Diff line change
Expand Up @@ -531,10 +531,10 @@ display:
total_pages: null
id: 0
tags:
next: 'next ›'
previous: '‹ previous'
first: '« first'
last: 'last »'
next: Next
previous: Previous
first: First
last: Last
exposed_form:
type: basic
options:
Expand Down
4 changes: 2 additions & 2 deletions modules/helfi_base_content/helfi_base_content.install
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@ function helfi_base_content_update_9013(): void {
}

/**
* UHF-11222: Fix issue with publish state translation on listing views.
* UHF-11363: Updated pager labels in views.
*/
function helfi_base_content_update_9018(): void {
function helfi_base_content_update_9019(): void {
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_base_content');
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ display:
pager:
options:
tags:
next: 'Seuraava'
previous: 'Edellinen'
first: '« Ensimmäinen'
last: 'Viimeinen »'
next: Seuraava
previous: Edellinen
first: Ensimmäinen
last: Viimeinen
expose:
items_per_page_label: 'Merkintöjä sivua kohti'
items_per_page_options_all_label: '- Kaikki -'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ display:
pager:
options:
tags:
next: 'Seuraava'
previous: 'Edellinen'
next: Seuraava
previous: Edellinen
expose:
items_per_page_label: 'Merkintöjä sivua kohti'
items_per_page_options_all_label: '- Kaikki -'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ display:
pager:
options:
tags:
next: 'Nästa'
previous: 'Föregående'
first: '« Första'
last: 'Sista »'
next: Nästa
previous: Föregående
first: Första
last: Sista
expose:
items_per_page_label: 'Inlägg per sida'
items_per_page_options_all_label: '- Alla -'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ display:
action_title: Åtgärd
pager:
options:
tags:
next: Nästa
previous: Föregående
expose:
items_per_page_label: 'Inlägg per sida'
items_per_page_options_all_label: '- Alla -'
offset_label: Kompensera
tags: { }
exposed_form:
options:
submit_button: 'Tillämpa filter'
Expand Down
12 changes: 6 additions & 6 deletions modules/helfi_media/config/rewrite/views.view.media_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ display:
total_pages: null
id: 0
tags:
next: ››
previous: ‹‹
next: Next
previous: Previous
expose:
items_per_page: false
items_per_page_label: 'Items per page'
Expand Down Expand Up @@ -1081,10 +1081,10 @@ display:
total_pages: null
id: 0
tags:
next: ››
previous: ‹‹
first: '« First'
last: 'Last »'
next: Next
previous: Previous
first: First
last: Last
expose:
items_per_page: false
items_per_page_label: 'Items per page'
Expand Down
4 changes: 2 additions & 2 deletions modules/helfi_media/helfi_media.install
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ function helfi_media_update_9013(): void {
}

/**
* UHF-11222: Fix issue with publish state translation on listing views.
* UHF-11363: Updated pager labels in views.
*/
function helfi_media_update_9018(): void {
function helfi_media_update_9019(): void {
// Re-import 'helfi_media' configuration.
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_media');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ display:
total_pages: null
id: 0
tags:
next: ››
previous: ‹‹
next: Next
previous: Previous
expose:
items_per_page: false
items_per_page_label: 'Items per page'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,10 @@ display:
total_pages: null
id: 0
tags:
next: 'Next'
previous: 'Previous'
first: '« First'
last: 'Last »'
next: Next
previous: Previous
first: First
last: Last
expose:
items_per_page: false
items_per_page_label: 'Items per page'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,10 @@ display:
total_pages: null
id: 0
tags:
next: 'Next'
previous: 'Previous'
first: '« First'
last: 'Last »'
next: Next
previous: Previous
first: First
last: Last
expose:
items_per_page: false
items_per_page_label: 'Items per page'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ display:
pager:
options:
tags:
next: 'Seuraava'
previous: 'Edellinen'
next: Seuraava
previous: Edellinen
expose:
items_per_page_label: 'Merkintöjä sivua kohti'
items_per_page_options_all_label: '- Kaikki -'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ display:
pager:
options:
tags:
next: 'Seuraava'
previous: 'Edellinen'
first: '« Ensimmäinen'
last: 'Viimeinen »'
next: Seuraava
previous: Edellinen
first: Ensimmäinen
last: Viimeinen
expose:
offset_label: Offset
items_per_page_label: 'Merkintöjä sivua kohti'
Expand Down
Loading

0 comments on commit 45bcca1

Please sign in to comment.