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

Fix translator credits headers being forced to 8x8 font

The header "Translators", as well as the language names, were using
PR_FONT_8X8, even though it was translatable text. This is now fixed.
(Also, the CJK spacing for the language names is now higher because
that looked nicer)
This commit is contained in:
Dav999 2023-12-08 23:02:35 +01:00 committed by Misa Elizabeth Kai
parent abf12632bb
commit f420b08a0b

View file

@ -559,7 +559,7 @@ static void menurender(void)
break; break;
case Menu::credits_localisations_translations: case Menu::credits_localisations_translations:
{ {
font::print_wrap(PR_2X | PR_CEN | PR_FONT_8X8, -1, 15, loc::gettext("Translators"), tr, tg, tb); font::print_wrap(PR_2X | PR_CEN, -1, 15, loc::gettext("Translators"), tr, tg, tb);
int startidx = game.current_credits_list_index; int startidx = game.current_credits_list_index;
int endidx = game.current_credits_list_index; int endidx = game.current_credits_list_index;
@ -578,7 +578,7 @@ static void menurender(void)
if (Credits::translators[i][0] != ' ') if (Credits::translators[i][0] != ' ')
{ {
yofs += 5; yofs += 5;
font::print(PR_FONT_8X8, 80, yofs, loc::gettext(Credits::translators[i]), tr, tg, tb); font::print(PR_CJK_HIGH, 80, yofs, loc::gettext(Credits::translators[i]), tr, tg, tb);
}else{ }else{
font::print(PR_FONT_8X8, 80, yofs, Credits::translators[i], tr, tg, tb); font::print(PR_FONT_8X8, 80, yofs, Credits::translators[i], tr, tg, tb);
} }