mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 00:09:31 +02:00
chore: fix i18next.d.ts
This commit is contained in:
parent
2b77efc792
commit
5348b1c6a5
102
src/@types/i18next.d.ts
vendored
102
src/@types/i18next.d.ts
vendored
@ -1,102 +1,8 @@
|
||||
import "i18next";
|
||||
import { TOptions } from "i18next";
|
||||
|
||||
// Module declared to make referencing keys in the localization files type-safe.
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
defaultNS: "menu";
|
||||
namespaces: [
|
||||
"ability",
|
||||
"abilityTriggers",
|
||||
"arenaFlyout",
|
||||
"arenaTag",
|
||||
"battle",
|
||||
"battleScene",
|
||||
"battleInfo",
|
||||
"battleMessageUiHandler",
|
||||
"battlePokemonForm",
|
||||
"battlerTags",
|
||||
"berry",
|
||||
"bgmName",
|
||||
"biome",
|
||||
"challenges",
|
||||
"commandUiHandler",
|
||||
"common",
|
||||
"achv",
|
||||
"dialogue",
|
||||
"battleSpecDialogue",
|
||||
"miscDialogue",
|
||||
"doubleBattleDialogue",
|
||||
"egg",
|
||||
"fightUiHandler",
|
||||
"filterBar",
|
||||
"gameMode",
|
||||
"gameStatsUiHandler",
|
||||
"growth",
|
||||
"menu",
|
||||
"menuUiHandler",
|
||||
"modifier",
|
||||
"modifierType",
|
||||
"move",
|
||||
"nature",
|
||||
"pokeball",
|
||||
"pokemon",
|
||||
"pokemonForm",
|
||||
"pokemonInfo",
|
||||
"pokemonInfoContainer",
|
||||
"pokemonSummary",
|
||||
"saveSlotSelectUiHandler",
|
||||
"settings",
|
||||
"splashMessages",
|
||||
"starterSelectUiHandler",
|
||||
"statusEffect",
|
||||
"terrain",
|
||||
"titles",
|
||||
"trainerClasses",
|
||||
"trainerNames",
|
||||
"tutorial",
|
||||
"voucher",
|
||||
"weather",
|
||||
"partyUiHandler",
|
||||
"modifierSelectUiHandler",
|
||||
"moveTriggers",
|
||||
"runHistory",
|
||||
"mysteryEncounters/mysteriousChallengers",
|
||||
"mysteryEncounters/mysteriousChest",
|
||||
"mysteryEncounters/darkDeal",
|
||||
"mysteryEncounters/fightOrFlight",
|
||||
"mysteryEncounters/slumberingSnorlax",
|
||||
"mysteryEncounters/trainingSession",
|
||||
"mysteryEncounters/departmentStoreSale",
|
||||
"mysteryEncounters/shadyVitaminDealer",
|
||||
"mysteryEncounters/fieldTrip",
|
||||
"mysteryEncounters/safariZone",
|
||||
"mysteryEncounters/lostAtSea",
|
||||
"mysteryEncounters/fieryFallout",
|
||||
"mysteryEncounters/theStrongStuff",
|
||||
"mysteryEncounters/thePokemonSalesman",
|
||||
"mysteryEncounters/anOfferYouCantRefuse",
|
||||
"mysteryEncounters/delibirdy",
|
||||
"mysteryEncounters/absoluteAvarice",
|
||||
"mysteryEncounters/aTrainersTest",
|
||||
"mysteryEncounters/trashToTreasure",
|
||||
"mysteryEncounters/berriesAbound",
|
||||
"mysteryEncounters/clowningAround",
|
||||
"mysteryEncounters/partTimer",
|
||||
"mysteryEncounters/dancingLessons",
|
||||
"mysteryEncounters/weirdDream",
|
||||
"mysteryEncounters/theWinstrateChallenge",
|
||||
"mysteryEncounters/teleportingHijinks",
|
||||
"mysteryEncounters/bugTypeSuperfan",
|
||||
"mysteryEncounters/funAndGames",
|
||||
"mysteryEncounters/uncommonBreed",
|
||||
"mysteryEncounters/globalTradeSystem",
|
||||
"mysteryEncounters/theExpertPokemonBreeder",
|
||||
"mysteryEncounterMessages"
|
||||
];
|
||||
// Extend the translation keys with your specific keys
|
||||
resources: {
|
||||
[key: string]: {
|
||||
[key: string]: string;
|
||||
};
|
||||
};
|
||||
interface TFunction {
|
||||
(key: string | string[], options?: TOptions & Record<string, unknown>): string;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user