Fix inconsistent key name

This commit is contained in:
AJ Fontaine 2025-02-11 16:00:56 -05:00
parent 0ffd2cbf26
commit b2591ce078

View File

@ -698,7 +698,7 @@ export default class PokemonSpecies extends PokemonSpeciesForm implements Locali
if (this.speciesId < 2000) {
return this.name; // Other special cases could be put here too
} else { // Everything beyond this point essentially follows the pattern of FORMNAME_SPECIES
return i18next.t(`pokemonForm:appendForm.${Species[this.speciesId].split("_")[0]}`, { species: this.name });
return i18next.t(`pokemonForm:appendForm.${Species[this.speciesId].split("_")[0]}`, { pokemonName: this.name });
}
}