mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +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_VIDEO", "VideoModeMenu"
|
||||
StaticText " "
|
||||
Option "$OPTMNU_LANGUAGE", "language", "LanguageOptions"
|
||||
StaticText " "
|
||||
SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults"
|
||||
SafeCommand "$OPTMNU_RESETTOSAVED", "reset2saved"
|
||||
Command "$OPTMNU_CONSOLE", "menuconsole"
|
||||
StaticText " "
|
||||
Submenu "$OPTMNU_LANGUAGE", "LanguageOptions"
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------
|
||||
|
@ -2554,14 +2554,13 @@ OptionMenu "ReverbSave" protected
|
|||
*
|
||||
*=======================================*/
|
||||
|
||||
OptionMenu "LanguageOptions"
|
||||
OptionString "LanguageOptions"
|
||||
{
|
||||
Title "$OPTMNU_LANGUAGE"
|
||||
StaticText " "
|
||||
Command "English (UK)", "language eng"
|
||||
Command "English (US)", "language enu"
|
||||
Command "Français (FR)", "language fr"
|
||||
Command "Italiano (ITA)", "language ita"
|
||||
Command "Português do Brasil (PTB)", "language ptb"
|
||||
Command "Русский (RU)", "language rus"
|
||||
"auto", "Auto"
|
||||
"eng", "English (UK)"
|
||||
"enu", "English (US)"
|
||||
"fr", "Français (FR)"
|
||||
"ita", "Italiano (ITA)"
|
||||
"ptb", "Português do Brasil (PTB)"
|
||||
"rus", "Русский (RU)"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue