diff --git a/packages/circuit-ui/components/Calendar/Calendar.stories.tsx b/packages/circuit-ui/components/Calendar/Calendar.stories.tsx index d61a63eca5..5735b0cfe1 100644 --- a/packages/circuit-ui/components/Calendar/Calendar.stories.tsx +++ b/packages/circuit-ui/components/Calendar/Calendar.stories.tsx @@ -52,30 +52,9 @@ export const Localized = ({ selection, ...args }: CalendarProps) => { const [date, setDate] = useState(selection); return ( - - - + + + ); }; diff --git a/packages/circuit-ui/components/Calendar/translations/bg-BG.json b/packages/circuit-ui/components/Calendar/translations/bg-BG.json new file mode 100644 index 0000000000..edd3429eec --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/bg-BG.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Предходен месец", + "nextMonthButtonLabel": "Следващ месец" +} diff --git a/packages/circuit-ui/components/Calendar/translations/cs-CZ.json b/packages/circuit-ui/components/Calendar/translations/cs-CZ.json new file mode 100644 index 0000000000..f4740bf5dd --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/cs-CZ.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Předchozí měsíc", + "nextMonthButtonLabel": "Další měsíc" +} diff --git a/packages/circuit-ui/components/Calendar/translations/da-DK.json b/packages/circuit-ui/components/Calendar/translations/da-DK.json new file mode 100644 index 0000000000..69524be4df --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/da-DK.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Forrige måned", + "nextMonthButtonLabel": "Næste måned" +} diff --git a/packages/circuit-ui/components/Calendar/translations/de-AT.json b/packages/circuit-ui/components/Calendar/translations/de-AT.json new file mode 100644 index 0000000000..a86a79439b --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/de-AT.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Vorheriger Monat", + "nextMonthButtonLabel": "Nächster Monat" +} diff --git a/packages/circuit-ui/components/Calendar/translations/de-CH.json b/packages/circuit-ui/components/Calendar/translations/de-CH.json new file mode 100644 index 0000000000..a86a79439b --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/de-CH.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Vorheriger Monat", + "nextMonthButtonLabel": "Nächster Monat" +} diff --git a/packages/circuit-ui/components/Calendar/translations/de-LU.json b/packages/circuit-ui/components/Calendar/translations/de-LU.json new file mode 100644 index 0000000000..a86a79439b --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/de-LU.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Vorheriger Monat", + "nextMonthButtonLabel": "Nächster Monat" +} diff --git a/packages/circuit-ui/components/Calendar/translations/el-CY.json b/packages/circuit-ui/components/Calendar/translations/el-CY.json new file mode 100644 index 0000000000..a6d4e53067 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/el-CY.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Προηγούμενος μήνας", + "nextMonthButtonLabel": "Επόμενος μήνας" +} diff --git a/packages/circuit-ui/components/Calendar/translations/el-GR.json b/packages/circuit-ui/components/Calendar/translations/el-GR.json new file mode 100644 index 0000000000..a6d4e53067 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/el-GR.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Προηγούμενος μήνας", + "nextMonthButtonLabel": "Επόμενος μήνας" +} diff --git a/packages/circuit-ui/components/Calendar/translations/en-AU.json b/packages/circuit-ui/components/Calendar/translations/en-AU.json new file mode 100644 index 0000000000..c5f65ff004 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/en-AU.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Previous month", + "nextMonthButtonLabel": "Next month" +} diff --git a/packages/circuit-ui/components/Calendar/translations/en-GB.json b/packages/circuit-ui/components/Calendar/translations/en-GB.json new file mode 100644 index 0000000000..c5f65ff004 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/en-GB.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Previous month", + "nextMonthButtonLabel": "Next month" +} diff --git a/packages/circuit-ui/components/Calendar/translations/en-IE.json b/packages/circuit-ui/components/Calendar/translations/en-IE.json new file mode 100644 index 0000000000..c5f65ff004 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/en-IE.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Previous month", + "nextMonthButtonLabel": "Next month" +} diff --git a/packages/circuit-ui/components/Calendar/translations/en-MT.json b/packages/circuit-ui/components/Calendar/translations/en-MT.json new file mode 100644 index 0000000000..c5f65ff004 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/en-MT.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Previous month", + "nextMonthButtonLabel": "Next month" +} diff --git a/packages/circuit-ui/components/Calendar/translations/es-CL.json b/packages/circuit-ui/components/Calendar/translations/es-CL.json new file mode 100644 index 0000000000..0bb66e2a88 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/es-CL.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mes anterior", + "nextMonthButtonLabel": "Mes siguiente" +} diff --git a/packages/circuit-ui/components/Calendar/translations/es-CO.json b/packages/circuit-ui/components/Calendar/translations/es-CO.json new file mode 100644 index 0000000000..0bb66e2a88 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/es-CO.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mes anterior", + "nextMonthButtonLabel": "Mes siguiente" +} diff --git a/packages/circuit-ui/components/Calendar/translations/es-ES.json b/packages/circuit-ui/components/Calendar/translations/es-ES.json new file mode 100644 index 0000000000..0bb66e2a88 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/es-ES.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mes anterior", + "nextMonthButtonLabel": "Mes siguiente" +} diff --git a/packages/circuit-ui/components/Calendar/translations/es-MX.json b/packages/circuit-ui/components/Calendar/translations/es-MX.json new file mode 100644 index 0000000000..c5f65ff004 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/es-MX.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Previous month", + "nextMonthButtonLabel": "Next month" +} diff --git a/packages/circuit-ui/components/Calendar/translations/es-PE.json b/packages/circuit-ui/components/Calendar/translations/es-PE.json new file mode 100644 index 0000000000..0bb66e2a88 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/es-PE.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mes anterior", + "nextMonthButtonLabel": "Mes siguiente" +} diff --git a/packages/circuit-ui/components/Calendar/translations/es-US.json b/packages/circuit-ui/components/Calendar/translations/es-US.json new file mode 100644 index 0000000000..0bb66e2a88 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/es-US.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mes anterior", + "nextMonthButtonLabel": "Mes siguiente" +} diff --git a/packages/circuit-ui/components/Calendar/translations/et-EE.json b/packages/circuit-ui/components/Calendar/translations/et-EE.json new file mode 100644 index 0000000000..47faf1dd03 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/et-EE.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Eelmine kuu", + "nextMonthButtonLabel": "Järgmine kuu" +} diff --git a/packages/circuit-ui/components/Calendar/translations/fi-FI.json b/packages/circuit-ui/components/Calendar/translations/fi-FI.json new file mode 100644 index 0000000000..1407ec762c --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/fi-FI.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Edellinen kuukausi", + "nextMonthButtonLabel": "Seuraava kuukausi" +} diff --git a/packages/circuit-ui/components/Calendar/translations/fr-BE.json b/packages/circuit-ui/components/Calendar/translations/fr-BE.json new file mode 100644 index 0000000000..0fae99b6a6 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/fr-BE.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mois précédent", + "nextMonthButtonLabel": "Mois suivant" +} diff --git a/packages/circuit-ui/components/Calendar/translations/fr-CH.json b/packages/circuit-ui/components/Calendar/translations/fr-CH.json new file mode 100644 index 0000000000..0fae99b6a6 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/fr-CH.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mois précédent", + "nextMonthButtonLabel": "Mois suivant" +} diff --git a/packages/circuit-ui/components/Calendar/translations/fr-FR.json b/packages/circuit-ui/components/Calendar/translations/fr-FR.json new file mode 100644 index 0000000000..0fae99b6a6 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/fr-FR.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mois précédent", + "nextMonthButtonLabel": "Mois suivant" +} diff --git a/packages/circuit-ui/components/Calendar/translations/fr-LU.json b/packages/circuit-ui/components/Calendar/translations/fr-LU.json new file mode 100644 index 0000000000..0fae99b6a6 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/fr-LU.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mois précédent", + "nextMonthButtonLabel": "Mois suivant" +} diff --git a/packages/circuit-ui/components/Calendar/translations/hr-HR.json b/packages/circuit-ui/components/Calendar/translations/hr-HR.json new file mode 100644 index 0000000000..c703ffb590 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/hr-HR.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Prethodni mjesec", + "nextMonthButtonLabel": "Sljedeći mjesec" +} diff --git a/packages/circuit-ui/components/Calendar/translations/hu-HU.json b/packages/circuit-ui/components/Calendar/translations/hu-HU.json new file mode 100644 index 0000000000..1c4f810e9e --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/hu-HU.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Előző hónap", + "nextMonthButtonLabel": "Következő hónap" +} diff --git a/packages/circuit-ui/components/Calendar/translations/it-CH.json b/packages/circuit-ui/components/Calendar/translations/it-CH.json new file mode 100644 index 0000000000..d13825488e --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/it-CH.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mese precedente", + "nextMonthButtonLabel": "Mese successivo" +} diff --git a/packages/circuit-ui/components/Calendar/translations/it-IT.json b/packages/circuit-ui/components/Calendar/translations/it-IT.json new file mode 100644 index 0000000000..d13825488e --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/it-IT.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mese precedente", + "nextMonthButtonLabel": "Mese successivo" +} diff --git a/packages/circuit-ui/components/Calendar/translations/lt-LT.json b/packages/circuit-ui/components/Calendar/translations/lt-LT.json new file mode 100644 index 0000000000..e72e54fff4 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/lt-LT.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Praėjęs mėnuo", + "nextMonthButtonLabel": "Kitas mėnuo" +} diff --git a/packages/circuit-ui/components/Calendar/translations/lv-LV.json b/packages/circuit-ui/components/Calendar/translations/lv-LV.json new file mode 100644 index 0000000000..46f118c995 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/lv-LV.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Iepriekšējais mēnesis", + "nextMonthButtonLabel": "Nākamais mēnesis" +} diff --git a/packages/circuit-ui/components/Calendar/translations/nb-NO.json b/packages/circuit-ui/components/Calendar/translations/nb-NO.json new file mode 100644 index 0000000000..1316760ee5 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/nb-NO.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Forrige måned", + "nextMonthButtonLabel": "Neste måned" +} diff --git a/packages/circuit-ui/components/Calendar/translations/nl-BE.json b/packages/circuit-ui/components/Calendar/translations/nl-BE.json new file mode 100644 index 0000000000..0ef6ebd414 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/nl-BE.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Vorige maand", + "nextMonthButtonLabel": "Volgende maand" +} diff --git a/packages/circuit-ui/components/Calendar/translations/nl-NL.json b/packages/circuit-ui/components/Calendar/translations/nl-NL.json new file mode 100644 index 0000000000..0ef6ebd414 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/nl-NL.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Vorige maand", + "nextMonthButtonLabel": "Volgende maand" +} diff --git a/packages/circuit-ui/components/Calendar/translations/pl-PL.json b/packages/circuit-ui/components/Calendar/translations/pl-PL.json new file mode 100644 index 0000000000..29ab517c4d --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/pl-PL.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Poprzedni miesiąc", + "nextMonthButtonLabel": "Następny miesiąc" +} diff --git a/packages/circuit-ui/components/Calendar/translations/pt-BR.json b/packages/circuit-ui/components/Calendar/translations/pt-BR.json new file mode 100644 index 0000000000..872eef1dec --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/pt-BR.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mês anterior", + "nextMonthButtonLabel": "Mês seguinte" +} diff --git a/packages/circuit-ui/components/Calendar/translations/pt-PT.json b/packages/circuit-ui/components/Calendar/translations/pt-PT.json new file mode 100644 index 0000000000..872eef1dec --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/pt-PT.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Mês anterior", + "nextMonthButtonLabel": "Mês seguinte" +} diff --git a/packages/circuit-ui/components/Calendar/translations/ro-RO.json b/packages/circuit-ui/components/Calendar/translations/ro-RO.json new file mode 100644 index 0000000000..ef9d08bd11 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/ro-RO.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Luna precedentă", + "nextMonthButtonLabel": "Luna următoare" +} diff --git a/packages/circuit-ui/components/Calendar/translations/sk-SK.json b/packages/circuit-ui/components/Calendar/translations/sk-SK.json new file mode 100644 index 0000000000..ee738cf43e --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/sk-SK.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Predchádzajúci mesiac", + "nextMonthButtonLabel": "Nasledujúci mesiac" +} diff --git a/packages/circuit-ui/components/Calendar/translations/sl-SI.json b/packages/circuit-ui/components/Calendar/translations/sl-SI.json new file mode 100644 index 0000000000..89ea349b7d --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/sl-SI.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Prejšnji mesec", + "nextMonthButtonLabel": "Naslednji mesec" +} diff --git a/packages/circuit-ui/components/Calendar/translations/sv-SE.json b/packages/circuit-ui/components/Calendar/translations/sv-SE.json new file mode 100644 index 0000000000..3535fc47a6 --- /dev/null +++ b/packages/circuit-ui/components/Calendar/translations/sv-SE.json @@ -0,0 +1,4 @@ +{ + "prevMonthButtonLabel": "Föregående månad", + "nextMonthButtonLabel": "Nästa månad" +} diff --git a/packages/circuit-ui/components/DateInput/DateInput.stories.tsx b/packages/circuit-ui/components/DateInput/DateInput.stories.tsx index e190766d30..f911191ef2 100644 --- a/packages/circuit-ui/components/DateInput/DateInput.stories.tsx +++ b/packages/circuit-ui/components/DateInput/DateInput.stories.tsx @@ -120,48 +120,9 @@ Disabled.args = { export const Locales = (args: DateInputProps) => ( - - - + + + ); diff --git a/packages/circuit-ui/components/DateInput/translations/bg-BG.json b/packages/circuit-ui/components/DateInput/translations/bg-BG.json new file mode 100644 index 0000000000..04401d39a3 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/bg-BG.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Година", + "monthInputLabel": "Месец", + "dayInputLabel": "Ден", + "openCalendarButtonLabel": "Промяна на дата", + "closeCalendarButtonLabel": "Затваряне на календар", + "applyDateButtonLabel": "Прилагане на дата", + "clearDateButtonLabel": "Изчистване на дата" +} diff --git a/packages/circuit-ui/components/DateInput/translations/cs-CZ.json b/packages/circuit-ui/components/DateInput/translations/cs-CZ.json new file mode 100644 index 0000000000..b44268efe6 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/cs-CZ.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Rok", + "monthInputLabel": "Měsíc", + "dayInputLabel": "Den", + "openCalendarButtonLabel": "Změnit datum", + "closeCalendarButtonLabel": "Zavřít kalendář", + "applyDateButtonLabel": "Použít datum", + "clearDateButtonLabel": "Vymazat datum" +} diff --git a/packages/circuit-ui/components/DateInput/translations/da-DK.json b/packages/circuit-ui/components/DateInput/translations/da-DK.json new file mode 100644 index 0000000000..9622a3d899 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/da-DK.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "År", + "monthInputLabel": "Måned", + "dayInputLabel": "Dag", + "openCalendarButtonLabel": "Skift dato", + "closeCalendarButtonLabel": "Luk kalender", + "applyDateButtonLabel": "Anvend dato", + "clearDateButtonLabel": "Slet dato" +} diff --git a/packages/circuit-ui/components/DateInput/translations/de-AT.json b/packages/circuit-ui/components/DateInput/translations/de-AT.json new file mode 100644 index 0000000000..b699d0c899 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/de-AT.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Jahr", + "monthInputLabel": "Monat", + "dayInputLabel": "Tag", + "openCalendarButtonLabel": "Datum ändern", + "closeCalendarButtonLabel": "Kalender schließen", + "applyDateButtonLabel": "Datum anwenden", + "clearDateButtonLabel": "Datum löschen" +} diff --git a/packages/circuit-ui/components/DateInput/translations/de-CH.json b/packages/circuit-ui/components/DateInput/translations/de-CH.json new file mode 100644 index 0000000000..b699d0c899 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/de-CH.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Jahr", + "monthInputLabel": "Monat", + "dayInputLabel": "Tag", + "openCalendarButtonLabel": "Datum ändern", + "closeCalendarButtonLabel": "Kalender schließen", + "applyDateButtonLabel": "Datum anwenden", + "clearDateButtonLabel": "Datum löschen" +} diff --git a/packages/circuit-ui/components/DateInput/translations/de-DE.json b/packages/circuit-ui/components/DateInput/translations/de-DE.json index 2051fc61ed..b699d0c899 100644 --- a/packages/circuit-ui/components/DateInput/translations/de-DE.json +++ b/packages/circuit-ui/components/DateInput/translations/de-DE.json @@ -3,7 +3,7 @@ "monthInputLabel": "Monat", "dayInputLabel": "Tag", "openCalendarButtonLabel": "Datum ändern", - "closeCalendarButtonLabel": "Kalendar schließen", + "closeCalendarButtonLabel": "Kalender schließen", "applyDateButtonLabel": "Datum anwenden", "clearDateButtonLabel": "Datum löschen" } diff --git a/packages/circuit-ui/components/DateInput/translations/de-LU.json b/packages/circuit-ui/components/DateInput/translations/de-LU.json new file mode 100644 index 0000000000..b699d0c899 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/de-LU.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Jahr", + "monthInputLabel": "Monat", + "dayInputLabel": "Tag", + "openCalendarButtonLabel": "Datum ändern", + "closeCalendarButtonLabel": "Kalender schließen", + "applyDateButtonLabel": "Datum anwenden", + "clearDateButtonLabel": "Datum löschen" +} diff --git a/packages/circuit-ui/components/DateInput/translations/el-CY.json b/packages/circuit-ui/components/DateInput/translations/el-CY.json new file mode 100644 index 0000000000..4832ba620d --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/el-CY.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Έτος", + "monthInputLabel": "Μήνας", + "dayInputLabel": "Ημέρα", + "openCalendarButtonLabel": "Αλλαγή ημερομηνίας", + "closeCalendarButtonLabel": "Κλείσιμο ημερολογίου", + "applyDateButtonLabel": "Εφαρμογή ημερομηνίας", + "clearDateButtonLabel": "Εκκαθάριση ημερομηνίας" +} diff --git a/packages/circuit-ui/components/DateInput/translations/el-GR.json b/packages/circuit-ui/components/DateInput/translations/el-GR.json new file mode 100644 index 0000000000..4832ba620d --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/el-GR.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Έτος", + "monthInputLabel": "Μήνας", + "dayInputLabel": "Ημέρα", + "openCalendarButtonLabel": "Αλλαγή ημερομηνίας", + "closeCalendarButtonLabel": "Κλείσιμο ημερολογίου", + "applyDateButtonLabel": "Εφαρμογή ημερομηνίας", + "clearDateButtonLabel": "Εκκαθάριση ημερομηνίας" +} diff --git a/packages/circuit-ui/components/DateInput/translations/en-AU.json b/packages/circuit-ui/components/DateInput/translations/en-AU.json new file mode 100644 index 0000000000..1881397a9c --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/en-AU.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Year", + "monthInputLabel": "Month", + "dayInputLabel": "Day", + "openCalendarButtonLabel": "Change date", + "closeCalendarButtonLabel": "Close calendar", + "applyDateButtonLabel": "Apply date", + "clearDateButtonLabel": "Clear date" +} diff --git a/packages/circuit-ui/components/DateInput/translations/en-GB.json b/packages/circuit-ui/components/DateInput/translations/en-GB.json new file mode 100644 index 0000000000..1881397a9c --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/en-GB.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Year", + "monthInputLabel": "Month", + "dayInputLabel": "Day", + "openCalendarButtonLabel": "Change date", + "closeCalendarButtonLabel": "Close calendar", + "applyDateButtonLabel": "Apply date", + "clearDateButtonLabel": "Clear date" +} diff --git a/packages/circuit-ui/components/DateInput/translations/en-IE.json b/packages/circuit-ui/components/DateInput/translations/en-IE.json new file mode 100644 index 0000000000..1881397a9c --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/en-IE.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Year", + "monthInputLabel": "Month", + "dayInputLabel": "Day", + "openCalendarButtonLabel": "Change date", + "closeCalendarButtonLabel": "Close calendar", + "applyDateButtonLabel": "Apply date", + "clearDateButtonLabel": "Clear date" +} diff --git a/packages/circuit-ui/components/DateInput/translations/en-MT.json b/packages/circuit-ui/components/DateInput/translations/en-MT.json new file mode 100644 index 0000000000..1881397a9c --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/en-MT.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Year", + "monthInputLabel": "Month", + "dayInputLabel": "Day", + "openCalendarButtonLabel": "Change date", + "closeCalendarButtonLabel": "Close calendar", + "applyDateButtonLabel": "Apply date", + "clearDateButtonLabel": "Clear date" +} diff --git a/packages/circuit-ui/components/DateInput/translations/es-CL.json b/packages/circuit-ui/components/DateInput/translations/es-CL.json new file mode 100644 index 0000000000..6772c3207d --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/es-CL.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Año", + "monthInputLabel": "Mes", + "dayInputLabel": "Día", + "openCalendarButtonLabel": "Cambiar la fecha", + "closeCalendarButtonLabel": "Cerrar calendario", + "applyDateButtonLabel": "Aplicar fecha", + "clearDateButtonLabel": "Borrar fecha" +} diff --git a/packages/circuit-ui/components/DateInput/translations/es-CO.json b/packages/circuit-ui/components/DateInput/translations/es-CO.json new file mode 100644 index 0000000000..b1d2e7845b --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/es-CO.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Año", + "monthInputLabel": "Mes", + "dayInputLabel": "Día", + "openCalendarButtonLabel": "Cambiar fecha", + "closeCalendarButtonLabel": "Cerrar calendario", + "applyDateButtonLabel": "Aplicar fecha", + "clearDateButtonLabel": "Borrar fecha" +} diff --git a/packages/circuit-ui/components/DateInput/translations/es-ES.json b/packages/circuit-ui/components/DateInput/translations/es-ES.json new file mode 100644 index 0000000000..b1d2e7845b --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/es-ES.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Año", + "monthInputLabel": "Mes", + "dayInputLabel": "Día", + "openCalendarButtonLabel": "Cambiar fecha", + "closeCalendarButtonLabel": "Cerrar calendario", + "applyDateButtonLabel": "Aplicar fecha", + "clearDateButtonLabel": "Borrar fecha" +} diff --git a/packages/circuit-ui/components/DateInput/translations/es-MX.json b/packages/circuit-ui/components/DateInput/translations/es-MX.json new file mode 100644 index 0000000000..1881397a9c --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/es-MX.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Year", + "monthInputLabel": "Month", + "dayInputLabel": "Day", + "openCalendarButtonLabel": "Change date", + "closeCalendarButtonLabel": "Close calendar", + "applyDateButtonLabel": "Apply date", + "clearDateButtonLabel": "Clear date" +} diff --git a/packages/circuit-ui/components/DateInput/translations/es-PE.json b/packages/circuit-ui/components/DateInput/translations/es-PE.json new file mode 100644 index 0000000000..b1d2e7845b --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/es-PE.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Año", + "monthInputLabel": "Mes", + "dayInputLabel": "Día", + "openCalendarButtonLabel": "Cambiar fecha", + "closeCalendarButtonLabel": "Cerrar calendario", + "applyDateButtonLabel": "Aplicar fecha", + "clearDateButtonLabel": "Borrar fecha" +} diff --git a/packages/circuit-ui/components/DateInput/translations/es-US.json b/packages/circuit-ui/components/DateInput/translations/es-US.json new file mode 100644 index 0000000000..b1d2e7845b --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/es-US.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Año", + "monthInputLabel": "Mes", + "dayInputLabel": "Día", + "openCalendarButtonLabel": "Cambiar fecha", + "closeCalendarButtonLabel": "Cerrar calendario", + "applyDateButtonLabel": "Aplicar fecha", + "clearDateButtonLabel": "Borrar fecha" +} diff --git a/packages/circuit-ui/components/DateInput/translations/et-EE.json b/packages/circuit-ui/components/DateInput/translations/et-EE.json new file mode 100644 index 0000000000..4aaf28bfe2 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/et-EE.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Aasta", + "monthInputLabel": "Kuu", + "dayInputLabel": "Päev", + "openCalendarButtonLabel": "Kuupäeva muutmine", + "closeCalendarButtonLabel": "Sulge kalender", + "applyDateButtonLabel": "Rakenda kuupäev", + "clearDateButtonLabel": "Tühjenda kuupäev" +} diff --git a/packages/circuit-ui/components/DateInput/translations/fi-FI.json b/packages/circuit-ui/components/DateInput/translations/fi-FI.json new file mode 100644 index 0000000000..8469ab66e6 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/fi-FI.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Vuosi", + "monthInputLabel": "Kuukausi", + "dayInputLabel": "Päivä", + "openCalendarButtonLabel": "Vaihda päivämäärä", + "closeCalendarButtonLabel": "Sulje kalenteri", + "applyDateButtonLabel": "Käytä päivämäärää", + "clearDateButtonLabel": "Tyhjennä päivämäärä" +} diff --git a/packages/circuit-ui/components/DateInput/translations/fr-BE.json b/packages/circuit-ui/components/DateInput/translations/fr-BE.json new file mode 100644 index 0000000000..60b957b707 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/fr-BE.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Année", + "monthInputLabel": "Mois", + "dayInputLabel": "Jour", + "openCalendarButtonLabel": "Modifier la date", + "closeCalendarButtonLabel": "Fermer le calendrier", + "applyDateButtonLabel": "Appliquer la date", + "clearDateButtonLabel": "Supprimer la date" +} diff --git a/packages/circuit-ui/components/DateInput/translations/fr-CH.json b/packages/circuit-ui/components/DateInput/translations/fr-CH.json new file mode 100644 index 0000000000..60b957b707 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/fr-CH.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Année", + "monthInputLabel": "Mois", + "dayInputLabel": "Jour", + "openCalendarButtonLabel": "Modifier la date", + "closeCalendarButtonLabel": "Fermer le calendrier", + "applyDateButtonLabel": "Appliquer la date", + "clearDateButtonLabel": "Supprimer la date" +} diff --git a/packages/circuit-ui/components/DateInput/translations/fr-FR.json b/packages/circuit-ui/components/DateInput/translations/fr-FR.json new file mode 100644 index 0000000000..60b957b707 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/fr-FR.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Année", + "monthInputLabel": "Mois", + "dayInputLabel": "Jour", + "openCalendarButtonLabel": "Modifier la date", + "closeCalendarButtonLabel": "Fermer le calendrier", + "applyDateButtonLabel": "Appliquer la date", + "clearDateButtonLabel": "Supprimer la date" +} diff --git a/packages/circuit-ui/components/DateInput/translations/fr-LU.json b/packages/circuit-ui/components/DateInput/translations/fr-LU.json new file mode 100644 index 0000000000..60b957b707 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/fr-LU.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Année", + "monthInputLabel": "Mois", + "dayInputLabel": "Jour", + "openCalendarButtonLabel": "Modifier la date", + "closeCalendarButtonLabel": "Fermer le calendrier", + "applyDateButtonLabel": "Appliquer la date", + "clearDateButtonLabel": "Supprimer la date" +} diff --git a/packages/circuit-ui/components/DateInput/translations/hr-HR.json b/packages/circuit-ui/components/DateInput/translations/hr-HR.json new file mode 100644 index 0000000000..146e5b3537 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/hr-HR.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Godina", + "monthInputLabel": "Mjesec", + "dayInputLabel": "Dan", + "openCalendarButtonLabel": "Promijeni datum", + "closeCalendarButtonLabel": "Zatvori kalendar", + "applyDateButtonLabel": "Primijeni datum", + "clearDateButtonLabel": "Izbriši datum" +} diff --git a/packages/circuit-ui/components/DateInput/translations/hu-HU.json b/packages/circuit-ui/components/DateInput/translations/hu-HU.json new file mode 100644 index 0000000000..c069789acf --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/hu-HU.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Év", + "monthInputLabel": "Hónap", + "dayInputLabel": "Nap", + "openCalendarButtonLabel": "Dátum módosítása", + "closeCalendarButtonLabel": "Naptár bezárása", + "applyDateButtonLabel": "Dátuma alkalmazása", + "clearDateButtonLabel": "Dátum törlése" +} diff --git a/packages/circuit-ui/components/DateInput/translations/it-CH.json b/packages/circuit-ui/components/DateInput/translations/it-CH.json new file mode 100644 index 0000000000..310ba513ec --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/it-CH.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Anno", + "monthInputLabel": "Mese", + "dayInputLabel": "Giorno", + "openCalendarButtonLabel": "Modifica data", + "closeCalendarButtonLabel": "Chiudi calendario", + "applyDateButtonLabel": "Applica data", + "clearDateButtonLabel": "Rimuovi data" +} diff --git a/packages/circuit-ui/components/DateInput/translations/it-IT.json b/packages/circuit-ui/components/DateInput/translations/it-IT.json new file mode 100644 index 0000000000..310ba513ec --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/it-IT.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Anno", + "monthInputLabel": "Mese", + "dayInputLabel": "Giorno", + "openCalendarButtonLabel": "Modifica data", + "closeCalendarButtonLabel": "Chiudi calendario", + "applyDateButtonLabel": "Applica data", + "clearDateButtonLabel": "Rimuovi data" +} diff --git a/packages/circuit-ui/components/DateInput/translations/lt-LT.json b/packages/circuit-ui/components/DateInput/translations/lt-LT.json new file mode 100644 index 0000000000..3040347e7f --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/lt-LT.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Metai", + "monthInputLabel": "Mėnuo", + "dayInputLabel": "Diena", + "openCalendarButtonLabel": "Keisti datą", + "closeCalendarButtonLabel": "Uždaryti kalendorių", + "applyDateButtonLabel": "Taikyti datą", + "clearDateButtonLabel": "Išvalyti datą" +} diff --git a/packages/circuit-ui/components/DateInput/translations/lv-LV.json b/packages/circuit-ui/components/DateInput/translations/lv-LV.json new file mode 100644 index 0000000000..4983f17a04 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/lv-LV.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Gads", + "monthInputLabel": "Mēnesis", + "dayInputLabel": "Diena", + "openCalendarButtonLabel": "Mainīt datumu", + "closeCalendarButtonLabel": "Aizvērt kalendāru", + "applyDateButtonLabel": "Piemērot datumu", + "clearDateButtonLabel": "Notīrīt datumu" +} diff --git a/packages/circuit-ui/components/DateInput/translations/nb-NO.json b/packages/circuit-ui/components/DateInput/translations/nb-NO.json new file mode 100644 index 0000000000..520258708a --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/nb-NO.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "År", + "monthInputLabel": "Måned", + "dayInputLabel": "Dag", + "openCalendarButtonLabel": "Endre dato", + "closeCalendarButtonLabel": "Lukk kalender", + "applyDateButtonLabel": "Bruk dato", + "clearDateButtonLabel": "Slett dato" +} diff --git a/packages/circuit-ui/components/DateInput/translations/nl-BE.json b/packages/circuit-ui/components/DateInput/translations/nl-BE.json new file mode 100644 index 0000000000..fcda3b845b --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/nl-BE.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Jaar", + "monthInputLabel": "Maand", + "dayInputLabel": "Dag", + "openCalendarButtonLabel": "Datum wijzigen", + "closeCalendarButtonLabel": "Agenda sluiten", + "applyDateButtonLabel": "Datum toepassen", + "clearDateButtonLabel": "Datum wissen" +} diff --git a/packages/circuit-ui/components/DateInput/translations/nl-NL.json b/packages/circuit-ui/components/DateInput/translations/nl-NL.json new file mode 100644 index 0000000000..fcda3b845b --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/nl-NL.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Jaar", + "monthInputLabel": "Maand", + "dayInputLabel": "Dag", + "openCalendarButtonLabel": "Datum wijzigen", + "closeCalendarButtonLabel": "Agenda sluiten", + "applyDateButtonLabel": "Datum toepassen", + "clearDateButtonLabel": "Datum wissen" +} diff --git a/packages/circuit-ui/components/DateInput/translations/pl-PL.json b/packages/circuit-ui/components/DateInput/translations/pl-PL.json new file mode 100644 index 0000000000..fbfa42c141 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/pl-PL.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Rok", + "monthInputLabel": "Miesiąc", + "dayInputLabel": "Dzień", + "openCalendarButtonLabel": "Zmień datę", + "closeCalendarButtonLabel": "Zamknij kalendarz", + "applyDateButtonLabel": "Zastosuj datę", + "clearDateButtonLabel": "Usuń datę" +} diff --git a/packages/circuit-ui/components/DateInput/translations/pt-BR.json b/packages/circuit-ui/components/DateInput/translations/pt-BR.json new file mode 100644 index 0000000000..22096f95a2 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/pt-BR.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Ano", + "monthInputLabel": "Mês", + "dayInputLabel": "Dia", + "openCalendarButtonLabel": "Alterar data", + "closeCalendarButtonLabel": "Fechar agenda", + "applyDateButtonLabel": "Aplicar data", + "clearDateButtonLabel": "Limpar data" +} diff --git a/packages/circuit-ui/components/DateInput/translations/pt-PT.json b/packages/circuit-ui/components/DateInput/translations/pt-PT.json new file mode 100644 index 0000000000..f401597430 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/pt-PT.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Ano", + "monthInputLabel": "Mês", + "dayInputLabel": "Dia", + "openCalendarButtonLabel": "Alterar data", + "closeCalendarButtonLabel": "Fechar calendário", + "applyDateButtonLabel": "Aplicar data", + "clearDateButtonLabel": "Limpar data" +} diff --git a/packages/circuit-ui/components/DateInput/translations/ro-RO.json b/packages/circuit-ui/components/DateInput/translations/ro-RO.json new file mode 100644 index 0000000000..4ba85f22de --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/ro-RO.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "An", + "monthInputLabel": "Lună", + "dayInputLabel": "Zi", + "openCalendarButtonLabel": "Modifică data", + "closeCalendarButtonLabel": "Închide calendarul", + "applyDateButtonLabel": "Aplică data", + "clearDateButtonLabel": "Șterge data" +} diff --git a/packages/circuit-ui/components/DateInput/translations/sk-SK.json b/packages/circuit-ui/components/DateInput/translations/sk-SK.json new file mode 100644 index 0000000000..b1f5665ada --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/sk-SK.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Rok", + "monthInputLabel": "Mesiac", + "dayInputLabel": "Deň", + "openCalendarButtonLabel": "Zmeniť dátum?", + "closeCalendarButtonLabel": "Zatvoriť kalendár", + "applyDateButtonLabel": "Vybrať dátum", + "clearDateButtonLabel": "Vymazať dátum" +} diff --git a/packages/circuit-ui/components/DateInput/translations/sl-SI.json b/packages/circuit-ui/components/DateInput/translations/sl-SI.json new file mode 100644 index 0000000000..da53cc8061 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/sl-SI.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "Leto", + "monthInputLabel": "Mesec", + "dayInputLabel": "Dan", + "openCalendarButtonLabel": "Spremeni datum", + "closeCalendarButtonLabel": "Zapri koledar", + "applyDateButtonLabel": "Uporabi datum", + "clearDateButtonLabel": "Počisti datum" +} diff --git a/packages/circuit-ui/components/DateInput/translations/sv-SE.json b/packages/circuit-ui/components/DateInput/translations/sv-SE.json new file mode 100644 index 0000000000..42dc825800 --- /dev/null +++ b/packages/circuit-ui/components/DateInput/translations/sv-SE.json @@ -0,0 +1,9 @@ +{ + "yearInputLabel": "År", + "monthInputLabel": "Månad", + "dayInputLabel": "Dag", + "openCalendarButtonLabel": "Ändra datum", + "closeCalendarButtonLabel": "Stäng kalendern", + "applyDateButtonLabel": "Välj datum", + "clearDateButtonLabel": "Rensa datum" +} diff --git a/packages/circuit-ui/util/i18n.ts b/packages/circuit-ui/util/i18n.ts index 427af69e56..c2a6770595 100644 --- a/packages/circuit-ui/util/i18n.ts +++ b/packages/circuit-ui/util/i18n.ts @@ -134,14 +134,14 @@ export function transformModulesToTranslations< {} as Translations, ); - // TODO: Re-enable validation once all translations have been added - // if (import.meta.env.DEV) { - // SUPPORTED_LOCALES.forEach((locale) => { - // if (!translations[locale]) { - // throw new Error(`Missing translations for locale ${locale}`); - // } - // }); - // } + // @ts-expect-error This environment variable is set by Vite. + if (import.meta.env.DEV) { + SUPPORTED_LOCALES.forEach((locale) => { + if (!translations[locale]) { + throw new Error(`Missing translations for locale ${locale}`); + } + }); + } return translations; }