#1459 Update translation to correctly pluralize the available places for an event

This commit is contained in:
Massedil
2024-10-15 17:35:27 +02:00
parent d1ce24cb69
commit 5b5f295dc3
3 changed files with 11 additions and 7 deletions

View File

@@ -124,9 +124,13 @@
<!-- Less than 10 seats left -->
<span class="has-text-danger" v-if="lastSeatsLeft">
{{
t("{number} seats left", {
number: seatsLeft,
})
t(
"{number} seats left",
{
number: seatsLeft,
},
seatsLeft ?? 0
)
}}
</span>
<span