fixed team count (#654)

## Description:
fixed .w.

<img width="541" alt="スクリーンショット 2025-05-05 11 22 34"
src="https://github.com/user-attachments/assets/4c324d64-a9cd-44a8-a72b-2465849303c9"
/>

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:
aotumuri
This commit is contained in:
Aotumuri
2025-05-06 01:14:55 +09:00
committed by evan
parent 63bca319a6
commit 59107d09b2
3 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -143,7 +143,7 @@
"public_lobby": {
"join": "Join next Game",
"waiting": "players waiting",
"teams": "Team count:"
"teams": "{num} teams"
},
"username": {
"enter_username": "Enter your username",
+1 -1
View File
@@ -138,7 +138,7 @@
"public_lobby": {
"join": "次のゲームに参加",
"waiting": "人が参加しています...",
"teams": "チームの数:"
"teams": "{num}チーム"
},
"username": {
"enter_username": "ユーザー名を入力",
+1 -8
View File
@@ -132,16 +132,9 @@ export class PublicLobby extends LitElement {
</div>
<div class="text-md font-medium text-blue-100">
${lobby.gameConfig.gameMode == GameMode.Team
? translateText("game_mode.teams")
? translateText("public_lobby.teams", { num: teamCount })
: translateText("game_mode.ffa")}
</div>
${teamCount !== null
? html`
<div class="text-md font-medium text-blue-100">
${translateText("public_lobby.teams")} ${teamCount}
</div>
`
: null}
</div>
<div class="flex flex-col items-center">
<div class="text-md font-medium text-blue-100 mb-2">