[+] Leaderboard i18n

This commit is contained in:
Azalea
2024-03-14 22:41:23 -04:00
parent 10d19a5392
commit ed1ed6cbe9
4 changed files with 29 additions and 9 deletions

View File

@@ -23,6 +23,7 @@ export function t(key: keyof LocalizedMessages, variables?: { [index: string]: a
}
return msgs[lang][key]
}
Object.assign(window, { t })
export const GAME_TITLE: { [key in GameName]: string } =
{chu3: t("game.chu3"), mai2: t("game.mai2"), ongeki: t("game.ongeki")}