diff --git a/desktop_version/lang/en/strings.xml b/desktop_version/lang/en/strings.xml index 14a01c23..98a501a1 100644 --- a/desktop_version/lang/en/strings.xml +++ b/desktop_version/lang/en/strings.xml @@ -432,7 +432,7 @@ - + diff --git a/desktop_version/src/LevelDebugger.cpp b/desktop_version/src/LevelDebugger.cpp index 080475f0..a3de76bb 100644 --- a/desktop_version/src/LevelDebugger.cpp +++ b/desktop_version/src/LevelDebugger.cpp @@ -440,6 +440,14 @@ namespace level_debugger } } - font::print(PR_BOR, 5, 14, loc::gettext("[Press TAB to toggle gameplay]"), 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2)); + char buffer[SCREEN_WIDTH_CHARS + 1]; + vformat_buf( + buffer, sizeof(buffer), + loc::gettext("[Press {button} to toggle gameplay]"), + "button:str", + "TAB" + ); + + font::print(PR_BOR, 5, 14, buffer, 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2)); } }