mp_staging: Fix regression: When "use map settings" was set, the team name's raw tstring value, with raw TRANSLATABLE_PART and TEXTDOMAIN_SEPARATOR, was shown in the UI.
Regression from 3ba0bbb343
.
This commit is contained in:
parent
39d6c097ea
commit
909629100e
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ void mp_staging::pre_show(window& window)
|
|||
std::map<std::string, string_map> tree_data;
|
||||
string_map tree_item;
|
||||
|
||||
tree_item["label"] = (formatter() << _("Team:") << " " << team.user_team_name).str();
|
||||
tree_item["label"] = (formatter() << _("Team:") << " " << t_string::from_serialized(team.user_team_name)).str();
|
||||
tree_data.emplace("tree_view_node_label", tree_item);
|
||||
|
||||
tree_view_node& team_node = tree.add_node("team_header", tree_data);
|
||||
|
|
Loading…
Add table
Reference in a new issue