From 2faefa32ef5fe47d91618e93bf808e704c0b0f2a Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Wed, 16 Apr 2025 10:55:41 +0200 Subject: [PATCH] Fixed plural typo --- components/calendar/PreviewCard.vue | 3 ++- i18n.config.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/calendar/PreviewCard.vue b/components/calendar/PreviewCard.vue index 281facd..3658640 100644 --- a/components/calendar/PreviewCard.vue +++ b/components/calendar/PreviewCard.vue @@ -68,7 +68,8 @@ const calendarLink = computed(() => isOwner.value ? `/my/calendars/${props.calen

- {{ $t("entity.calendar.hasXEvents", { count: calendar.eventNb?.[0].count }) }} + {{ $t("entity.calendar.hasXEvents", { count: calendar.eventNb?.[0].count }) }} + {{ $t("entity.calendar.hasXEvent", { count: calendar.eventNb?.[0].count }) }}

({ notFoundForWorld: "No calendar for this world… yet !", backToList: "Go back to calendars", isLoading: "Calendar is loading…", + hasXEvent: "{count} available event", hasXEvents: "{count} available events", seeCategories: "Modify categories", seeOptions: "Calendar options", @@ -488,6 +489,7 @@ export default defineI18nConfig(() => ({ notFoundForWorld: "Aucun calendrier pour ce monde… pour l'instant !", backToList: "Retourner aux calendriers", isLoading: "Chargement du calendrier…", + hasXEvent: "{count} évènement disponible", hasXEvents: "{count} évènements disponibles", seeCategories: "Gestion des catégories", seeOptions: "Options du calendrier",