From 49723228b6a2011cffce89172b1c97fa9f111860 Mon Sep 17 00:00:00 2001 From: Zach Day Date: Thu, 8 Aug 2024 19:49:27 -0400 Subject: [PATCH] Localize remaining strings --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index 781735fcacd..60379d0d173 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2682,7 +2682,7 @@ export class MovePhase extends BattlePhase { if (!this.canMove()) { if (this.move.moveId && this.pokemon.isMoveDisabled(this.move.moveId)) { - this.scene.queueMessage(`${this.move.getName()} is disabled!`); + this.scene.queueMessage(i18next.t("battle:disableInterruptedMove", { pokemonNameWithAffix: getPokemonNameWithAffix(this.pokemon), moveName: this.move.getName() })); this.pokemon.pushMoveHistory({ move: this.move.moveId, result: MoveResult.FAIL, virtual: false }); this.fail(); } else if (this.pokemon.isActive(true) && this.move.ppUsed >= this.move.getMovePp()) { // if the move PP was reduced from Spite or otherwise, the move fails