diff --git a/packages/ui/lang/en.json b/packages/ui/lang/en.json index 953c3fc73c..bde4acb270 100644 --- a/packages/ui/lang/en.json +++ b/packages/ui/lang/en.json @@ -52,6 +52,7 @@ "Spanish": "Español", "Chinese": "中文", "French": "Français", + "Italian": "Italiano", "MinutesBefore": "{minutes, plural, =1 {a minute before} other {# minutes before}}", "HoursBefore": "{hours, plural, =1 {an hour before} other {# hours before}}", "DaysBefore": "{days, plural, =1 {a day before} other {# days before}}", diff --git a/packages/ui/lang/es.json b/packages/ui/lang/es.json index dc48e4cc58..0719fdaeb3 100644 --- a/packages/ui/lang/es.json +++ b/packages/ui/lang/es.json @@ -52,6 +52,7 @@ "Spanish": "Español", "Chinese": "中文", "French": "Français", + "Italian": "Italiano", "MinutesBefore": "{minutes, plural, =1 {un minuto antes} other {# minutos antes}}", "HoursBefore": "{hours, plural, =1 {una hora antes} other {# horas antes}}", "DaysBefore": "{days, plural, =1 {un día antes} other {# días antes}}", diff --git a/packages/ui/lang/fr.json b/packages/ui/lang/fr.json index 124d6c56ce..5071130cf7 100644 --- a/packages/ui/lang/fr.json +++ b/packages/ui/lang/fr.json @@ -52,6 +52,7 @@ "Spanish": "Español", "Chinese": "中文", "French": "Français", + "Italian": "Italiano", "MinutesBefore": "{minutes, plural, =1 {une minute avant} other {# minutes avant}}", "HoursBefore": "{hours, plural, =1 {une heure avant} other {# heures avant}}", "DaysBefore": "{days, plural, =1 {un jour avant} other {# jours avant}}", diff --git a/packages/ui/lang/pt.json b/packages/ui/lang/pt.json index 5a0f06231f..ca7dbdfa42 100644 --- a/packages/ui/lang/pt.json +++ b/packages/ui/lang/pt.json @@ -52,6 +52,7 @@ "Spanish": "Español", "Chinese": "中文", "French": "Français", + "Italian": "Italiano", "MinutesBefore": "{minutes, plural, =1 {um minuto antes} other {# minutos antes}}", "HoursBefore": "{hours, plural, =1 {uma hora antes} other {# horas antes}}", "DaysBefore": "{days, plural, =1 {um dia antes} other {# dias antes}}", diff --git a/packages/ui/lang/ru.json b/packages/ui/lang/ru.json index 89c01ac867..0cb07545a9 100644 --- a/packages/ui/lang/ru.json +++ b/packages/ui/lang/ru.json @@ -52,6 +52,7 @@ "Portuguese": "Português", "Chinese": "中文", "French": "Français", + "Italian": "Italiano", "MinutesBefore": "{minutes, plural, =1 {за минуту} one {за # минуту} few {за # минуты} other {за # минут}}", "HoursBefore": "{hours, plural, =1 {за час} one {за # час} few {за # часа} other {за # часов}}", "DaysBefore": "{days, plural, =1 {за день} one {за # день} few {за # дня} other {за # дней}}", diff --git a/packages/ui/lang/zh.json b/packages/ui/lang/zh.json index b4bd0a6462..a7608514ae 100644 --- a/packages/ui/lang/zh.json +++ b/packages/ui/lang/zh.json @@ -52,6 +52,7 @@ "Spanish": "Español", "Chinese": "中文", "French": "Français", + "Italian": "Italiano", "MinutesBefore": "{minutes, plural, =1 {一分钟前} other {# 分钟前}}", "HoursBefore": "{hours, plural, =1 {一小时前} other {# 小时前}}", "DaysBefore": "{days, plural, =1 {一天前} other {# 天前}}", diff --git a/packages/ui/src/components/internal/LangSelector.svelte b/packages/ui/src/components/internal/LangSelector.svelte index 9906bd98ec..a37768c34c 100644 --- a/packages/ui/src/components/internal/LangSelector.svelte +++ b/packages/ui/src/components/internal/LangSelector.svelte @@ -31,7 +31,8 @@ { id: 'es', label: ui.string.Spanish, logo: '🇪🇸' }, { id: 'ru', label: ui.string.Russian, logo: '🇷🇺' }, { id: 'zh', label: ui.string.Chinese, logo: '🇨🇳' }, - { id: 'fr', label: ui.string.French, logo: '🇫🇷' } + { id: 'fr', label: ui.string.French, logo: '🇫🇷' }, + { id: 'it', label: ui.string.Italian, logo: '🇮🇹' } ].filter((lang) => uiLangs.has(lang.id)) if (langs.findIndex((l) => l.id === currentLanguage) < 0 && langs.length !== 0) { setLanguage(langs[0].id) diff --git a/packages/ui/src/plugin.ts b/packages/ui/src/plugin.ts index 1f4be4bde1..1c8094eaac 100644 --- a/packages/ui/src/plugin.ts +++ b/packages/ui/src/plugin.ts @@ -73,6 +73,7 @@ export const uis = plugin(uiId, { Portuguese: '' as IntlString, Chinese: '' as IntlString, French: '' as IntlString, + Italian: '' as IntlString, MinutesBefore: '' as IntlString, HoursBefore: '' as IntlString, DaysBefore: '' as IntlString, diff --git a/plugins/calendar-assets/lang/it.json b/plugins/calendar-assets/lang/it.json index 25b85ec427..9183e6c4a2 100644 --- a/plugins/calendar-assets/lang/it.json +++ b/plugins/calendar-assets/lang/it.json @@ -1,4 +1,4 @@ -{{ +{ "string": { "ApplicationLabelCalendar": "Calendario", "Calendars": "Calendari",