mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
Localized 'Press Space...' in player setup menu
https://forum.zdoom.org/viewtopic.php?t=58881
This commit is contained in:
parent
33213f5d5d
commit
19d25b00a3
2 changed files with 6 additions and 3 deletions
|
@ -1795,6 +1795,9 @@ PLYRMNU_PLAYERGENDER = "Gender";
|
||||||
PLYRMNU_AUTOAIM = "Autoaim";
|
PLYRMNU_AUTOAIM = "Autoaim";
|
||||||
PLYRMNU_SWITCHONPICKUP = "Switch on pickup";
|
PLYRMNU_SWITCHONPICKUP = "Switch on pickup";
|
||||||
PLYRMNU_ALWAYSRUN = "Always Run";
|
PLYRMNU_ALWAYSRUN = "Always Run";
|
||||||
|
PLYRMNU_PRESSSPACE = "PRESS \cjSPACE";
|
||||||
|
PLYRMNU_SEEFRONT = "TO SEE FRONT";
|
||||||
|
PLYRMNU_SEEBACK = "TO SEE BACK";
|
||||||
|
|
||||||
// Display Options
|
// Display Options
|
||||||
DSPLYMNU_TITLE = "DISPLAY OPTIONS";
|
DSPLYMNU_TITLE = "DISPLAY OPTIONS";
|
||||||
|
|
|
@ -585,11 +585,11 @@ class PlayerMenu : ListMenu
|
||||||
override void Drawer ()
|
override void Drawer ()
|
||||||
{
|
{
|
||||||
Super.Drawer();
|
Super.Drawer();
|
||||||
String str = "PRESS " .. TEXTCOLOR_WHITE .. "SPACE";
|
String str = Stringtable.Localize("$PLYRMNU_PRESSSPACE");
|
||||||
screen.DrawText (SmallFont, Font.CR_GOLD, 320 - 32 - 32 - SmallFont.StringWidth (str)/2, 50 + 48 + 70, str, DTA_Clean, true);
|
screen.DrawText (SmallFont, Font.CR_GOLD, 320 - 32 - 32 - SmallFont.StringWidth (str)/2, 50 + 48 + 70, str, DTA_Clean, true);
|
||||||
str = mRotation ? "TO SEE FRONT" : "TO SEE BACK";
|
str = Stringtable.Localize(mRotation ? "$PLYRMNU_SEEFRONT" : "$PLYRMNU_SEEBACK");
|
||||||
screen.DrawText (SmallFont, Font.CR_GOLD, 320 - 32 - 32 - SmallFont.StringWidth (str)/2, 50 + 48 + 70 + SmallFont.GetHeight (), str, DTA_Clean, true);
|
screen.DrawText (SmallFont, Font.CR_GOLD, 320 - 32 - 32 - SmallFont.StringWidth (str)/2, 50 + 48 + 70 + SmallFont.GetHeight (), str, DTA_Clean, true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue