Add team size details to Public Lobby UI

## Description:

- Introduced new methods in PublicLobby to calculate team size and total based on game configuration.
- Updated UI to display detailed team information, including the number of players per team.
- Added a new localization entry for "players_per_team" in en.json to support the new feature.

## Please complete the following:

- [X] I have added relevant tests to the test directory.
- [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced.

## Please put your Discord username so you can be contacted if a bug or regression is found:

YourUsername
This commit is contained in:
scamiv
2025-12-09 15:05:07 +01:00
parent ab53ee687f
commit f34545ddc6
2 changed files with 96 additions and 11 deletions
+2 -1
View File
@@ -238,7 +238,8 @@
"teams_Trios": "Trios (teams of 3)",
"teams_Quads": "Quads (teams of 4)",
"teams_hvn": "Humans Vs Nations",
"teams": "{num} teams"
"teams": "{num} teams",
"players_per_team": "{num} Players per Team"
},
"matchmaking_modal": {
"title": "Matchmaking",