1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Replace no level editor string

This commit is contained in:
AllyTally 2023-08-24 11:11:43 -03:00 committed by Misa Elizabeth Kai
parent 4830a6e8c1
commit 8f3c587f7a
2 changed files with 10 additions and 2 deletions

View file

@ -417,7 +417,8 @@
<string english="start from beginning" translation="" explanation="menu option"/> <string english="start from beginning" translation="" explanation="menu option"/>
<string english="delete save" translation="" explanation="menu option"/> <string english="delete save" translation="" explanation="menu option"/>
<string english="back to levels" translation="" explanation="menu option"/> <string english="back to levels" translation="" explanation="menu option"/>
<string english="This version of the game does not support the level editor, but it might be supported in the future." translation="" max="38*3"/> <string english="The level editor is not currently supported on Steam Deck, as it requires a keyboard and mouse to use." translation="" explanation="" max="38*3"/>
<string english="The level editor is not currently supported on this device, as it requires a keyboard and mouse to use." translation="" explanation="" max="38*3"/>
<string english="To install new player levels, copy the .vvvvvv files to the levels folder." translation="" explanation="" max="38*3"/> <string english="To install new player levels, copy the .vvvvvv files to the levels folder." translation="" explanation="" max="38*3"/>
<string english="Are you sure you want to show the levels path? This may reveal sensitive information if you are streaming." translation="" explanation="" max="38*4"/> <string english="Are you sure you want to show the levels path? This may reveal sensitive information if you are streaming." translation="" explanation="" max="38*4"/>
<string english="The levels path is:" translation="" explanation="" max="40"/> <string english="The levels path is:" translation="" explanation="" max="40"/>

View file

@ -1664,7 +1664,14 @@ static void menurender(void)
case Menu::playerworlds: case Menu::playerworlds:
if (game.editor_disabled) if (game.editor_disabled)
{ {
font::print_wrap(PR_CEN, -1, 180, loc::gettext("This version of the game does not support the level editor, but it might be supported in the future."), tr, tg, tb); if (SDL_GetHintBoolean("SteamDeck", SDL_FALSE))
{
font::print_wrap(PR_CEN, -1, 180, loc::gettext("The level editor is not currently supported on Steam Deck, as it requires a keyboard and mouse to use."), tr, tg, tb);
}
else
{
font::print_wrap(PR_CEN, -1, 180, loc::gettext("The level editor is not currently supported on this device, as it requires a keyboard and mouse to use."), tr, tg, tb);
}
} }
else else
{ {