Fix to pokemon number localization

This commit is contained in:
Wlowscha 2025-01-06 22:53:24 +01:00
parent b5a3afdb91
commit 36b41fe566
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04
1 changed files with 1 additions and 1 deletions

View File

@ -1727,7 +1727,7 @@ export default class PokedexUiHandler extends MessageUiHandler {
if (species && (this.speciesStarterDexEntry?.seenAttr || this.speciesStarterDexEntry?.caughtAttr)) {
this.pokemonNumberText.setText("pokedexUiHandler:pokemonNumber") + padInt(species.speciesId, 4);
this.pokemonNumberText.setText(i18next.t("pokedexUiHandler:pokemonNumber") + padInt(species.speciesId, 4));
if (starterAttributes?.nickname) {
const name = decodeURIComponent(escape(atob(starterAttributes.nickname)));