fix malformed markup and remove another hardcoded one (#9568)
This commit is contained in:
parent
ddbdf01588
commit
37b7a83ce0
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ const std::string& spaced_em_dash()
|
|||
std::string make_game_type_marker(const std::string& text, bool color_for_missing)
|
||||
{
|
||||
if(color_for_missing) {
|
||||
return markup::bold(markup::span_color("#f00", "[", text, "] "));
|
||||
return markup::span_color("#f00", markup::bold("[", text, "] "));
|
||||
} else {
|
||||
return markup::bold("[", text, "] ");
|
||||
}
|
||||
|
|
|
@ -446,7 +446,7 @@ void mp_lobby::adjust_game_row_contents(const mp::game_info& game, grid* grid, b
|
|||
// TODO: move to some general area of the code.
|
||||
const auto yes_or_no = [](bool val) { return val ? _("yes") : _("no"); };
|
||||
|
||||
ss << "\n<big>" << markup::span_color(font::TITLE_COLOR, _("Settings")) << "</big>\n";
|
||||
ss << "\n" << markup::tag("big", markup::span_color(font::TITLE_COLOR, _("Settings"))) << "\n";
|
||||
ss << _("Experience modifier:") << " " << game.xp << "\n";
|
||||
ss << _("Gold per village:") << " " << game.gold << "\n";
|
||||
ss << _("Map size:") << " " << game.map_size_info << "\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue