mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-16 14:01:52 +00:00
bac6c22973
* eslint config + packages * updated eslint config * fix the issue eslint adding ;;;; at interfaces * first round with eslint --fix . * removed config for unused export * Revert "first round with eslint --fix ." This reverts commit 77a88e0895f7c3389cb223651b90d918af778fe9. * removed config for camelCase * for real this time, first round of eslint --fix . * halfway to manual eslint fix * eslint done * added "how to setup" the hook to eslint --fix each new file before commit (if wanted) * removed eslintrc config file duplicat * fix human error + ignore build folder + merge overrides * added curly brace style + eslint * applied double quote linter rule * added lefthook * test precommit * test precommit * test precommit * test precommit * test precommit * test precommit * test precommit * github action to run eslint * added node_modules to ignore eslint * different action for typescript * no need for different glob (default src) * node 20 * node 20 * removed no longer needed install file * remove hooks part from README * eslint fixes --------- Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
46 lines
1.9 KiB
TypeScript
46 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:infiniteLevels"),
|
|
i18next.t("splashMessages:everythingStacks"),
|
|
i18next.t("splashMessages:optionalSaveScumming"),
|
|
i18next.t("splashMessages:biomes"),
|
|
i18next.t("splashMessages:openSource"),
|
|
i18next.t("splashMessages:playWithSpeed"),
|
|
i18next.t("splashMessages:liveBugTesting"),
|
|
i18next.t("splashMessages:heavyInfluence"),
|
|
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;
|
|
}
|