Fixed plural typo
This commit is contained in:
@@ -68,7 +68,8 @@ const calendarLink = computed(() => isOwner.value ? `/my/calendars/${props.calen
|
|||||||
<UiCardContent class="grow">
|
<UiCardContent class="grow">
|
||||||
<p class="flex items-center gap-1">
|
<p class="flex items-center gap-1">
|
||||||
<PhCalendarDots size="24" weight="fill" />
|
<PhCalendarDots size="24" weight="fill" />
|
||||||
<span>{{ $t("entity.calendar.hasXEvents", { count: calendar.eventNb?.[0].count }) }}</span>
|
<span v-if="calendar.eventNb?.[0].count! > 1">{{ $t("entity.calendar.hasXEvents", { count: calendar.eventNb?.[0].count }) }}</span>
|
||||||
|
<span v-else>{{ $t("entity.calendar.hasXEvent", { count: calendar.eventNb?.[0].count }) }}</span>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -166,6 +166,7 @@ export default defineI18nConfig(() => ({
|
|||||||
notFoundForWorld: "No calendar for this world… yet !",
|
notFoundForWorld: "No calendar for this world… yet !",
|
||||||
backToList: "Go back to calendars",
|
backToList: "Go back to calendars",
|
||||||
isLoading: "Calendar is loading…",
|
isLoading: "Calendar is loading…",
|
||||||
|
hasXEvent: "{count} available event",
|
||||||
hasXEvents: "{count} available events",
|
hasXEvents: "{count} available events",
|
||||||
seeCategories: "Modify categories",
|
seeCategories: "Modify categories",
|
||||||
seeOptions: "Calendar options",
|
seeOptions: "Calendar options",
|
||||||
@@ -488,6 +489,7 @@ export default defineI18nConfig(() => ({
|
|||||||
notFoundForWorld: "Aucun calendrier pour ce monde… pour l'instant !",
|
notFoundForWorld: "Aucun calendrier pour ce monde… pour l'instant !",
|
||||||
backToList: "Retourner aux calendriers",
|
backToList: "Retourner aux calendriers",
|
||||||
isLoading: "Chargement du calendrier…",
|
isLoading: "Chargement du calendrier…",
|
||||||
|
hasXEvent: "{count} évènement disponible",
|
||||||
hasXEvents: "{count} évènements disponibles",
|
hasXEvents: "{count} évènements disponibles",
|
||||||
seeCategories: "Gestion des catégories",
|
seeCategories: "Gestion des catégories",
|
||||||
seeOptions: "Options du calendrier",
|
seeOptions: "Options du calendrier",
|
||||||
|
|||||||
Reference in New Issue
Block a user