mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 08:16:04 +00:00
[Localization] Add localization of message when pokemon fainted in battle phase. (#1934)
* [Localization] Add localization of message when pokemon fainted in battle phase. * Correction of Deutsch localization * [Localization] Add localization of message when pokemon fainted in battle phase. * Correction of Deutsch localization
This commit is contained in:
parent
f57798fd1d
commit
7fe5962d28
@ -60,5 +60,6 @@ export const battle: SimpleTranslationEntries = {
|
||||
"foePokemonWithAffix": "{{pokemonName}} (Gegner)",
|
||||
"useMove": "{{pokemonNameWithAffix}} setzt {{moveName}} ein!",
|
||||
"drainMessage": "{{pokemonName}} wurde Energie abgesaugt",
|
||||
"regainHealth": "KP von {{pokemonName}} wurden wieder aufgefrischt!"
|
||||
"regainHealth": "KP von {{pokemonName}} wurden wieder aufgefrischt!",
|
||||
"fainted": "{{pokemonNameWithAffix}} wurde besiegt!"
|
||||
} as const;
|
||||
|
@ -60,5 +60,6 @@ export const battle: SimpleTranslationEntries = {
|
||||
"foePokemonWithAffix": "Foe {{pokemonName}}",
|
||||
"useMove": "{{pokemonNameWithAffix}} used {{moveName}}!",
|
||||
"drainMessage": "{{pokemonName}} had its\nenergy drained!",
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!"
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!",
|
||||
"fainted": "{{pokemonNameWithAffix}} fainted!"
|
||||
} as const;
|
||||
|
@ -60,5 +60,6 @@ export const battle: SimpleTranslationEntries = {
|
||||
"foePokemonWithAffix": "El {{pokemonName}} enemigo",
|
||||
"useMove": "¡{{pokemonNameWithAffix}} usó {{moveName}}!",
|
||||
"drainMessage": "¡{{pokemonName}} tuvo su\nenergía absorbida!",
|
||||
"regainHealth": "¡{{pokemonName}} recuperó\nPS!"
|
||||
"regainHealth": "¡{{pokemonName}} recuperó\nPS!",
|
||||
"fainted": "{{pokemonNameWithAffix}} fainted!"
|
||||
} as const;
|
||||
|
@ -60,5 +60,6 @@ export const battle: SimpleTranslationEntries = {
|
||||
"foePokemonWithAffix": "{{pokemonName}} ennemi",
|
||||
"useMove": "{{pokemonNameWithAffix}} utilise\n{{moveName}} !",
|
||||
"drainMessage": "{{pokemonName}} had its\nenergy drained!",
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!"
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!",
|
||||
"fainted": "{{pokemonNameWithAffix}} fainted!"
|
||||
} as const;
|
||||
|
@ -60,5 +60,6 @@ export const battle: SimpleTranslationEntries = {
|
||||
"foePokemonWithAffix": "Foe {{pokemonName}}",
|
||||
"useMove": "{{pokemonNameWithAffix}} used {{moveName}}!",
|
||||
"drainMessage": "{{pokemonName}} had its\nenergy drained!",
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!"
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!",
|
||||
"fainted": "{{pokemonNameWithAffix}} fainted!"
|
||||
} as const;
|
||||
|
@ -60,5 +60,6 @@ export const battle: SimpleTranslationEntries = {
|
||||
"foePokemonWithAffix": "상대 {{pokemonName}}",
|
||||
"useMove": "{{pokemonNameWithAffix}}의 {{moveName}}!",
|
||||
"drainMessage": "{{pokemonName}}[[로]]부터\n체력을 흡수했다!",
|
||||
"regainHealth": "{{pokemonName}}[[는]]\n기력을 회복했다!"
|
||||
"regainHealth": "{{pokemonName}}[[는]]\n기력을 회복했다!",
|
||||
"fainted": "{{pokemonNameWithAffix}}[[는]] 쓰러졌다!",
|
||||
} as const;
|
||||
|
@ -60,5 +60,6 @@ export const battle: SimpleTranslationEntries = {
|
||||
"foePokemonWithAffix": "{{pokemonName}} adversário",
|
||||
"useMove": "{{pokemonNameWithAffix}} usou {{moveName}}!",
|
||||
"drainMessage": "{{pokemonName}} teve sua\nenergia drenada!",
|
||||
"regainHealth": "{{pokemonName}} recuperou\npontos de saúde!"
|
||||
"regainHealth": "{{pokemonName}} recuperou\npontos de saúde!",
|
||||
"fainted": "{{pokemonNameWithAffix}} fainted!"
|
||||
} as const;
|
||||
|
@ -60,5 +60,6 @@ export const battle: SimpleTranslationEntries = {
|
||||
"foePokemonWithAffix": "Foe {{pokemonName}}",
|
||||
"useMove": "{{pokemonNameWithAffix}} used {{moveName}}!",
|
||||
"drainMessage": "{{pokemonName}} had its\nenergy drained!",
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!"
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!",
|
||||
"fainted": "{{pokemonNameWithAffix}} fainted!"
|
||||
} as const;
|
||||
|
@ -57,5 +57,6 @@ export const battle: SimpleTranslationEntries = {
|
||||
"foePokemonWithAffix": "Foe {{pokemonName}}",
|
||||
"useMove": "{{pokemonNameWithAffix}} used {{moveName}}!",
|
||||
"drainMessage": "{{pokemonName}} had its\nenergy drained!",
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!"
|
||||
"regainHealth": "{{pokemonName}} regained\nhealth!",
|
||||
"fainted": "{{pokemonNameWithAffix}} fainted!"
|
||||
} as const;
|
||||
|
@ -3639,7 +3639,7 @@ export class FaintPhase extends PokemonPhase {
|
||||
this.scene.currentBattle.enemyFaints += 1;
|
||||
}
|
||||
|
||||
this.scene.queueMessage(getPokemonMessage(pokemon, " fainted!"), null, true);
|
||||
this.scene.queueMessage(i18next.t("battle:fainted", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }), null, true);
|
||||
|
||||
if (pokemon.turnData?.attacksReceived?.length) {
|
||||
const lastAttack = pokemon.turnData.attacksReceived[0];
|
||||
|
Loading…
Reference in New Issue
Block a user