mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- fixed: menu language selection would not save on exit (this was due to CVAR protections from the menu)
- moved language entry up a bit in the menu - converted the language entry into a proper CVAR string list selection, instead of a separate menu with said list.
This commit is contained in:
parent
8becc0e78d
commit
baf5ebd1ce
1 changed files with 10 additions and 11 deletions
|
@ -378,11 +378,11 @@ OptionMenu "OptionsMenu" protected
|
||||||
Submenu "$OPTMNU_DISPLAY", "VideoOptions"
|
Submenu "$OPTMNU_DISPLAY", "VideoOptions"
|
||||||
Submenu "$OPTMNU_VIDEO", "VideoModeMenu"
|
Submenu "$OPTMNU_VIDEO", "VideoModeMenu"
|
||||||
StaticText " "
|
StaticText " "
|
||||||
|
Option "$OPTMNU_LANGUAGE", "language", "LanguageOptions"
|
||||||
|
StaticText " "
|
||||||
SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults"
|
SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults"
|
||||||
SafeCommand "$OPTMNU_RESETTOSAVED", "reset2saved"
|
SafeCommand "$OPTMNU_RESETTOSAVED", "reset2saved"
|
||||||
Command "$OPTMNU_CONSOLE", "menuconsole"
|
Command "$OPTMNU_CONSOLE", "menuconsole"
|
||||||
StaticText " "
|
|
||||||
Submenu "$OPTMNU_LANGUAGE", "LanguageOptions"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------------
|
||||||
|
@ -2554,14 +2554,13 @@ OptionMenu "ReverbSave" protected
|
||||||
*
|
*
|
||||||
*=======================================*/
|
*=======================================*/
|
||||||
|
|
||||||
OptionMenu "LanguageOptions"
|
OptionString "LanguageOptions"
|
||||||
{
|
{
|
||||||
Title "$OPTMNU_LANGUAGE"
|
"auto", "Auto"
|
||||||
StaticText " "
|
"eng", "English (UK)"
|
||||||
Command "English (UK)", "language eng"
|
"enu", "English (US)"
|
||||||
Command "English (US)", "language enu"
|
"fr", "Français (FR)"
|
||||||
Command "Français (FR)", "language fr"
|
"ita", "Italiano (ITA)"
|
||||||
Command "Italiano (ITA)", "language ita"
|
"ptb", "Português do Brasil (PTB)"
|
||||||
Command "Português do Brasil (PTB)", "language ptb"
|
"rus", "Русский (RU)"
|
||||||
Command "Русский (RU)", "language rus"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue