added Ivan Lopes and Lucas Nunes to credits

This commit is contained in:
TerryCavanagh 2024-02-02 17:37:23 +01:00
parent 9986696604
commit 62ab594976
3 changed files with 19 additions and 6 deletions

View File

@ -58,8 +58,12 @@ Polish:
- Kuba Kallus
Brazilian Portuguese:
- Lucas Araujo
- Thiago Araujo
Translators:
- Lucas Araujo
- Thiago Araujo
Editing and LQA:
- Ivan Lopes
- Lucas Nunes
European Portuguese:
- Locsmiths

View File

@ -51,8 +51,12 @@ static const char* translators[] = {
"Polish",
" Kuba Kallus",
"Brazilian Portuguese",
" Lucas Araujo",
" Thiago Araujo",
">Translators",
" Lucas Araujo",
" Thiago Araujo",
">Editing and LQA",
" Ivan Lopes",
" Lucas Nunes",
"European Portuguese",
" Locsmiths",
"Russian",
@ -70,7 +74,7 @@ static const char* translators[] = {
};
/* Hardcoded pagesizes for the translator credits. Simplifies paging backwards and forwards */
static const int translator_pagesize[] = { 6, 6, 9, 12, 10, 9, 8 };
static const int translator_pagesize[] = { 6, 6, 9, 12, 10, 11, 10 };
/* Terry's Patrons... */
static const char* superpatrons[] = {

View File

@ -578,7 +578,12 @@ static void menurender(void)
for (int i = startidx; i < endidx; ++i)
{
if (Credits::translators[i][0] != ' ')
if (Credits::translators[i][0] == '>')
{
yofs += 2;
font::print(PR_CJK_HIGH, 88, yofs, loc::gettext(&Credits::translators[i][1]), tr, tg, tb);
}
else if (Credits::translators[i][0] != ' ')
{
yofs += 5;
font::print(PR_CJK_HIGH, 80, yofs, loc::gettext(Credits::translators[i]), tr, tg, tb);