feat: Make Uproar translatable
This commit is contained in:
parent
cd5a0ef2ff
commit
1154baf04e
|
@ -3916,7 +3916,9 @@ export class UproarMessage extends MoveEffectAttr {
|
|||
super();
|
||||
}
|
||||
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
|
||||
user.scene.queueMessage(getPokemonMessage(user, " caused\nan uproar!"));
|
||||
user.scene.queueMessage(i18next.t("battle:battlerTagsUproar", {
|
||||
pokemonNameWithAffix: getPokemonNameWithAffix(user),
|
||||
}));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -132,5 +132,6 @@ export const battle: SimpleTranslationEntries = {
|
|||
"battlerTagsSaltCuredOnAdd": "{{pokemonNameWithAffix}} is being salt cured!",
|
||||
"battlerTagsSaltCuredLapse": "{{pokemonNameWithAffix}} is hurt by {{moveName}}!",
|
||||
"battlerTagsCursedOnAdd": "{{pokemonNameWithAffix}} cut its own HP and put a curse on the {{pokemonName}}!",
|
||||
"battlerTagsCursedLapse": "{{pokemonNameWithAffix}} is afflicted by the Curse!"
|
||||
"battlerTagsCursedLapse": "{{pokemonNameWithAffix}} is afflicted by the Curse!",
|
||||
"battlerTagsUproar": "{{pokemonNameWithAffix}} caused\nan uproar!",
|
||||
} as const;
|
||||
|
|
Loading…
Reference in New Issue