Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"public_lobby": {
"join": "Join next Game",
"waiting": "players waiting",
"teams": "Team count:"
"teams": "{num} teams"
},
"username": {
"enter_username": "Enter your username",
Expand Down
2 changes: 1 addition & 1 deletion resources/lang/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"public_lobby": {
"join": "次のゲームに参加",
"waiting": "人が参加しています...",
"teams": "チームの数:"
"teams": "{num}チーム"
},
"username": {
"enter_username": "ユーザー名を入力",
Expand Down
9 changes: 1 addition & 8 deletions src/client/PublicLobby.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
Loading