🐛 Fixed usage of plural in game_not_started page

This commit is contained in:
Proxyfil
2026-04-07 00:13:41 +02:00
parent e5da6c9df3
commit 5738c21237
@@ -66,9 +66,15 @@ SPDX-License-Identifier: MPL-2.0
<div class="m-auto"> <div class="m-auto">
<div class="flex justify-center my-4"> <div class="flex justify-center my-4">
<p class="m-auto text-2xl"> <p class="m-auto text-2xl">
{$t('play_page.players_waiting', { {#if players.length <= 1}
count: players.length ?? 0 {$t('play_page.players_waiting', {
})} count: players.length ?? 0
})}
{:else}
{$t('play_page.players_waiting_plural', {
count: players.length ?? 0
})}
{/if}
</p> </p>
</div> </div>
<div class="flex-col flex justify-center"> <div class="flex-col flex justify-center">
@@ -79,9 +85,15 @@ SPDX-License-Identifier: MPL-2.0
{:else} {:else}
<div class="flex justify-center"> <div class="flex justify-center">
<p class="m-auto text-2xl"> <p class="m-auto text-2xl">
{$t('play_page.players_waiting', { {#if players.length <= 1}
count: players.length ?? 0 {$t('play_page.players_waiting', {
})} count: players.length ?? 0
})}
{:else}
{$t('play_page.players_waiting_plural', {
count: players.length ?? 0
})}
{/if}
</p> </p>
</div> </div>
{/if} {/if}