From 5738c21237916b155828a30c6c29e5a75e0f12c6 Mon Sep 17 00:00:00 2001 From: Proxyfil Date: Tue, 7 Apr 2026 00:13:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20usage=20of=20plural=20in?= =?UTF-8?q?=20game=5Fnot=5Fstarted=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/play/admin/game_not_started.svelte | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/frontend/src/lib/play/admin/game_not_started.svelte b/frontend/src/lib/play/admin/game_not_started.svelte index 48bb27a..0c46a84 100644 --- a/frontend/src/lib/play/admin/game_not_started.svelte +++ b/frontend/src/lib/play/admin/game_not_started.svelte @@ -66,9 +66,15 @@ SPDX-License-Identifier: MPL-2.0

- {$t('play_page.players_waiting', { - count: players.length ?? 0 - })} + {#if players.length <= 1} + {$t('play_page.players_waiting', { + count: players.length ?? 0 + })} + {:else} + {$t('play_page.players_waiting_plural', { + count: players.length ?? 0 + })} + {/if}

@@ -79,9 +85,15 @@ SPDX-License-Identifier: MPL-2.0 {:else}

- {$t('play_page.players_waiting', { - count: players.length ?? 0 - })} + {#if players.length <= 1} + {$t('play_page.players_waiting', { + count: players.length ?? 0 + })} + {:else} + {$t('play_page.players_waiting_plural', { + count: players.length ?? 0 + })} + {/if}

{/if}