mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Unhardcode TAB in translation strings
In case we want to make it rebindable in the future, we shouldn't make translators retranslate these strings.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
4df35da0e4
commit
b7a8bb138c
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user