[UI/UX] [Localization] starterInfoText adjustments and clean up (#5859)

* starterInfoText adjustments and clean up

* starterInfoText adjustments and clean up

* Update starter-select-ui-handler.ts

* Update starter-select-ui-handler.ts

---------

Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
This commit is contained in:
Lugiad 2025-05-28 00:08:49 +02:00 committed by GitHub
parent 2deced5565
commit c236996a02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,17 +108,21 @@ const languageSettings: { [key: string]: LanguageSetting } = {
instructionTextSize: "38px", instructionTextSize: "38px",
}, },
de: { de: {
starterInfoTextSize: "48px", starterInfoTextSize: "54px",
instructionTextSize: "35px", instructionTextSize: "35px",
starterInfoXPos: 33, starterInfoXPos: 35,
}, },
"es-ES": { "es-ES": {
starterInfoTextSize: "52px", starterInfoTextSize: "50px",
instructionTextSize: "35px", instructionTextSize: "38px",
starterInfoYOffset: 0.5,
starterInfoXPos: 38,
}, },
"es-MX": { "es-MX": {
starterInfoTextSize: "52px", starterInfoTextSize: "50px",
instructionTextSize: "35px", instructionTextSize: "38px",
starterInfoYOffset: 0.5,
starterInfoXPos: 38,
}, },
fr: { fr: {
starterInfoTextSize: "54px", starterInfoTextSize: "54px",
@ -128,21 +132,16 @@ const languageSettings: { [key: string]: LanguageSetting } = {
starterInfoTextSize: "56px", starterInfoTextSize: "56px",
instructionTextSize: "38px", instructionTextSize: "38px",
}, },
pt_BR: { "pt-BR": {
starterInfoTextSize: "47px", starterInfoTextSize: "48px",
instructionTextSize: "38px", instructionTextSize: "42px",
starterInfoYOffset: 0.5,
starterInfoXPos: 33, starterInfoXPos: 33,
}, },
zh: { zh: {
starterInfoTextSize: "47px", starterInfoTextSize: "56px",
instructionTextSize: "38px", instructionTextSize: "36px",
starterInfoYOffset: 1, starterInfoXPos: 26,
starterInfoXPos: 24,
},
pt: {
starterInfoTextSize: "48px",
instructionTextSize: "42px",
starterInfoXPos: 33,
}, },
ko: { ko: {
starterInfoTextSize: "60px", starterInfoTextSize: "60px",
@ -156,9 +155,11 @@ const languageSettings: { [key: string]: LanguageSetting } = {
starterInfoYOffset: 0.5, starterInfoYOffset: 0.5,
starterInfoXPos: 33, starterInfoXPos: 33,
}, },
"ca-ES": { ca: {
starterInfoTextSize: "52px", starterInfoTextSize: "48px",
instructionTextSize: "38px", instructionTextSize: "38px",
starterInfoYOffset: 0.5,
starterInfoXPos: 29,
}, },
}; };