Localized All categories string

Enabled categories for config export menu
This commit is contained in:
Glowbal
2015-08-08 11:52:23 +02:00
parent 38b9fdab4d
commit 0601aa80bb
5 changed files with 58 additions and 9 deletions

View File

@ -65,3 +65,12 @@ if (GVAR(ClientSettingsExportIncluded)) then {
} else {
(_settingsMenu displayCtrl 1102) ctrlSetText localize (LSTRING(inClientSettings));
};
{
if (_x == "") then {
_x = localize "STR_ACE_OptionsMenu_category_all";
};
(_menu displayCtrl 14) lbAdd if (isLocalized _x) then {localize _x} else {_x};
} forEach GVAR(categories);
(_menu displayCtrl 14) lbSetCurSel 0; //All Catagoies