[UI/UX] [Localization] Apply single-column Game Stats to more languages (#6135)

Apply sigle-column Game Stats to more languages
This commit is contained in:
Lugiad 2025-07-24 17:48:52 +02:00 committed by GitHub
parent ef843debee
commit 58876a2086
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -230,7 +230,7 @@ export class GameStatsUiHandler extends UiHandler {
const resolvedLang = i18next.resolvedLanguage ?? "en";
// NOTE TO TRANSLATION TEAM: Add more languages that want to display
// in a single-column inside of the `[]` (e.g. `["ru", "fr"]`)
return ["ru"].includes(resolvedLang);
return ["fr", "es-ES", "es-MX", "it", "ja", "pt-BR", "ru"].includes(resolvedLang);
}
/** The number of columns used by this menu in the resolved language */
private get columnCount(): 1 | 2 {