mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
main.cpp: make pause screen translatable
This mainly adds loc::gettext calls. This commit is part of rewritten history of the localization branch. The original (unsquashed) commit history can be found here: https://github.com/Dav999-v/VVVVVV/tree/localization-orig
This commit is contained in:
parent
93a3c40c39
commit
56f812a7e9
1 changed files with 4 additions and 4 deletions
|
@ -873,10 +873,10 @@ static void unfocused_run(void)
|
||||||
{
|
{
|
||||||
ClearSurface(graphics.backBuffer);
|
ClearSurface(graphics.backBuffer);
|
||||||
#define FLIP(YPOS) graphics.flipmode ? 232 - YPOS : YPOS
|
#define FLIP(YPOS) graphics.flipmode ? 232 - YPOS : YPOS
|
||||||
graphics.bprint(5, FLIP(110), "Game paused", 196 - help.glow, 255 - help.glow, 196 - help.glow, true);
|
graphics.bprint(5, FLIP(110), loc::gettext("Game paused"), 196 - help.glow, 255 - help.glow, 196 - help.glow, true);
|
||||||
graphics.bprint(5, FLIP(120), "[click to resume]", 196 - help.glow, 255 - help.glow, 196 - help.glow, true);
|
graphics.bprint(5, FLIP(120), loc::gettext("[click to resume]"), 196 - help.glow, 255 - help.glow, 196 - help.glow, true);
|
||||||
graphics.bprint(5, FLIP(220), "Press M to mute in game", 164 - help.glow, 196 - help.glow, 164 - help.glow, true);
|
graphics.bprint(5, FLIP(220), loc::gettext("Press M to mute in game"), 164 - help.glow, 196 - help.glow, 164 - help.glow, true);
|
||||||
graphics.bprint(5, FLIP(230), "Press N to mute music only", 164 - help.glow, 196 - help.glow, 164 - help.glow, true);
|
graphics.bprint(5, FLIP(230), loc::gettext("Press N to mute music only"), 164 - help.glow, 196 - help.glow, 164 - help.glow, true);
|
||||||
#undef FLIP
|
#undef FLIP
|
||||||
}
|
}
|
||||||
graphics.render();
|
graphics.render();
|
||||||
|
|
Loading…
Reference in a new issue