From fe2fffc48da59939750d393cce7b80c28718078c Mon Sep 17 00:00:00 2001 From: JC Franco Date: Fri, 30 Jun 2023 10:35:34 -0700 Subject: [PATCH] refactor: use more common syntax for message placeholders (#6948) **Related Issue:** N/A ## Summary Using the more common `{placeholder}` syntax should help minimize confusion with string interpolation in template literals. --- .../conventions/Internationalization.md | 3 +++ .../src/components/rating/assets/rating/t9n/messages.json | 2 +- .../components/rating/assets/rating/t9n/messages_ar.json | 2 +- .../components/rating/assets/rating/t9n/messages_bg.json | 2 +- .../components/rating/assets/rating/t9n/messages_bs.json | 2 +- .../components/rating/assets/rating/t9n/messages_ca.json | 2 +- .../components/rating/assets/rating/t9n/messages_cs.json | 2 +- .../components/rating/assets/rating/t9n/messages_da.json | 2 +- .../components/rating/assets/rating/t9n/messages_de.json | 2 +- .../components/rating/assets/rating/t9n/messages_el.json | 2 +- .../components/rating/assets/rating/t9n/messages_en.json | 2 +- .../components/rating/assets/rating/t9n/messages_es.json | 2 +- .../components/rating/assets/rating/t9n/messages_et.json | 2 +- .../components/rating/assets/rating/t9n/messages_fi.json | 2 +- .../components/rating/assets/rating/t9n/messages_fr.json | 2 +- .../components/rating/assets/rating/t9n/messages_he.json | 2 +- .../components/rating/assets/rating/t9n/messages_hr.json | 2 +- .../components/rating/assets/rating/t9n/messages_hu.json | 2 +- .../components/rating/assets/rating/t9n/messages_id.json | 2 +- .../components/rating/assets/rating/t9n/messages_it.json | 2 +- .../components/rating/assets/rating/t9n/messages_ja.json | 2 +- .../components/rating/assets/rating/t9n/messages_ko.json | 2 +- .../components/rating/assets/rating/t9n/messages_lt.json | 2 +- .../components/rating/assets/rating/t9n/messages_lv.json | 2 +- .../components/rating/assets/rating/t9n/messages_nl.json | 2 +- .../components/rating/assets/rating/t9n/messages_no.json | 2 +- .../components/rating/assets/rating/t9n/messages_pl.json | 2 +- .../rating/assets/rating/t9n/messages_pt-BR.json | 2 +- .../rating/assets/rating/t9n/messages_pt-PT.json | 2 +- .../components/rating/assets/rating/t9n/messages_ro.json | 2 +- .../components/rating/assets/rating/t9n/messages_ru.json | 2 +- .../components/rating/assets/rating/t9n/messages_sk.json | 2 +- .../components/rating/assets/rating/t9n/messages_sl.json | 2 +- .../components/rating/assets/rating/t9n/messages_sr.json | 2 +- .../components/rating/assets/rating/t9n/messages_sv.json | 2 +- .../components/rating/assets/rating/t9n/messages_th.json | 2 +- .../components/rating/assets/rating/t9n/messages_tr.json | 2 +- .../components/rating/assets/rating/t9n/messages_uk.json | 2 +- .../components/rating/assets/rating/t9n/messages_vi.json | 2 +- .../rating/assets/rating/t9n/messages_zh-CN.json | 2 +- .../rating/assets/rating/t9n/messages_zh-HK.json | 2 +- .../rating/assets/rating/t9n/messages_zh-TW.json | 2 +- .../calcite-components/src/components/rating/rating.tsx | 2 +- .../text-area/assets/text-area/t9n/messages.json | 2 +- .../text-area/assets/text-area/t9n/messages_en.json | 2 +- .../value-list/assets/value-list/t9n/messages.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_ar.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_bg.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_bs.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_ca.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_cs.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_da.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_de.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_el.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_en.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_es.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_et.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_fi.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_fr.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_he.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_hr.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_hu.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_id.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_it.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_ja.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_ko.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_lt.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_lv.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_nl.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_no.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_pl.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_pt-BR.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_pt-PT.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_ro.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_ru.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_sk.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_sl.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_sr.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_sv.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_th.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_tr.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_uk.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_vi.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_zh-CN.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_zh-HK.json | 8 ++++---- .../value-list/assets/value-list/t9n/messages_zh-TW.json | 8 ++++---- .../calcite-components/src/components/value-list/utils.ts | 6 +++--- 87 files changed, 214 insertions(+), 211 deletions(-) diff --git a/packages/calcite-components/conventions/Internationalization.md b/packages/calcite-components/conventions/Internationalization.md index e173569598a..daa1bf49bbb 100644 --- a/packages/calcite-components/conventions/Internationalization.md +++ b/packages/calcite-components/conventions/Internationalization.md @@ -56,6 +56,9 @@ This pattern enables components to support built-in translations. In order to su - You can also look at the interface and util documentation for additional info. - The internal `messages` property should be used as the source of truth for translations in rendering. - List of supported locales can be found on our [Localization support page](https://developers.arcgis.com/calcite-design-system/localization/#locale-support). +- Placeholders in message bundle strings should: + - Use the following syntax: `{placeholder}` (e.g., `Hello {userName}, my old friend. 👋`). + - Have an expressive name to provide context regarding its use. ## Translated strings diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages.json index 395a5f2f02a..f2fe4f7dade 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages.json @@ -1,4 +1,4 @@ { "rating": "Rating", - "stars": "Stars: ${num}" + "stars": "Stars: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ar.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ar.json index e14bf9a4a44..98968dc66f3 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ar.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ar.json @@ -1,4 +1,4 @@ { "rating": "التقييم", - "stars": "النجوم: ${num}" + "stars": "النجوم: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_bg.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_bg.json index a58f2400058..6221712eb18 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_bg.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_bg.json @@ -1,4 +1,4 @@ { "rating": "Оценка", - "stars": "Звезди: ${num}" + "stars": "Звезди: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_bs.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_bs.json index 7f07f71c699..5e96ee6933a 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_bs.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_bs.json @@ -1,4 +1,4 @@ { "rating": "Ocjena", - "stars": "Zvjezdice: ${num}" + "stars": "Zvjezdice: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ca.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ca.json index a8a0eedcf90..484e00e1210 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ca.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ca.json @@ -1,4 +1,4 @@ { "rating": "Qualificació", - "stars": "Estrelles: ${num}" + "stars": "Estrelles: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_cs.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_cs.json index ca2f8051919..4ccd500b663 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_cs.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_cs.json @@ -1,4 +1,4 @@ { "rating": "Hodnocení", - "stars": "Počet hvězdiček: ${num}" + "stars": "Počet hvězdiček: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_da.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_da.json index dff58176149..b675e7cd914 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_da.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_da.json @@ -1,4 +1,4 @@ { "rating": "Vurdering", - "stars": "Stjerner: ${num}" + "stars": "Stjerner: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_de.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_de.json index 3e423d15362..38462068b82 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_de.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_de.json @@ -1,4 +1,4 @@ { "rating": "Bewertung", - "stars": "Sterne: ${num}" + "stars": "Sterne: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_el.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_el.json index 80e8dc81ff7..4ea9fc4b211 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_el.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_el.json @@ -1,4 +1,4 @@ { "rating": "Αξιολόγηση", - "stars": "Αστέρια: ${num}" + "stars": "Αστέρια: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_en.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_en.json index 395a5f2f02a..f2fe4f7dade 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_en.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_en.json @@ -1,4 +1,4 @@ { "rating": "Rating", - "stars": "Stars: ${num}" + "stars": "Stars: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_es.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_es.json index 8e2d31ddadb..a4588030625 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_es.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_es.json @@ -1,4 +1,4 @@ { "rating": "Calificación", - "stars": "Estrellas: ${num}" + "stars": "Estrellas: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_et.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_et.json index e46d63cda99..ab50b490756 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_et.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_et.json @@ -1,4 +1,4 @@ { "rating": "Hinnang", - "stars": "Tärne: ${num}" + "stars": "Tärne: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_fi.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_fi.json index 51335af7baa..d1ea2997582 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_fi.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_fi.json @@ -1,4 +1,4 @@ { "rating": "Arviointi", - "stars": "Tähdet: ${num}" + "stars": "Tähdet: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_fr.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_fr.json index 023c046ecbb..c4077a2b413 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_fr.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_fr.json @@ -1,4 +1,4 @@ { "rating": "Évaluation", - "stars": "Étoiles : ${num}" + "stars": "Étoiles : {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_he.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_he.json index 52bb69426cf..ae43201f15b 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_he.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_he.json @@ -1,4 +1,4 @@ { "rating": "דירוג", - "stars": "כוכבים: ${num}" + "stars": "כוכבים: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_hr.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_hr.json index 7f07f71c699..5e96ee6933a 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_hr.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_hr.json @@ -1,4 +1,4 @@ { "rating": "Ocjena", - "stars": "Zvjezdice: ${num}" + "stars": "Zvjezdice: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_hu.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_hu.json index 8158c043776..7accca20931 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_hu.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_hu.json @@ -1,4 +1,4 @@ { "rating": "Értékelés", - "stars": "Csillagok: ${num}" + "stars": "Csillagok: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_id.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_id.json index 92406dfdf11..22a2c842d5e 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_id.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_id.json @@ -1,4 +1,4 @@ { "rating": "Peringkat", - "stars": "Bintang: ${num}" + "stars": "Bintang: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_it.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_it.json index 0cc35d50c7d..4dfb44f54eb 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_it.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_it.json @@ -1,4 +1,4 @@ { "rating": "Valutazione", - "stars": "Stelle: ${num}" + "stars": "Stelle: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ja.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ja.json index 0d361932b61..3618be20a39 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ja.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ja.json @@ -1,4 +1,4 @@ { "rating": "評価", - "stars": "星: ${num}" + "stars": "星: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ko.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ko.json index 6ff46e28a5c..2f3a99f4f57 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ko.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ko.json @@ -1,4 +1,4 @@ { "rating": "평점", - "stars": "별: ${num}개" + "stars": "별: {num}개" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_lt.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_lt.json index e409d465bab..825ee75b69f 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_lt.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_lt.json @@ -1,4 +1,4 @@ { "rating": "Vertinimas", - "stars": "Žvaigždutės ${num}" + "stars": "Žvaigždutės {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_lv.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_lv.json index 3f5d365d500..98185041a9f 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_lv.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_lv.json @@ -1,4 +1,4 @@ { "rating": "Novērtējums", - "stars": "Zvaigznes: ${num}" + "stars": "Zvaigznes: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_nl.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_nl.json index e2b6b034b43..71924164068 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_nl.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_nl.json @@ -1,4 +1,4 @@ { "rating": "Beoordeling", - "stars": "Sterren: ${num}" + "stars": "Sterren: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_no.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_no.json index dff58176149..b675e7cd914 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_no.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_no.json @@ -1,4 +1,4 @@ { "rating": "Vurdering", - "stars": "Stjerner: ${num}" + "stars": "Stjerner: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pl.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pl.json index 98a0fad35ba..3927f2348fe 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pl.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pl.json @@ -1,4 +1,4 @@ { "rating": "Ocena", - "stars": "Gwiazdki: ${num}" + "stars": "Gwiazdki: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pt-BR.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pt-BR.json index 66552411ecd..2d551df657b 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pt-BR.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pt-BR.json @@ -1,4 +1,4 @@ { "rating": "Classificação", - "stars": "Estrelas: ${num}" + "stars": "Estrelas: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pt-PT.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pt-PT.json index 46337c5aa06..796842b5ff0 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pt-PT.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_pt-PT.json @@ -1,4 +1,4 @@ { "rating": "Avaliação", - "stars": "Estrelas: ${num}" + "stars": "Estrelas: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ro.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ro.json index 72c92bddd7e..192eb040495 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ro.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ro.json @@ -1,4 +1,4 @@ { "rating": "Calificativ", - "stars": "Stele: ${num}" + "stars": "Stele: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ru.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ru.json index 5c93c3992eb..1ed93b68420 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ru.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_ru.json @@ -1,4 +1,4 @@ { "rating": "Рейтинг", - "stars": "Звезды: ${num}" + "stars": "Звезды: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sk.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sk.json index ffd00406e9a..3ed4e1e1c4b 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sk.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sk.json @@ -1,4 +1,4 @@ { "rating": "Hodnotenie", - "stars": "Hviezdičky: ${num}" + "stars": "Hviezdičky: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sl.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sl.json index 3be141f5c61..5762f248934 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sl.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sl.json @@ -1,4 +1,4 @@ { "rating": "Ocena", - "stars": "Zvezde: ${num}" + "stars": "Zvezde: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sr.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sr.json index dd2faa922d8..632c9d0b0ae 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sr.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sr.json @@ -1,4 +1,4 @@ { "rating": "Ocena", - "stars": "Zvezdice: ${num}" + "stars": "Zvezdice: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sv.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sv.json index ec6caec5344..822afd3bf9d 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sv.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_sv.json @@ -1,4 +1,4 @@ { "rating": "Bedömning", - "stars": "Stjärnor: ${num}" + "stars": "Stjärnor: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_th.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_th.json index eb2b08239a3..7edb3c9a288 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_th.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_th.json @@ -1,4 +1,4 @@ { "rating": "อันดับ", - "stars": "ดาว: ${num}" + "stars": "ดาว: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_tr.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_tr.json index ed79d85ce32..bbb47d63d5b 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_tr.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_tr.json @@ -1,4 +1,4 @@ { "rating": "Derecelendirme", - "stars": "Yıldız: ${num}" + "stars": "Yıldız: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_uk.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_uk.json index 2bdd5b4b991..7a355771e10 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_uk.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_uk.json @@ -1,4 +1,4 @@ { "rating": "Рейтинг", - "stars": "Зірки: ${num}" + "stars": "Зірки: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_vi.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_vi.json index 3e3aac54919..6c596b285cf 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_vi.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_vi.json @@ -1,4 +1,4 @@ { "rating": "Xếp loại", - "stars": "Sao: ${num}" + "stars": "Sao: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-CN.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-CN.json index ef3c9d6ed2f..20bfa1c4beb 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-CN.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-CN.json @@ -1,4 +1,4 @@ { "rating": "评级", - "stars": "星:${num}" + "stars": "星:{num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-HK.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-HK.json index 1307bb76ca8..901af68a33e 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-HK.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-HK.json @@ -1,4 +1,4 @@ { "rating": "評級次數", - "stars": "星星: ${num}" + "stars": "星星: {num}" } diff --git a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-TW.json b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-TW.json index 1307bb76ca8..901af68a33e 100644 --- a/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-TW.json +++ b/packages/calcite-components/src/components/rating/assets/rating/t9n/messages_zh-TW.json @@ -1,4 +1,4 @@ { "rating": "評級次數", - "stars": "星星: ${num}" + "stars": "星星: {num}" } diff --git a/packages/calcite-components/src/components/rating/rating.tsx b/packages/calcite-components/src/components/rating/rating.tsx index f100fa59be3..5510f9f2bc1 100644 --- a/packages/calcite-components/src/components/rating/rating.tsx +++ b/packages/calcite-components/src/components/rating/rating.tsx @@ -311,7 +311,7 @@ export class Rating )} - {this.messages.stars.replace("${num}", `${value}`)} + {this.messages.stars.replace("{num}", `${value}`)} ); diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages.json index d68c6b60a70..ddaeea07d73 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages.json @@ -1,5 +1,5 @@ { "invalid": "Invalid", "tooLong": "Character limit exceeded", - "longText": "The current character length is ${currentLength}, which exceeds the maximum character length of ${maxLength}." + "longText": "The current character length is {currentLength}, which exceeds the maximum character length of {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_en.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_en.json index d68c6b60a70..ddaeea07d73 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_en.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_en.json @@ -1,5 +1,5 @@ { "invalid": "Invalid", "tooLong": "Character limit exceeded", - "longText": "The current character length is ${currentLength}, which exceeds the maximum character length of ${maxLength}." + "longText": "The current character length is {currentLength}, which exceeds the maximum character length of {maxLength}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages.json index 8bea27452bd..36d41196a8d 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Reordering ${itemLabel}, current position ${position} of ${total}.", - "dragHandleChange": "${itemLabel}, new position ${position} of ${total}. Press space to confirm.", - "dragHandleCommit": "${itemLabel}, current position ${position} of ${total}.", - "dragHandleIdle": "${itemLabel}, press space and use arrow keys to reorder content. Current position ${position} of ${total}." + "dragHandleActive": "Reordering {itemLabel}, current position {position} of {total}.", + "dragHandleChange": "{itemLabel}, new position {position} of {total}. Press space to confirm.", + "dragHandleCommit": "{itemLabel}, current position {position} of {total}.", + "dragHandleIdle": "{itemLabel}, press space and use arrow keys to reorder content. Current position {position} of {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ar.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ar.json index a4a52ee57e8..727dd279495 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ar.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ar.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "إعادة ترتيب ${itemLabel}، الموضع الحالي ${position} من ${total}.", - "dragHandleChange": "${itemLabel}، الموضع الجديد ${position} من ${total} اضغط على مفتاح المسافة للتأكيد.", - "dragHandleCommit": "${itemLabel}، الموضع الحالي ${position} من ${total}.", - "dragHandleIdle": "${itemLabel}، اضغط على مفتاح المسافة واستخدام مفاتيح الأسهم لإعادة ترتيب المحتوى. الموضع الحالي ${position} من ${total}." + "dragHandleActive": "إعادة ترتيب {itemLabel}، الموضع الحالي {position} من {total}.", + "dragHandleChange": "{itemLabel}، الموضع الجديد {position} من {total} اضغط على مفتاح المسافة للتأكيد.", + "dragHandleCommit": "{itemLabel}، الموضع الحالي {position} من {total}.", + "dragHandleIdle": "{itemLabel}، اضغط على مفتاح المسافة واستخدام مفاتيح الأسهم لإعادة ترتيب المحتوى. الموضع الحالي {position} من {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_bg.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_bg.json index 2cb328daadc..6c9d22a3801 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_bg.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_bg.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Пренареждане ${itemLabel}, текущата позиция е ${position} от ${total}.", - "dragHandleChange": "${itemLabel}, новата позиция е${position} от ${total}. Натиснете интервала за потвърждаване.", - "dragHandleCommit": "${itemLabel}, текущата позиция е ${position} от ${total}.", - "dragHandleIdle": "${itemLabel}, натиснете интервал и използвайте клавишите със стрелки, за да промените реда на съдържанието. Текущата позиция е ${position} от ${total}." + "dragHandleActive": "Пренареждане {itemLabel}, текущата позиция е {position} от {total}.", + "dragHandleChange": "{itemLabel}, новата позиция е{position} от {total}. Натиснете интервала за потвърждаване.", + "dragHandleCommit": "{itemLabel}, текущата позиция е {position} от {total}.", + "dragHandleIdle": "{itemLabel}, натиснете интервал и използвайте клавишите със стрелки, за да промените реда на съдържанието. Текущата позиция е {position} от {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_bs.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_bs.json index b6613907711..8f2de4df55f 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_bs.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_bs.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Promjena redoslijeda ${itemLabel}, trenutačni položaj ${position} od ${total}.", - "dragHandleChange": "${itemLabel}, novi položaj ${position} od ${total}. Pritisnite razmaknicu za potvrdu.", - "dragHandleCommit": "${itemLabel}, trenutačni položaj ${position} od ${total}.", - "dragHandleIdle": "${itemLabel}, pritisnite razmaknicu i upotrijebite tipke sa strelicama za promjenu redoslijeda sadržaja. Trenutačni položaj ${position} od ${total}." + "dragHandleActive": "Promjena redoslijeda {itemLabel}, trenutačni položaj {position} od {total}.", + "dragHandleChange": "{itemLabel}, novi položaj {position} od {total}. Pritisnite razmaknicu za potvrdu.", + "dragHandleCommit": "{itemLabel}, trenutačni položaj {position} od {total}.", + "dragHandleIdle": "{itemLabel}, pritisnite razmaknicu i upotrijebite tipke sa strelicama za promjenu redoslijeda sadržaja. Trenutačni položaj {position} od {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ca.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ca.json index f04c6f3d311..f081d6a49e2 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ca.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ca.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "S'està canviant l'ordre de ${itemLabel}, posició actual ${position} de ${total}.", - "dragHandleChange": "${itemLabel}, posició nova ${position} de ${total}. Premeu la tecla d'espai per confirmar-ho.", - "dragHandleCommit": "${itemLabel}, posició actual ${position} de ${total}.", - "dragHandleIdle": "${itemLabel}, premeu la tecla d'espai i feu servir les tecles de fletxa per canviar l'ordre del contingut. Posició actual ${position} de ${total}." + "dragHandleActive": "S'està canviant l'ordre de {itemLabel}, posició actual {position} de {total}.", + "dragHandleChange": "{itemLabel}, posició nova {position} de {total}. Premeu la tecla d'espai per confirmar-ho.", + "dragHandleCommit": "{itemLabel}, posició actual {position} de {total}.", + "dragHandleIdle": "{itemLabel}, premeu la tecla d'espai i feu servir les tecles de fletxa per canviar l'ordre del contingut. Posició actual {position} de {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_cs.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_cs.json index 42db73ef9c7..b20ccd8ab27 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_cs.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_cs.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Změna pořadí ${itemLabel}, aktuální pozice ${position} z ${total}.", - "dragHandleChange": "${itemLabel}, nová pozice ${position} z ${total}. Potvrďte stisknutím mezerníku.", - "dragHandleCommit": "${itemLabel}, aktuální pozice ${position} z ${total}.", - "dragHandleIdle": "${itemLabel}, stiskněte mezerník a pomocí šipek změňte pořadí obsahu. Aktuální pozice ${position} z ${total}." + "dragHandleActive": "Změna pořadí {itemLabel}, aktuální pozice {position} z {total}.", + "dragHandleChange": "{itemLabel}, nová pozice {position} z {total}. Potvrďte stisknutím mezerníku.", + "dragHandleCommit": "{itemLabel}, aktuální pozice {position} z {total}.", + "dragHandleIdle": "{itemLabel}, stiskněte mezerník a pomocí šipek změňte pořadí obsahu. Aktuální pozice {position} z {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_da.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_da.json index 8ccd4a7669c..cd3ca92b645 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_da.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_da.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Genbestiller ${itemLabel}, aktuel position ${position} for ${total}.", - "dragHandleChange": "${itemLabel}, ny position ${position} for ${total}. Tryk på mellemrumstasten for at bekræfte.", - "dragHandleCommit": "${itemLabel}, aktuel position ${position} for ${total}.", - "dragHandleIdle": "${itemLabel}, tryk på mellemrumstasten og brug piletasterne for at bestille indholdet igen. Aktuel position ${position} for ${total}." + "dragHandleActive": "Genbestiller {itemLabel}, aktuel position {position} for {total}.", + "dragHandleChange": "{itemLabel}, ny position {position} for {total}. Tryk på mellemrumstasten for at bekræfte.", + "dragHandleCommit": "{itemLabel}, aktuel position {position} for {total}.", + "dragHandleIdle": "{itemLabel}, tryk på mellemrumstasten og brug piletasterne for at bestille indholdet igen. Aktuel position {position} for {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_de.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_de.json index 27979fe10b2..601e7119b23 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_de.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_de.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "${itemLabel} wird neu angeordnet, aktuelle Position ${position} von ${total}.", - "dragHandleChange": "${itemLabel}, neue Position ${position} von ${total}. Drücken Sie zur Bestätigung die Leertaste.", - "dragHandleCommit": "${itemLabel}, aktuelle Position ${position} von ${total}.", - "dragHandleIdle": "${itemLabel}, drücken Sie die Leertaste und verwenden Sie die Pfeiltasten, um die Reihenfolge des Inhalts zu ändern. Aktuelle Position ${position} von ${total}." + "dragHandleActive": "{itemLabel} wird neu angeordnet, aktuelle Position {position} von {total}.", + "dragHandleChange": "{itemLabel}, neue Position {position} von {total}. Drücken Sie zur Bestätigung die Leertaste.", + "dragHandleCommit": "{itemLabel}, aktuelle Position {position} von {total}.", + "dragHandleIdle": "{itemLabel}, drücken Sie die Leertaste und verwenden Sie die Pfeiltasten, um die Reihenfolge des Inhalts zu ändern. Aktuelle Position {position} von {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_el.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_el.json index 66740ef4f37..ec1964ec10e 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_el.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_el.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Αναδιάταξη ${itemLabel}, τρέχουσα θέση ${position} του ${total}.", - "dragHandleChange": "${itemLabel}, νέα θέση ${position} του ${total}. Πατήστε space για επιβεβαίωση.", - "dragHandleCommit": "${itemLabel}, τρέχουσα θέση ${position} του ${total}.", - "dragHandleIdle": "${itemLabel}, πατήστε space και χρησιμοποιήστε τα βέλη για να αναδιατάξετε το περιεχόμενο. Τρέχουσα θέση ${position} του ${total}." + "dragHandleActive": "Αναδιάταξη {itemLabel}, τρέχουσα θέση {position} του {total}.", + "dragHandleChange": "{itemLabel}, νέα θέση {position} του {total}. Πατήστε space για επιβεβαίωση.", + "dragHandleCommit": "{itemLabel}, τρέχουσα θέση {position} του {total}.", + "dragHandleIdle": "{itemLabel}, πατήστε space και χρησιμοποιήστε τα βέλη για να αναδιατάξετε το περιεχόμενο. Τρέχουσα θέση {position} του {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_en.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_en.json index 8bea27452bd..36d41196a8d 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_en.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_en.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Reordering ${itemLabel}, current position ${position} of ${total}.", - "dragHandleChange": "${itemLabel}, new position ${position} of ${total}. Press space to confirm.", - "dragHandleCommit": "${itemLabel}, current position ${position} of ${total}.", - "dragHandleIdle": "${itemLabel}, press space and use arrow keys to reorder content. Current position ${position} of ${total}." + "dragHandleActive": "Reordering {itemLabel}, current position {position} of {total}.", + "dragHandleChange": "{itemLabel}, new position {position} of {total}. Press space to confirm.", + "dragHandleCommit": "{itemLabel}, current position {position} of {total}.", + "dragHandleIdle": "{itemLabel}, press space and use arrow keys to reorder content. Current position {position} of {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_es.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_es.json index 9dfb22d6e32..94961d950da 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_es.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_es.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Reordenamiento de ${itemLabel} , posición actual ${position} de ${total}.", - "dragHandleChange": "${itemLabel}, nueva posición ${position} de ${total}. Presione la barra espaciadora para confirmar.", - "dragHandleCommit": "${itemLabel}, posición actual ${position} de ${total}.", - "dragHandleIdle": "${itemLabel}, presione la barra espaciadora y utilice las teclas de flecha para reordenar el contenido. Posición actual ${position} de ${total}." + "dragHandleActive": "Reordenamiento de {itemLabel} , posición actual {position} de {total}.", + "dragHandleChange": "{itemLabel}, nueva posición {position} de {total}. Presione la barra espaciadora para confirmar.", + "dragHandleCommit": "{itemLabel}, posición actual {position} de {total}.", + "dragHandleIdle": "{itemLabel}, presione la barra espaciadora y utilice las teclas de flecha para reordenar el contenido. Posición actual {position} de {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_et.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_et.json index cd61a042857..c6b2a391938 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_et.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_et.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Üksuse ${itemLabel} ümberjärjestamine, praegune asukoht ${position}/${total}.", - "dragHandleChange": "${itemLabel}, uus asukoht ${position}/${total}. Kinnitamiseks vajutage tühikuklahvi.", - "dragHandleCommit": "${itemLabel}, praegune asukoht ${position}/${total}.", - "dragHandleIdle": "${itemLabel}, sisu ümberjärjestamiseks vajutage tühikuklahvi ja kasutage nooleklahve. Praegune asukoht ${position}/${total}." + "dragHandleActive": "Üksuse {itemLabel} ümberjärjestamine, praegune asukoht {position}/{total}.", + "dragHandleChange": "{itemLabel}, uus asukoht {position}/{total}. Kinnitamiseks vajutage tühikuklahvi.", + "dragHandleCommit": "{itemLabel}, praegune asukoht {position}/{total}.", + "dragHandleIdle": "{itemLabel}, sisu ümberjärjestamiseks vajutage tühikuklahvi ja kasutage nooleklahve. Praegune asukoht {position}/{total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_fi.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_fi.json index 8fe27e019fe..3030d0c5caa 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_fi.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_fi.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Järjestetään uudelleen kohdetta ${itemLabel}, nykyinen sijainti ${position}/${total}.", - "dragHandleChange": "${itemLabel}, uusi sijainti ${position}/${total}. Vahvista painamalla välilyöntinäppäintä.", - "dragHandleCommit": "${itemLabel}, nykyinen sijainti ${position}/${total}.", - "dragHandleIdle": "${itemLabel}, paina välilyöntinäppäintä ja järjestä sisältö uudelleen käyttämällä nuolinäppäimiä. Nykyinen sijainti ${total}/${position}." + "dragHandleActive": "Järjestetään uudelleen kohdetta {itemLabel}, nykyinen sijainti {position}/{total}.", + "dragHandleChange": "{itemLabel}, uusi sijainti {position}/{total}. Vahvista painamalla välilyöntinäppäintä.", + "dragHandleCommit": "{itemLabel}, nykyinen sijainti {position}/{total}.", + "dragHandleIdle": "{itemLabel}, paina välilyöntinäppäintä ja järjestä sisältö uudelleen käyttämällä nuolinäppäimiä. Nykyinen sijainti {total}/{position}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_fr.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_fr.json index ef9aa3f714d..37592b24781 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_fr.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_fr.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Réorganisation de ${itemLabel}, position actuelle ${position} sur ${total}.", - "dragHandleChange": "${itemLabel}, nouvelle position ${position} sur ${total}. Appuyez sur Espace pour confirmer.", - "dragHandleCommit": "${itemLabel}, position actuelle ${position} sur ${total}.", - "dragHandleIdle": "${itemLabel}, appuyez sur Espace et utilisez les touches de direction pour réorganiser le contenu. Position actuelle ${position} sur ${total}." + "dragHandleActive": "Réorganisation de {itemLabel}, position actuelle {position} sur {total}.", + "dragHandleChange": "{itemLabel}, nouvelle position {position} sur {total}. Appuyez sur Espace pour confirmer.", + "dragHandleCommit": "{itemLabel}, position actuelle {position} sur {total}.", + "dragHandleIdle": "{itemLabel}, appuyez sur Espace et utilisez les touches de direction pour réorganiser le contenu. Position actuelle {position} sur {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_he.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_he.json index a775894c3e5..fe12af13e6e 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_he.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_he.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "מסדר מחדש ${itemLabel}, מיקום נוכחי ${position} מתוך ${total}.", - "dragHandleChange": "${itemLabel}, מיקום חדש ${position} מתוך ${total}. לחץ על רווח לאישור", - "dragHandleCommit": "${itemLabel}, מיקום נוכחי ${position} מתוך ${total}.", - "dragHandleIdle": "${itemLabel}, לחץ על רווח והשתמש במקשי החצים כדי לשנות את סדר התוכן. מיקום נוכחי ${total} מתוך ${position}." + "dragHandleActive": "מסדר מחדש {itemLabel}, מיקום נוכחי {position} מתוך {total}.", + "dragHandleChange": "{itemLabel}, מיקום חדש {position} מתוך {total}. לחץ על רווח לאישור", + "dragHandleCommit": "{itemLabel}, מיקום נוכחי {position} מתוך {total}.", + "dragHandleIdle": "{itemLabel}, לחץ על רווח והשתמש במקשי החצים כדי לשנות את סדר התוכן. מיקום נוכחי {total} מתוך {position}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_hr.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_hr.json index b6613907711..8f2de4df55f 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_hr.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_hr.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Promjena redoslijeda ${itemLabel}, trenutačni položaj ${position} od ${total}.", - "dragHandleChange": "${itemLabel}, novi položaj ${position} od ${total}. Pritisnite razmaknicu za potvrdu.", - "dragHandleCommit": "${itemLabel}, trenutačni položaj ${position} od ${total}.", - "dragHandleIdle": "${itemLabel}, pritisnite razmaknicu i upotrijebite tipke sa strelicama za promjenu redoslijeda sadržaja. Trenutačni položaj ${position} od ${total}." + "dragHandleActive": "Promjena redoslijeda {itemLabel}, trenutačni položaj {position} od {total}.", + "dragHandleChange": "{itemLabel}, novi položaj {position} od {total}. Pritisnite razmaknicu za potvrdu.", + "dragHandleCommit": "{itemLabel}, trenutačni položaj {position} od {total}.", + "dragHandleIdle": "{itemLabel}, pritisnite razmaknicu i upotrijebite tipke sa strelicama za promjenu redoslijeda sadržaja. Trenutačni položaj {position} od {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_hu.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_hu.json index 0122f33d684..44be1679372 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_hu.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_hu.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "${itemLabel} újrarendezése, aktuális helyzet: ${position} / ${total}.", - "dragHandleChange": "${itemLabel}, új helyzet: ${position} / ${total}. A megerősítéshez nyomja le a szóközbillentyűt.", - "dragHandleCommit": "${itemLabel}, aktuális helyzet: ${position} / ${total}", - "dragHandleIdle": "${itemLabel} a tartalmat a szóközbillentyűvel és a nyílbillentyűkkel rendezheti át. Aktuális pozíció: ${position}/${total}." + "dragHandleActive": "{itemLabel} újrarendezése, aktuális helyzet: {position} / {total}.", + "dragHandleChange": "{itemLabel}, új helyzet: {position} / {total}. A megerősítéshez nyomja le a szóközbillentyűt.", + "dragHandleCommit": "{itemLabel}, aktuális helyzet: {position} / {total}", + "dragHandleIdle": "{itemLabel} a tartalmat a szóközbillentyűvel és a nyílbillentyűkkel rendezheti át. Aktuális pozíció: {position}/{total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_id.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_id.json index f3f3272833a..a58dbf4fa30 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_id.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_id.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Mengurutkan ulang ${itemLabel}, posisi terkini ${position} dari ${total}.", - "dragHandleChange": "${itemLabel}, posisi baru ${position} dari ${total}. Tekan spasi untuk mengonfirmasi.", - "dragHandleCommit": "${itemLabel}, posisi terkini ${position} dari ${total}.", - "dragHandleIdle": "${itemLabel}, tekan spasi dan gunakan tombol panah untuk mengurutkan ulang konten. Posisi terkini ${position} dari ${total}." + "dragHandleActive": "Mengurutkan ulang {itemLabel}, posisi terkini {position} dari {total}.", + "dragHandleChange": "{itemLabel}, posisi baru {position} dari {total}. Tekan spasi untuk mengonfirmasi.", + "dragHandleCommit": "{itemLabel}, posisi terkini {position} dari {total}.", + "dragHandleIdle": "{itemLabel}, tekan spasi dan gunakan tombol panah untuk mengurutkan ulang konten. Posisi terkini {position} dari {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_it.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_it.json index a6639561de6..337bba1d715 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_it.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_it.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Riordinare ${itemLabel}, posizione attuale ${position} di ${total}.", - "dragHandleChange": "${itemLabel}, nuova posizione ${position} di ${total}. Fare clic sul tasto spaziatore per confermare.", - "dragHandleCommit": "${itemLabel}, posizione attuale ${position} di ${total}.", - "dragHandleIdle": "${itemLabel}, fare clic sul tasto spaziatore e utilizzare i tasti freccia per riordinare il contenuto. Posizione attuale ${position} di ${total}." + "dragHandleActive": "Riordinare {itemLabel}, posizione attuale {position} di {total}.", + "dragHandleChange": "{itemLabel}, nuova posizione {position} di {total}. Fare clic sul tasto spaziatore per confermare.", + "dragHandleCommit": "{itemLabel}, posizione attuale {position} di {total}.", + "dragHandleIdle": "{itemLabel}, fare clic sul tasto spaziatore e utilizzare i tasti freccia per riordinare il contenuto. Posizione attuale {position} di {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ja.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ja.json index 92e40edaac0..bd8879b9727 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ja.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ja.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "${itemLabel} を順序変更しています、現在位置は ${position}/${total} です。", - "dragHandleChange": "${itemLabel}、新しい位置は ${position}/${total} です。 Space キーを押して確定してください。", - "dragHandleCommit": "${itemLabel}、現在位置は ${position}/${total} です。", - "dragHandleIdle": "${itemLabel}、Space キーを押し、矢印キーを使用してコンテンツの順序を変更します。 現在位置は ${position}/${total} です。" + "dragHandleActive": "{itemLabel} を順序変更しています、現在位置は {position}/{total} です。", + "dragHandleChange": "{itemLabel}、新しい位置は {position}/{total} です。 Space キーを押して確定してください。", + "dragHandleCommit": "{itemLabel}、現在位置は {position}/{total} です。", + "dragHandleIdle": "{itemLabel}、Space キーを押し、矢印キーを使用してコンテンツの順序を変更します。 現在位置は {position}/{total} です。" } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ko.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ko.json index 33a59cc6855..22cf4829c85 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ko.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ko.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "${itemLabel}의 순서를 바꾸는 중입니다. 현재 위치는 ${total}개 중 ${position}번째입니다.", - "dragHandleChange": "${itemLabel}, 새 위치는 ${total}개 중 ${position}번째입니다. 확인하려면 스페이스바를 누르세요.", - "dragHandleCommit": "${itemLabel}, 현재 위치는 ${total}개 중 ${position}번째입니다.", - "dragHandleIdle": "${itemLabel}, 콘텐츠 순서를 변경하려면 스페이스바를 누르고 화살표 키를 사용하세요. 현재 위치는 ${total}개 중 ${position}번째입니다." + "dragHandleActive": "{itemLabel}의 순서를 바꾸는 중입니다. 현재 위치는 {total}개 중 {position}번째입니다.", + "dragHandleChange": "{itemLabel}, 새 위치는 {total}개 중 {position}번째입니다. 확인하려면 스페이스바를 누르세요.", + "dragHandleCommit": "{itemLabel}, 현재 위치는 {total}개 중 {position}번째입니다.", + "dragHandleIdle": "{itemLabel}, 콘텐츠 순서를 변경하려면 스페이스바를 누르고 화살표 키를 사용하세요. 현재 위치는 {total}개 중 {position}번째입니다." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_lt.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_lt.json index c9584fda52e..3445b7723a6 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_lt.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_lt.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Keičiama tvarka ${itemLabel}, dabartinė pozicija ${position} iš ${total}.", - "dragHandleChange": "${itemLabel}, nauja pozicija ${position} iš ${total}. Norėdami patvirtinti, paspauskite tarpo klavišą.", - "dragHandleCommit": "${itemLabel}, dabartinė pozicija ${position} iš ${total}.", - "dragHandleIdle": "${itemLabel}, norėdami keisti turinio tvarką, paspauskite tarpo klavišą ir naudokite rodyklių klavišus. Dabartinė padėtis: ${position} iš ${total}." + "dragHandleActive": "Keičiama tvarka {itemLabel}, dabartinė pozicija {position} iš {total}.", + "dragHandleChange": "{itemLabel}, nauja pozicija {position} iš {total}. Norėdami patvirtinti, paspauskite tarpo klavišą.", + "dragHandleCommit": "{itemLabel}, dabartinė pozicija {position} iš {total}.", + "dragHandleIdle": "{itemLabel}, norėdami keisti turinio tvarką, paspauskite tarpo klavišą ir naudokite rodyklių klavišus. Dabartinė padėtis: {position} iš {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_lv.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_lv.json index 4d4889033d9..b64f54e0468 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_lv.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_lv.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "${itemLabel} pārkārtošana, pašreizējais stāvoklis: ${position} no ${total}.", - "dragHandleChange": "${itemLabel}, jauna pozīcija: ${position} no ${total}. Nospiediet atstarpes taustiņu, lai apstiprinātu.", - "dragHandleCommit": "${itemLabel}, pašreizējais stāvoklis: ${position} no ${total}.", - "dragHandleIdle": "${itemLabel}, nospiediet atstarpes taustiņu un izmantojiet bulttaustiņus, lai pārkārtotu saturu. Pašreizējais stāvoklis: ${position} no ${total}." + "dragHandleActive": "{itemLabel} pārkārtošana, pašreizējais stāvoklis: {position} no {total}.", + "dragHandleChange": "{itemLabel}, jauna pozīcija: {position} no {total}. Nospiediet atstarpes taustiņu, lai apstiprinātu.", + "dragHandleCommit": "{itemLabel}, pašreizējais stāvoklis: {position} no {total}.", + "dragHandleIdle": "{itemLabel}, nospiediet atstarpes taustiņu un izmantojiet bulttaustiņus, lai pārkārtotu saturu. Pašreizējais stāvoklis: {position} no {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_nl.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_nl.json index 97770d85dc0..9f55b8890d8 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_nl.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_nl.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "${itemLabel} opnieuw rangschikken, huidige positie ${position} van ${total}.", - "dragHandleChange": "${itemLabel}, nieuwe positie ${position} van ${total}. Druk op de spatiebalk om te bevestigen.", - "dragHandleCommit": "${itemLabel}, huidige positie ${position} van ${total}.", - "dragHandleIdle": "${itemLabel}, druk op spatiebalk en gebruik pijltjestoetsen om content opnieuw te rangschikken. Huidige positie ${position} van ${total}." + "dragHandleActive": "{itemLabel} opnieuw rangschikken, huidige positie {position} van {total}.", + "dragHandleChange": "{itemLabel}, nieuwe positie {position} van {total}. Druk op de spatiebalk om te bevestigen.", + "dragHandleCommit": "{itemLabel}, huidige positie {position} van {total}.", + "dragHandleIdle": "{itemLabel}, druk op spatiebalk en gebruik pijltjestoetsen om content opnieuw te rangschikken. Huidige positie {position} van {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_no.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_no.json index 31d0fc055c8..d843551b6e2 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_no.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_no.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Endrer rekkefølgen på ${itemLabel}, gjeldende posisjon ${position} av ${total}.", - "dragHandleChange": "${itemLabel}, ny posisjon ${position} av ${total}. Trykk på mellomromstasten for å bekrefte.", - "dragHandleCommit": "${itemLabel}, gjeldende posisjon ${position} av ${total}.", - "dragHandleIdle": "${itemLabel}, trykk på mellomromstasten, og bruk piltastene for å endre innholdsrekkefølgen. Gjeldende posisjon ${position} av ${total}." + "dragHandleActive": "Endrer rekkefølgen på {itemLabel}, gjeldende posisjon {position} av {total}.", + "dragHandleChange": "{itemLabel}, ny posisjon {position} av {total}. Trykk på mellomromstasten for å bekrefte.", + "dragHandleCommit": "{itemLabel}, gjeldende posisjon {position} av {total}.", + "dragHandleIdle": "{itemLabel}, trykk på mellomromstasten, og bruk piltastene for å endre innholdsrekkefølgen. Gjeldende posisjon {position} av {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pl.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pl.json index 4f35bfd394f..39f2eacf322 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pl.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pl.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Reorganizowanie ${itemLabel}, bieżąca pozycja ${position} z ${total}.", - "dragHandleChange": "${itemLabel}, nowa pozycja ${position} z ${total}. Naciśnij spację, aby potwierdzić.", - "dragHandleCommit": "${itemLabel}, bieżąca pozycja ${position} z ${total}.", - "dragHandleIdle": "${itemLabel}, naciśnij klawisz spacji i użyj klawiszy strzałek, aby zmienić kolejność zasobów. Bieżąca pozycja ${position} z ${total}." + "dragHandleActive": "Reorganizowanie {itemLabel}, bieżąca pozycja {position} z {total}.", + "dragHandleChange": "{itemLabel}, nowa pozycja {position} z {total}. Naciśnij spację, aby potwierdzić.", + "dragHandleCommit": "{itemLabel}, bieżąca pozycja {position} z {total}.", + "dragHandleIdle": "{itemLabel}, naciśnij klawisz spacji i użyj klawiszy strzałek, aby zmienić kolejność zasobów. Bieżąca pozycja {position} z {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pt-BR.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pt-BR.json index 7ada6ab3127..e7e319a3b4f 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pt-BR.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pt-BR.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Reordenando ${itemLabel}, posição atual ${position} de ${total}.", - "dragHandleChange": "${itemLabel}, nova posição ${position} de ${total}. Pressione espaço para confirmar.", - "dragHandleCommit": "${itemLabel}, posição atual ${position} de ${total}.", - "dragHandleIdle": "${itemLabel}, pressione espaço e use as teclas de seta para reordenar o conteúdo. Posição atual ${position} de ${total}." + "dragHandleActive": "Reordenando {itemLabel}, posição atual {position} de {total}.", + "dragHandleChange": "{itemLabel}, nova posição {position} de {total}. Pressione espaço para confirmar.", + "dragHandleCommit": "{itemLabel}, posição atual {position} de {total}.", + "dragHandleIdle": "{itemLabel}, pressione espaço e use as teclas de seta para reordenar o conteúdo. Posição atual {position} de {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pt-PT.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pt-PT.json index 25a10865518..7f4119d3a57 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pt-PT.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_pt-PT.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "A reordenar ${itemLabel}, posição atual ${position} de ${total}.", - "dragHandleChange": "${itemLabel}, nova posição ${position} de ${total}. Prima o espaço para continuar.", - "dragHandleCommit": "${itemLabel}, posição atual ${position} de ${total}.", - "dragHandleIdle": "${itemLabel}, prima o espaço e use as teclas de seta para reordenar o conteúdo. Posição atual ${position} de ${total}." + "dragHandleActive": "A reordenar {itemLabel}, posição atual {position} de {total}.", + "dragHandleChange": "{itemLabel}, nova posição {position} de {total}. Prima o espaço para continuar.", + "dragHandleCommit": "{itemLabel}, posição atual {position} de {total}.", + "dragHandleIdle": "{itemLabel}, prima o espaço e use as teclas de seta para reordenar o conteúdo. Posição atual {position} de {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ro.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ro.json index 0ea3a25e49e..d130b97a1b2 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ro.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ro.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Se reordonează ${itemLabel}, poziția actuală ${position} din ${total}.", - "dragHandleChange": "${itemLabel}, poziția nouă ${position} din ${total}. Apăsați pe tasta spațiu pentru a confirma.", - "dragHandleCommit": "${itemLabel}, poziția actuală ${position} din ${total}.", - "dragHandleIdle": "${itemLabel}, apăsați pe tasta spațiu și folosiți tastele cu săgeți pentru a reordona conținutul. Poziția actuală ${position} din ${total}." + "dragHandleActive": "Se reordonează {itemLabel}, poziția actuală {position} din {total}.", + "dragHandleChange": "{itemLabel}, poziția nouă {position} din {total}. Apăsați pe tasta spațiu pentru a confirma.", + "dragHandleCommit": "{itemLabel}, poziția actuală {position} din {total}.", + "dragHandleIdle": "{itemLabel}, apăsați pe tasta spațiu și folosiți tastele cu săgeți pentru a reordona conținutul. Poziția actuală {position} din {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ru.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ru.json index dacabd6de63..c37ab9a0131 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ru.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_ru.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Изменить порядок ${itemLabel}, текущее положение ${position} из ${total}.", - "dragHandleChange": "${itemLabel}, новое положение ${position} из ${total}. Нажмите пробел для подтверждения.", - "dragHandleCommit": "${itemLabel}, текущее положение ${position} из ${total}.", - "dragHandleIdle": "${itemLabel}, нажмите пробел и используйте клавиши со стрелками, чтобы изменить порядок содержания. Текущее положение ${position} из ${total}." + "dragHandleActive": "Изменить порядок {itemLabel}, текущее положение {position} из {total}.", + "dragHandleChange": "{itemLabel}, новое положение {position} из {total}. Нажмите пробел для подтверждения.", + "dragHandleCommit": "{itemLabel}, текущее положение {position} из {total}.", + "dragHandleIdle": "{itemLabel}, нажмите пробел и используйте клавиши со стрелками, чтобы изменить порядок содержания. Текущее положение {position} из {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sk.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sk.json index 8a7a635843d..be5813c017e 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sk.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sk.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Zmena poradia ${itemLabel}, aktuálna pozícia ${position} z ${total}.", - "dragHandleChange": "${itemLabel}, nová pozícia ${position} z ${total}. Stlačte medzerník na potvrdenie.", - "dragHandleCommit": "${itemLabel}, aktuálna pozícia ${position} z ${total}.", - "dragHandleIdle": "${itemLabel}, stlačte medzerník a pomocou klávesov so šípkami zmeňte poradie obsahu. Aktuálna pozícia: ${position} z ${total}." + "dragHandleActive": "Zmena poradia {itemLabel}, aktuálna pozícia {position} z {total}.", + "dragHandleChange": "{itemLabel}, nová pozícia {position} z {total}. Stlačte medzerník na potvrdenie.", + "dragHandleCommit": "{itemLabel}, aktuálna pozícia {position} z {total}.", + "dragHandleIdle": "{itemLabel}, stlačte medzerník a pomocou klávesov so šípkami zmeňte poradie obsahu. Aktuálna pozícia: {position} z {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sl.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sl.json index d043d9e2b83..8e0c24feef4 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sl.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sl.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Preurejanje ${itemLabel}, trenutni položaj ${position} od ${total}.", - "dragHandleChange": "${itemLabel}, nov položaj ${position} od ${total}. Za potrditev pritisnite presledek.", - "dragHandleCommit": "${itemLabel}, trenutni položaj ${position} od ${total}.", - "dragHandleIdle": "${itemLabel}, za preureditev vsebine pritisnite presledek in puščične tipke. Trenutni položaj ${position} od ${total}." + "dragHandleActive": "Preurejanje {itemLabel}, trenutni položaj {position} od {total}.", + "dragHandleChange": "{itemLabel}, nov položaj {position} od {total}. Za potrditev pritisnite presledek.", + "dragHandleCommit": "{itemLabel}, trenutni položaj {position} od {total}.", + "dragHandleIdle": "{itemLabel}, za preureditev vsebine pritisnite presledek in puščične tipke. Trenutni položaj {position} od {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sr.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sr.json index e5882f479a6..88122ef038e 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sr.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sr.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Promena redosleda ${itemLabel}, trenutna pozicija ${position} od ${total}.", - "dragHandleChange": "${itemLabel}, nova pozicija ${position} od ${total}. Pritisnite razmak da potvrdite.", - "dragHandleCommit": "${itemLabel}, trenutna pozicija ${position} od ${total}.", - "dragHandleIdle": "${itemLabel}, pritisnite razmak i koristite tastere sa strelicama kako bi reorganizovali sadržaj. Trenutna pozicija ${position} od ${total}." + "dragHandleActive": "Promena redosleda {itemLabel}, trenutna pozicija {position} od {total}.", + "dragHandleChange": "{itemLabel}, nova pozicija {position} od {total}. Pritisnite razmak da potvrdite.", + "dragHandleCommit": "{itemLabel}, trenutna pozicija {position} od {total}.", + "dragHandleIdle": "{itemLabel}, pritisnite razmak i koristite tastere sa strelicama kako bi reorganizovali sadržaj. Trenutna pozicija {position} od {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sv.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sv.json index d4dd9323bce..fa6dfda3039 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sv.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_sv.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Ändrar ordning på ${itemLabel}, aktuell position ${position} för ${total}.", - "dragHandleChange": "${itemLabel}, ny position ${position} för ${total}. Tryck på blanksteg för att bekräfta.", - "dragHandleCommit": "${itemLabel}, aktuell position ${position} för ${total}.", - "dragHandleIdle": "${itemLabel}, tryck på blanksteg och använd piltangenterna för att ändra ordning på innehållet. Den aktuella positionen ${position} för ${total}." + "dragHandleActive": "Ändrar ordning på {itemLabel}, aktuell position {position} för {total}.", + "dragHandleChange": "{itemLabel}, ny position {position} för {total}. Tryck på blanksteg för att bekräfta.", + "dragHandleCommit": "{itemLabel}, aktuell position {position} för {total}.", + "dragHandleIdle": "{itemLabel}, tryck på blanksteg och använd piltangenterna för att ändra ordning på innehållet. Den aktuella positionen {position} för {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_th.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_th.json index af0cea89ec9..d59c06a7909 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_th.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_th.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "กำลังเรียงลำดับใหม่ ${itemLabel}, ตำแหน่งปัจจุบัน ${position} จาก ${total}", - "dragHandleChange": "${itemLabel}, ตำแหน่งใหม่ ${position} จาก ${total} กด Space เพื่อยืนยัน", - "dragHandleCommit": "${itemLabel}, ตำแหน่งปัจจุบัน ${position} จาก ${total}", - "dragHandleIdle": "${itemLabel}, กด Space และใช้ปุ่มลูกศรเพื่อเรียงลำดับเนื้อหาใหม่ ตำแหน่งที่ตั้งปัจจุบัน ${position} ของ ${total}" + "dragHandleActive": "กำลังเรียงลำดับใหม่ {itemLabel}, ตำแหน่งปัจจุบัน {position} จาก {total}", + "dragHandleChange": "{itemLabel}, ตำแหน่งใหม่ {position} จาก {total} กด Space เพื่อยืนยัน", + "dragHandleCommit": "{itemLabel}, ตำแหน่งปัจจุบัน {position} จาก {total}", + "dragHandleIdle": "{itemLabel}, กด Space และใช้ปุ่มลูกศรเพื่อเรียงลำดับเนื้อหาใหม่ ตำแหน่งที่ตั้งปัจจุบัน {position} ของ {total}" } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_tr.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_tr.json index 22a11ac98c9..717df2f1d65 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_tr.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_tr.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "${itemLabel} yeniden sıralanıyor, geçerli konum ${position} / ${total}.", - "dragHandleChange": "${itemLabel}, yeni konum ${position} / ${total}. Onaylamak için boşluk tuşuna basın.", - "dragHandleCommit": "${itemLabel}, geçerli konum ${position} / ${total}.", - "dragHandleIdle": "${itemLabel}, içeriği yeniden sıralamak için boşluk tuşuna basın ve ok tuşlarını kullanın. Geçerli konum ${position} / ${total}." + "dragHandleActive": "{itemLabel} yeniden sıralanıyor, geçerli konum {position} / {total}.", + "dragHandleChange": "{itemLabel}, yeni konum {position} / {total}. Onaylamak için boşluk tuşuna basın.", + "dragHandleCommit": "{itemLabel}, geçerli konum {position} / {total}.", + "dragHandleIdle": "{itemLabel}, içeriği yeniden sıralamak için boşluk tuşuna basın ve ok tuşlarını kullanın. Geçerli konum {position} / {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_uk.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_uk.json index c26002d78d7..30d4b7d6200 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_uk.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_uk.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Перевпорядкування ${itemLabel}, поточне положення ${position} з ${total}.", - "dragHandleChange": "${itemLabel}, нове положення ${position} з ${total}. Натисніть пробіл для підтвердження.", - "dragHandleCommit": "${itemLabel}, поточне положення ${position} з ${total}.", - "dragHandleIdle": "${itemLabel}, натисніть пробіл і використовуйте клавіші зі стрілками, щоб змінити порядок змісту. Поточне положення ${position} з ${total}." + "dragHandleActive": "Перевпорядкування {itemLabel}, поточне положення {position} з {total}.", + "dragHandleChange": "{itemLabel}, нове положення {position} з {total}. Натисніть пробіл для підтвердження.", + "dragHandleCommit": "{itemLabel}, поточне положення {position} з {total}.", + "dragHandleIdle": "{itemLabel}, натисніть пробіл і використовуйте клавіші зі стрілками, щоб змінити порядок змісту. Поточне положення {position} з {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_vi.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_vi.json index 414c16c5aa9..bc2bde16737 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_vi.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_vi.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "Sắp xếp lại ${itemLabel}, vị trí hiện tại ${position} trên ${total}.", - "dragHandleChange": "${itemLabel}, vị trí mới ${position} trên ${total}. Nhấn dấu cách để xác nhận.", - "dragHandleCommit": "${itemLabel}, vị trí hiện tại ${position} trên ${total}.", - "dragHandleIdle": "${itemLabel}, nhấn dấu cách và sử dụng các phím mũi tên để sắp xếp lại nội dung. Vị trí hiện tại ${position} trên ${total}." + "dragHandleActive": "Sắp xếp lại {itemLabel}, vị trí hiện tại {position} trên {total}.", + "dragHandleChange": "{itemLabel}, vị trí mới {position} trên {total}. Nhấn dấu cách để xác nhận.", + "dragHandleCommit": "{itemLabel}, vị trí hiện tại {position} trên {total}.", + "dragHandleIdle": "{itemLabel}, nhấn dấu cách và sử dụng các phím mũi tên để sắp xếp lại nội dung. Vị trí hiện tại {position} trên {total}." } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-CN.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-CN.json index ef475b2023a..047cdccd0ed 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-CN.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-CN.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "重新排序 ${itemLabel},当前位置 ${position},共 ${total} 个。", - "dragHandleChange": "${itemLabel},新位置 ${position},共 ${total} 个。 按空格键确认。", - "dragHandleCommit": "${itemLabel},当前位置 ${position},共 ${total} 个。", - "dragHandleIdle": "${itemLabel},按空格键并使用方向键重新排序内容。 ${total} 的当前位置 ${position}。" + "dragHandleActive": "重新排序 {itemLabel},当前位置 {position},共 {total} 个。", + "dragHandleChange": "{itemLabel},新位置 {position},共 {total} 个。 按空格键确认。", + "dragHandleCommit": "{itemLabel},当前位置 {position},共 {total} 个。", + "dragHandleIdle": "{itemLabel},按空格键并使用方向键重新排序内容。 {total} 的当前位置 {position}。" } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-HK.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-HK.json index 4e7e9a3fbae..901b6ddde01 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-HK.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-HK.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "正在重新排序 ${itemLabel},目前位置 ${position}/${total}。", - "dragHandleChange": "${itemLabel},新位置 ${position}/${total}。 按空格鍵確認。", - "dragHandleCommit": "${itemLabel},目前位置 ${position}/${total}。", - "dragHandleIdle": "${itemLabel},按空格鍵,然後使用方向鍵重新排序內容。 目前位置 ${position}/${total}。" + "dragHandleActive": "正在重新排序 {itemLabel},目前位置 {position}/{total}。", + "dragHandleChange": "{itemLabel},新位置 {position}/{total}。 按空格鍵確認。", + "dragHandleCommit": "{itemLabel},目前位置 {position}/{total}。", + "dragHandleIdle": "{itemLabel},按空格鍵,然後使用方向鍵重新排序內容。 目前位置 {position}/{total}。" } diff --git a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-TW.json b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-TW.json index 4e7e9a3fbae..901b6ddde01 100644 --- a/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-TW.json +++ b/packages/calcite-components/src/components/value-list/assets/value-list/t9n/messages_zh-TW.json @@ -1,6 +1,6 @@ { - "dragHandleActive": "正在重新排序 ${itemLabel},目前位置 ${position}/${total}。", - "dragHandleChange": "${itemLabel},新位置 ${position}/${total}。 按空格鍵確認。", - "dragHandleCommit": "${itemLabel},目前位置 ${position}/${total}。", - "dragHandleIdle": "${itemLabel},按空格鍵,然後使用方向鍵重新排序內容。 目前位置 ${position}/${total}。" + "dragHandleActive": "正在重新排序 {itemLabel},目前位置 {position}/{total}。", + "dragHandleChange": "{itemLabel},新位置 {position}/{total}。 按空格鍵確認。", + "dragHandleCommit": "{itemLabel},目前位置 {position}/{total}。", + "dragHandleIdle": "{itemLabel},按空格鍵,然後使用方向鍵重新排序內容。 目前位置 {position}/{total}。" } diff --git a/packages/calcite-components/src/components/value-list/utils.ts b/packages/calcite-components/src/components/value-list/utils.ts index b37958a1bcb..621c2fd7992 100644 --- a/packages/calcite-components/src/components/value-list/utils.ts +++ b/packages/calcite-components/src/components/value-list/utils.ts @@ -41,7 +41,7 @@ export function getHandleAndItemElement(event: KeyboardEvent | FocusEvent): { } export function replacePlaceholders(text: string, label: string, position: number, total: number): string { - const replacePosition = text.replace("${position}", position.toString()); - const replaceLabel = replacePosition.replace("${itemLabel}", label); - return replaceLabel.replace("${total}", total.toString()); + const replacePosition = text.replace("{position}", position.toString()); + const replaceLabel = replacePosition.replace("{itemLabel}", label); + return replaceLabel.replace("{total}", total.toString()); }