Localized 'Press Space...' in player setup menu

https://forum.zdoom.org/viewtopic.php?t=58881
This commit is contained in:
SashaTheRed 2017-12-29 14:55:19 +02:00 committed by alexey.lysiuk
parent 33213f5d5d
commit 19d25b00a3
2 changed files with 6 additions and 3 deletions

View File

@ -1795,6 +1795,9 @@ PLYRMNU_PLAYERGENDER = "Gender";
PLYRMNU_AUTOAIM = "Autoaim";
PLYRMNU_SWITCHONPICKUP = "Switch on pickup";
PLYRMNU_ALWAYSRUN = "Always Run";
PLYRMNU_PRESSSPACE = "PRESS \cjSPACE";
PLYRMNU_SEEFRONT = "TO SEE FRONT";
PLYRMNU_SEEBACK = "TO SEE BACK";
// Display Options
DSPLYMNU_TITLE = "DISPLAY OPTIONS";

View File

@ -585,9 +585,9 @@ class PlayerMenu : ListMenu
override void 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);
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);
}