Swapped the position and formatting of game names and titles in the MP lobby
Addresses point 2 of #2815.
This commit is contained in:
parent
384ba46c86
commit
6615aa7efe
3 changed files with 6 additions and 4 deletions
|
@ -22,6 +22,8 @@
|
|||
translatable (bug #2709, bug #2732).
|
||||
* Updated translations: British English, Chinese (Simplified), Czech, French,
|
||||
Polish, Scottish Gaelic, Spanish, Ukrainian
|
||||
### User Interface
|
||||
* Swapped the position and formatting of game names and titles in the MP lobby.
|
||||
### WML engine
|
||||
* Support formula= key in [variable] ConditionalWML
|
||||
* Support to_location in [move_unit], taking a location ID
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "scenario"
|
||||
id = "name"
|
||||
definition = "default_large"
|
||||
[/label]
|
||||
[/column]
|
||||
|
@ -89,7 +89,7 @@
|
|||
border_size = 3
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
id = "scenario"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
|
|
|
@ -425,10 +425,10 @@ std::map<std::string, string_map> mp_lobby::make_game_row_data(const mp::game_in
|
|||
color_string = (game.reloaded || game.started) ? "yellow" : "green";
|
||||
}
|
||||
|
||||
item["label"] = colorize("<i>" + game.name + "</i>", font::GRAY_COLOR.to_hex_string());
|
||||
item["label"] = game.name;
|
||||
data.emplace("name", item);
|
||||
|
||||
item["label"] = game.scenario;
|
||||
item["label"] = colorize("<i>" + game.scenario + "</i>", font::GRAY_COLOR.to_hex_string());
|
||||
data.emplace("scenario", item);
|
||||
|
||||
item["label"] = colorize(game.status, color_string);
|
||||
|
|
Loading…
Add table
Reference in a new issue