From 6fee4c71582819c016aa3b113ca07ce844fb29df Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Tue, 3 Sep 2024 18:23:28 +0200 Subject: [PATCH] Added translations for more calendar forms --- components/calendar/dialog/Create.vue | 4 +- components/calendar/form/Create.vue | 13 +++-- components/calendar/input/MonthList.vue | 51 ++++++++++++++--- components/calendar/input/TodaySelect.vue | 12 ++-- i18n.config.ts | 69 ++++++++++++++++++++++- 5 files changed, 129 insertions(+), 20 deletions(-) diff --git a/components/calendar/dialog/Create.vue b/components/calendar/dialog/Create.vue index c2e68e8..c6285cd 100644 --- a/components/calendar/dialog/Create.vue +++ b/components/calendar/dialog/Create.vue @@ -30,7 +30,9 @@ function handleClose() { {{ calendarSkeletonName }} - Nouveau calendrier + + {{ $t('entity.calendar.createDialog.title') }} + diff --git a/components/calendar/form/Create.vue b/components/calendar/form/Create.vue index f9fbb7d..f92b1d3 100644 --- a/components/calendar/form/Create.vue +++ b/components/calendar/form/Create.vue @@ -78,19 +78,22 @@ function handleFormCancel() {
- Général + + {{ $t('entity.calendar.createDialog.tabs.general.title') }}
- Mois de l'année + + {{ $t('entity.calendar.createDialog.tabs.months.title') }}
- Aujourd'hui + + {{ $t('entity.calendar.createDialog.tabs.today.title') }}
@@ -116,7 +119,7 @@ function handleFormCancel() { diff --git a/components/calendar/input/MonthList.vue b/components/calendar/input/MonthList.vue index 4b3d62e..c662e07 100644 --- a/components/calendar/input/MonthList.vue +++ b/components/calendar/input/MonthList.vue @@ -67,10 +67,28 @@ useSortable(monthSortableList, model.value, { animation: 150, handle: ".handle"