mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-26 02:02:20 +02:00
Fix inconsistent key name
This commit is contained in:
parent
0ffd2cbf26
commit
b2591ce078
@ -698,7 +698,7 @@ export default class PokemonSpecies extends PokemonSpeciesForm implements Locali
|
|||||||
if (this.speciesId < 2000) {
|
if (this.speciesId < 2000) {
|
||||||
return this.name; // Other special cases could be put here too
|
return this.name; // Other special cases could be put here too
|
||||||
} else { // Everything beyond this point essentially follows the pattern of FORMNAME_SPECIES
|
} 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 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user