Fixed untranslated string

This commit is contained in:
Alexis
2025-08-24 11:26:11 +02:00
parent 806d3a7908
commit e7cef314a1
2 changed files with 10 additions and 1 deletions

View File

@@ -188,7 +188,12 @@ async function handleTileDrop() {
<button <button
class="text-2xs md:text-xs px-[5px] py-[5px] md:px-2 md:py-1 block w-full text-left font-bold rounded-sm whitespace-nowrap overflow-hidden text-ellipsis cursor-pointer transition-colors hover:text-foreground hover:bg-foreground/10" class="text-2xs md:text-xs px-[5px] py-[5px] md:px-2 md:py-1 block w-full text-left font-bold rounded-sm whitespace-nowrap overflow-hidden text-ellipsis cursor-pointer transition-colors hover:text-foreground hover:bg-foreground/10"
> >
{{ eventsNotDisplayed }} autre{{ eventsNotDisplayed > 1 ? 's' : '' }} <template v-if="eventsNotDisplayed === 1">
{{ $t('entity.calendar.event.oneOtherEvent') }}
</template>
<template v-else>
{{ $t('entity.calendar.event.multipleOtherEvents', { count: eventsNotDisplayed }) }}
</template>
</button> </button>
</UiPopoverTrigger> </UiPopoverTrigger>
<UiPopoverContent <UiPopoverContent

View File

@@ -227,6 +227,8 @@ export default defineI18nConfig(() => ({
hiddenLabel: "Hide this event", hiddenLabel: "Hide this event",
hiddenTooltip: "This event is visible only to game masters.", hiddenTooltip: "This event is visible only to game masters.",
addLocation: "Add a place", addLocation: "Add a place",
oneOtherEvent: "1 other",
multipleOtherEvents: "{count} others",
prevPage: "Previous page with events", prevPage: "Previous page with events",
nextPage: "Next page with events", nextPage: "Next page with events",
outOfBoundsTitle: "No next or previous events were found", outOfBoundsTitle: "No next or previous events were found",
@@ -580,6 +582,8 @@ export default defineI18nConfig(() => ({
hiddenLabel: "Rendre l'évènement privé", hiddenLabel: "Rendre l'évènement privé",
hiddenTooltip: "Cet évènement est uniquement visible pour les maîtres du jeu.", hiddenTooltip: "Cet évènement est uniquement visible pour les maîtres du jeu.",
addLocation: "Ajouter un endroit", addLocation: "Ajouter un endroit",
oneOtherEvent: "1 autre",
multipleOtherEvents: "{count} autres",
prevPage: "Précédente page à évènements", prevPage: "Précédente page à évènements",
nextPage: "Prochaine page à évènements", nextPage: "Prochaine page à évènements",
outOfBoundsTitle: "Aucun évènement suivant ou précédent trouvé", outOfBoundsTitle: "Aucun évènement suivant ou précédent trouvé",