From f57a3b61ce16c1f366075457df216fdb3a3849e0 Mon Sep 17 00:00:00 2001 From: Amatsune <48121978+amatsune@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:29:37 +0200 Subject: [PATCH] Update src/data/pokemon-species.ts Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com> (cherry picked from commit e7bcddeec422acc54bca0d1dd32f74e617e025d0) --- src/data/pokemon-species.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/data/pokemon-species.ts b/src/data/pokemon-species.ts index ffbd8210300..8c631e920d3 100644 --- a/src/data/pokemon-species.ts +++ b/src/data/pokemon-species.ts @@ -52,7 +52,9 @@ export function getPokemonSpeciesForm(species: Species, formIndex: integer): Pok export function getFusedSpeciesName(speciesAName: string, speciesBName: string): string { //I WAS HERE, DON'T KNOW HOW TO MAKE THIS WORK - return `${speciesAPrefix}${speciesBSuffix}`; +// Basically the only thing missing is now to get the non local species name in lowercase +return i18next.t(fusionAffixes:${speciesA}.fusionPrefix)+i18next.t(fusionAffixes:${speciesB}.fusionSuffix) + } export type PokemonSpeciesFilter = (species: PokemonSpecies) => boolean;