mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
Add language menu to Options
In this menu, all languages supported by GZDoom are selectable with one simple click! Credits to @PROPHESSOR for making it! (This only edits the English and French languages because they are the only languages currently up to date with GZDoom’s development. A Russian translation will follow suit at a later date.)
This commit is contained in:
parent
e49a5fdb61
commit
7060f9cc05
3 changed files with 26 additions and 0 deletions
|
@ -1730,6 +1730,7 @@ OPTMNU_DEFAULTS = "Reset to defaults";
|
||||||
OPTMNU_RESETTOSAVED = "Reset to last saved";
|
OPTMNU_RESETTOSAVED = "Reset to last saved";
|
||||||
OPTMNU_CONSOLE = "Go to console";
|
OPTMNU_CONSOLE = "Go to console";
|
||||||
OPTMNU_REVERB = "Reverb environment editor";
|
OPTMNU_REVERB = "Reverb environment editor";
|
||||||
|
OPTMNU_LANGUAGE = "Language";
|
||||||
|
|
||||||
// Controls Menu
|
// Controls Menu
|
||||||
|
|
||||||
|
|
|
@ -1774,6 +1774,7 @@ OPTMNU_DEFAULTS = "Réinitialiser les paramètres";
|
||||||
OPTMNU_RESETTOSAVED = "Recharger dernière config.";
|
OPTMNU_RESETTOSAVED = "Recharger dernière config.";
|
||||||
OPTMNU_CONSOLE = "Ouvrir la console";
|
OPTMNU_CONSOLE = "Ouvrir la console";
|
||||||
OPTMNU_REVERB = "Editeur environement de révérb.";
|
OPTMNU_REVERB = "Editeur environement de révérb.";
|
||||||
|
OPTMNU_LANGUAGE = "Langage";
|
||||||
// Controls Menu
|
// Controls Menu
|
||||||
|
|
||||||
CNTRLMNU_TITLE = "MODIFIER CONTROLES";
|
CNTRLMNU_TITLE = "MODIFIER CONTROLES";
|
||||||
|
|
|
@ -2545,3 +2545,27 @@ OptionMenu "ReverbSave" protected
|
||||||
StaticText "Environments to save"
|
StaticText "Environments to save"
|
||||||
// Rest is filled in by code.
|
// Rest is filled in by code.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*=======================================
|
||||||
|
*
|
||||||
|
* Language menu
|
||||||
|
*
|
||||||
|
*=======================================*/
|
||||||
|
|
||||||
|
OptionMenu "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"
|
||||||
|
}
|
||||||
|
|
||||||
|
AddOptionMenu "OptionsMenu"
|
||||||
|
{
|
||||||
|
StaticText " "
|
||||||
|
Submenu "$OPTMNU_LANGUAGE", "LanguageOptions"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue