🐛 Fixed usage of plural in game_not_started page
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user