Fixed plural typo
This commit is contained in:
@@ -68,7 +68,8 @@ const calendarLink = computed(() => isOwner.value ? `/my/calendars/${props.calen
|
||||
<UiCardContent class="grow">
|
||||
<p class="flex items-center gap-1">
|
||||
<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>
|
||||
|
||||
<div
|
||||
|
||||
@@ -166,6 +166,7 @@ export default defineI18nConfig(() => ({
|
||||
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",
|
||||
|
||||
Reference in New Issue
Block a user