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:
Charles Dang 2018-03-24 00:39:15 +11:00 committed by Iris Morelle
parent 3f4d003f13
commit 0333ddda6c

View file

@ -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