mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-16 14:01:52 +00:00
8dce9fa2f9
* Added splash messages literals for all languages * Removed debug code + fixed function casing --------- Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
45 lines
1.9 KiB
TypeScript
45 lines
1.9 KiB
TypeScript
import i18next from "../plugins/i18n";
|
|
|
|
export function getBattleCountSplashMessage(): string {
|
|
return `{COUNT} ${i18next.t('splashMessages:battlesWon')}`;
|
|
}
|
|
|
|
export function getSplashMessages(): string[] {
|
|
const splashMessages = Array(10).fill(getBattleCountSplashMessage());
|
|
splashMessages.push(...[
|
|
i18next.t('splashMessages:joinTheDiscord'),
|
|
i18next.t('splashMessages:infiniteLevel'),
|
|
i18next.t('splashMessages:everythingStacks'),
|
|
i18next.t('splashMessages:optionalSaveScumming'),
|
|
i18next.t('splashMessages:biomes'),
|
|
i18next.t('splashMessages:openSource'),
|
|
i18next.t('splashMessages:playWith5xSpeed'),
|
|
i18next.t('splashMessages:liveBugTesting'),
|
|
i18next.t('splashMessages:heavyRoR2Influence'),
|
|
i18next.t('splashMessages:pokemonRiskAndPokemonRain'),
|
|
i18next.t('splashMessages:nowWithMoreSalt'),
|
|
i18next.t('splashMessages:infiniteFusionAtHome'),
|
|
i18next.t('splashMessages:brokenEggMoves'),
|
|
i18next.t('splashMessages:magnificent'),
|
|
i18next.t('splashMessages:mubstitute'),
|
|
i18next.t('splashMessages:thatsCrazy'),
|
|
i18next.t('splashMessages:oranceJuice'),
|
|
i18next.t('splashMessages:questionableBalancing'),
|
|
i18next.t('splashMessages:coolShaders'),
|
|
i18next.t('splashMessages:aiFree'),
|
|
i18next.t('splashMessages:suddenDifficultySpikes'),
|
|
i18next.t('splashMessages:basedOnAnUnfinishedFlashGame'),
|
|
i18next.t('splashMessages:moreAddictiveThanIntended'),
|
|
i18next.t('splashMessages:mostlyConsistentSeeds'),
|
|
i18next.t('splashMessages:achievementPointsDontDoAnything'),
|
|
i18next.t('splashMessages:youDoNotStartAtLevel'),
|
|
i18next.t('splashMessages:dontTalkAboutTheManaphyEggIncident'),
|
|
i18next.t('splashMessages:alsoTryPokengine'),
|
|
i18next.t('splashMessages:alsoTryEmeraldRogue'),
|
|
i18next.t('splashMessages:alsoTryRadicalRed'),
|
|
i18next.t('splashMessages:eeveeExpo'),
|
|
i18next.t('splashMessages:ynoproject'),
|
|
]);
|
|
|
|
return splashMessages
|
|
} |