mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
added translation category support to ending credits also
This commit is contained in:
@@ -2052,7 +2052,12 @@ void gamecompleterender(void)
|
||||
{
|
||||
if (graphics.onscreen(creditOffset + position))
|
||||
{
|
||||
if (Credits::translators[i][0] != ' ')
|
||||
if (Credits::translators[i][0] == '>')
|
||||
{
|
||||
// Category heading, remove the > character and translate the rest
|
||||
font::print(0, 76, creditOffset + position, loc::gettext(&Credits::translators[i][1]), tr, tg, tb);
|
||||
}
|
||||
else if (Credits::translators[i][0] != ' ')
|
||||
{
|
||||
// Not prefixed with a space, so this line is the name of a language, display its localised string
|
||||
font::print(0, 60, creditOffset + position, loc::gettext(Credits::translators[i]), tr, tg, tb);
|
||||
|
||||
Reference in New Issue
Block a user