MP Create Game: attempt to fix RFM type labels being untranslated (#2709)
Since these are defined in their MAKE_ENUM enum with N_, we need to manually un-not-translate them here.
This commit is contained in:
parent
3f4d003f13
commit
0333ddda6c
1 changed files with 3 additions and 1 deletions
|
@ -269,7 +269,9 @@ void mp_create_game::pre_show(window& win)
|
|||
//
|
||||
std::vector<config> rfm_options;
|
||||
for(const auto& type : rfm_types_) {
|
||||
rfm_options.emplace_back(config {"label", mp_game_settings::RANDOM_FACTION_MODE::enum_to_string(type)});
|
||||
rfm_options.emplace_back(config {"label",
|
||||
translation::sgettext(mp_game_settings::RANDOM_FACTION_MODE::enum_to_string(type).c_str())
|
||||
});
|
||||
};
|
||||
|
||||
// Manually insert tooltips. Need to find a better way to do this
|
||||
|
|
Loading…
Add table
Reference in a new issue