Skip to content

Commit

Permalink
Display translated string for "random" in MP staging
Browse files Browse the repository at this point in the history
Resolves #2954

(cherry picked from commit 0274044)
  • Loading branch information
Wedge009 committed Oct 16, 2019
1 parent 0815343 commit 6761c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/dialogs/multiplayer/mp_staging.cpp
Expand Up @@ -464,7 +464,7 @@ void mp_staging::update_leader_display(ng::side_engine_ptr side, grid& row_grid)
current_leader = formatter() << side->cfg()["name"] << " (<i>" << current_leader << "</i>)";
}

find_widget<label>(&row_grid, "leader_type", false).set_label(current_leader);
find_widget<label>(&row_grid, "leader_type", false).set_label(current_leader == "random" ? _("Random") : current_leader);
find_widget<label>(&row_grid, "leader_faction", false).set_label("<span color='#a69275'>" + current_faction + "</span>");

// Gender
Expand Down

0 comments on commit 6761c54

Please sign in to comment.