mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 17:46:39 +00:00
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:
@@ -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",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
"public_lobby": {
|
||||
"join": "次のゲームに参加",
|
||||
"waiting": "人が参加しています...",
|
||||
"teams": "チームの数:"
|
||||
"teams": "{num}チーム"
|
||||
},
|
||||
"username": {
|
||||
"enter_username": "ユーザー名を入力",
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user