[Localization] Localize hp phases and translate in Korean ()

* Localize hp phases and translate in Korean

* Change codeName for distinguish other HP restore message

* Update src/locales/fr/battle.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

---------

Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
This commit is contained in:
Enoch 2024-06-22 23:24:08 +09:00 committed by GitHub
parent 464ffe7332
commit 9e3b5c636c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 20 additions and 2 deletions

@ -54,6 +54,8 @@ export const battle: SimpleTranslationEntries = {
"escapeVerbFlee": "flucht", "escapeVerbFlee": "flucht",
"skipItemQuestion": "Bist du sicher, dass du kein Item nehmen willst?", "skipItemQuestion": "Bist du sicher, dass du kein Item nehmen willst?",
"notDisabled": "{{pokemonName}}'s {{moveName}} ist\nnicht mehr deaktiviert!", "notDisabled": "{{pokemonName}}'s {{moveName}} ist\nnicht mehr deaktiviert!",
"turnEndHpRestore": "{{pokemonName}}'s HP was restored.",
"hpIsFull": "{{pokemonName}}'s\nHP is full!",
"eggHatching": "Oh?", "eggHatching": "Oh?",
"ivScannerUseQuestion": "IV-Scanner auf {{pokemonName}} benutzen?", "ivScannerUseQuestion": "IV-Scanner auf {{pokemonName}} benutzen?",
"wildPokemonWithAffix": "{{pokemonName}} (wild)", "wildPokemonWithAffix": "{{pokemonName}} (wild)",

@ -53,6 +53,8 @@ export const battle: SimpleTranslationEntries = {
"escapeVerbSwitch": "switching", "escapeVerbSwitch": "switching",
"escapeVerbFlee": "fleeing", "escapeVerbFlee": "fleeing",
"notDisabled": "{{pokemonName}}'s {{moveName}} is disabled\nno more!", "notDisabled": "{{pokemonName}}'s {{moveName}} is disabled\nno more!",
"turnEndHpRestore": "{{pokemonName}}'s HP was restored.",
"hpIsFull": "{{pokemonName}}'s\nHP is full!",
"skipItemQuestion": "Are you sure you want to skip taking an item?", "skipItemQuestion": "Are you sure you want to skip taking an item?",
"eggHatching": "Oh?", "eggHatching": "Oh?",
"ivScannerUseQuestion": "Use IV Scanner on {{pokemonName}}?", "ivScannerUseQuestion": "Use IV Scanner on {{pokemonName}}?",

@ -53,6 +53,8 @@ export const battle: SimpleTranslationEntries = {
"escapeVerbSwitch": "cambiar", "escapeVerbSwitch": "cambiar",
"escapeVerbFlee": "huir", "escapeVerbFlee": "huir",
"notDisabled": "¡El movimiento {{moveName}} de {{pokemonName}}\nya no está anulado!", "notDisabled": "¡El movimiento {{moveName}} de {{pokemonName}}\nya no está anulado!",
"turnEndHpRestore": "{{pokemonName}}'s HP was restored.",
"hpIsFull": "{{pokemonName}}'s\nHP is full!",
"skipItemQuestion": "¿Estás seguro de que no quieres coger un objeto?", "skipItemQuestion": "¿Estás seguro de que no quieres coger un objeto?",
"eggHatching": "¿Y esto?", "eggHatching": "¿Y esto?",
"ivScannerUseQuestion": "¿Quieres usar el Escáner de IVs en {{pokemonName}}?", "ivScannerUseQuestion": "¿Quieres usar el Escáner de IVs en {{pokemonName}}?",

@ -53,6 +53,8 @@ export const battle: SimpleTranslationEntries = {
"escapeVerbSwitch": "le changement", "escapeVerbSwitch": "le changement",
"escapeVerbFlee": "la fuite", "escapeVerbFlee": "la fuite",
"notDisabled": "La capacité {{moveName}}\nde {{pokemonName}} nest plus sous entrave !", "notDisabled": "La capacité {{moveName}}\nde {{pokemonName}} nest plus sous entrave !",
"turnEndHpRestore": "{{pokemonName}} récupère des PV !",
"hpIsFull": "Les PV de {{pokemonName}}\nsont au maximum !",
"skipItemQuestion": "Êtes-vous sûr·e de ne pas vouloir prendre dobjet ?", "skipItemQuestion": "Êtes-vous sûr·e de ne pas vouloir prendre dobjet ?",
"eggHatching": "Hein ?", "eggHatching": "Hein ?",
"ivScannerUseQuestion": "Utiliser le Scanner dIV sur {{pokemonName}} ?", "ivScannerUseQuestion": "Utiliser le Scanner dIV sur {{pokemonName}} ?",

@ -53,6 +53,8 @@ export const battle: SimpleTranslationEntries = {
"escapeVerbSwitch": "cambiando", "escapeVerbSwitch": "cambiando",
"escapeVerbFlee": "fuggendo", "escapeVerbFlee": "fuggendo",
"notDisabled": "{{pokemonName}}'s {{moveName}} non è più\ndisabilitata!", "notDisabled": "{{pokemonName}}'s {{moveName}} non è più\ndisabilitata!",
"turnEndHpRestore": "{{pokemonName}}'s HP was restored.",
"hpIsFull": "{{pokemonName}}'s\nHP is full!",
"skipItemQuestion": "Sei sicuro di non voler prendere nessun oggetto?", "skipItemQuestion": "Sei sicuro di non voler prendere nessun oggetto?",
"eggHatching": "Oh!", "eggHatching": "Oh!",
"ivScannerUseQuestion": "Vuoi usare lo scanner di IV su {{pokemonName}}?", "ivScannerUseQuestion": "Vuoi usare lo scanner di IV su {{pokemonName}}?",

@ -53,6 +53,8 @@ export const battle: SimpleTranslationEntries = {
"escapeVerbSwitch": "교체할", "escapeVerbSwitch": "교체할",
"escapeVerbFlee": "도망칠", "escapeVerbFlee": "도망칠",
"notDisabled": "{{pokemonName}}의\n{{moveName}} 사슬묶기가 풀렸다!", "notDisabled": "{{pokemonName}}의\n{{moveName}} 사슬묶기가 풀렸다!",
"turnEndHpRestore": "{{pokemonName}}의\n체력이 회복되었다!",
"hpIsFull": "그러나 {{pokemonName}}의\n체력이 가득 찬 상태다!",
"skipItemQuestion": "아이템을 받지 않고 넘어가시겠습니까?", "skipItemQuestion": "아이템을 받지 않고 넘어가시겠습니까?",
"eggHatching": "어라…?", "eggHatching": "어라…?",
"ivScannerUseQuestion": "{{pokemonName}}에게 개체값탐지기를 사용하시겠습니까?", "ivScannerUseQuestion": "{{pokemonName}}에게 개체값탐지기를 사용하시겠습니까?",

@ -53,6 +53,8 @@ export const battle: SimpleTranslationEntries = {
"escapeVerbSwitch": "trocar", "escapeVerbSwitch": "trocar",
"escapeVerbFlee": "fugir", "escapeVerbFlee": "fugir",
"notDisabled": "O movimento {{moveName}}\nnão está mais desabilitado!", "notDisabled": "O movimento {{moveName}}\nnão está mais desabilitado!",
"turnEndHpRestore": "{{pokemonName}}'s HP was restored.",
"hpIsFull": "{{pokemonName}}'s\nHP is full!",
"skipItemQuestion": "Tem certeza de que não quer escolher um item?", "skipItemQuestion": "Tem certeza de que não quer escolher um item?",
"eggHatching": "Opa?", "eggHatching": "Opa?",
"ivScannerUseQuestion": "Quer usar o Scanner de IVs em {{pokemonName}}?", "ivScannerUseQuestion": "Quer usar o Scanner de IVs em {{pokemonName}}?",

@ -53,6 +53,8 @@ export const battle: SimpleTranslationEntries = {
"escapeVerbSwitch": "切换", "escapeVerbSwitch": "切换",
"escapeVerbFlee": "逃跑", "escapeVerbFlee": "逃跑",
"notDisabled": "{{moveName}} 不再被禁用!", "notDisabled": "{{moveName}} 不再被禁用!",
"turnEndHpRestore": "{{pokemonName}}'s HP was restored.",
"hpIsFull": "{{pokemonName}}'s\nHP is full!",
"skipItemQuestion": "你确定要跳过拾取道具吗?", "skipItemQuestion": "你确定要跳过拾取道具吗?",
"eggHatching": "咦?", "eggHatching": "咦?",
"ivScannerUseQuestion": "对 {{pokemonName}} 使用个体值扫描仪?", "ivScannerUseQuestion": "对 {{pokemonName}} 使用个体值扫描仪?",

@ -50,6 +50,8 @@ export const battle: SimpleTranslationEntries = {
"escapeVerbSwitch": "切換", "escapeVerbSwitch": "切換",
"escapeVerbFlee": "逃跑", "escapeVerbFlee": "逃跑",
"notDisabled": "{{moveName}} 不再被禁用!", "notDisabled": "{{moveName}} 不再被禁用!",
"turnEndHpRestore": "{{pokemonName}}'s HP was restored.",
"hpIsFull": "{{pokemonName}}'s\nHP is full!",
"skipItemQuestion": "你要跳過拾取道具嗎?", "skipItemQuestion": "你要跳過拾取道具嗎?",
"eggHatching": "咦?", "eggHatching": "咦?",
"ivScannerUseQuestion": "對 {{pokemonName}} 使用個體值掃描?", "ivScannerUseQuestion": "對 {{pokemonName}} 使用個體值掃描?",

@ -2422,7 +2422,7 @@ export class TurnEndPhase extends FieldPhase {
if (this.scene.arena.terrain?.terrainType === TerrainType.GRASSY && pokemon.isGrounded()) { if (this.scene.arena.terrain?.terrainType === TerrainType.GRASSY && pokemon.isGrounded()) {
this.scene.unshiftPhase(new PokemonHealPhase(this.scene, pokemon.getBattlerIndex(), this.scene.unshiftPhase(new PokemonHealPhase(this.scene, pokemon.getBattlerIndex(),
Math.max(pokemon.getMaxHp() >> 4, 1), getPokemonMessage(pokemon, "'s HP was restored."), true)); Math.max(pokemon.getMaxHp() >> 4, 1), i18next.t("battle:turnEndHpRestore", { pokemonName: getPokemonNameWithAffix(pokemon) }), true));
} }
if (!pokemon.isPlayer()) { if (!pokemon.isPlayer()) {
@ -4709,7 +4709,7 @@ export class PokemonHealPhase extends CommonAnimPhase {
pokemon.resetStatus(); pokemon.resetStatus();
pokemon.updateInfo().then(() => super.end()); pokemon.updateInfo().then(() => super.end());
} else if (this.showFullHpMessage) { } else if (this.showFullHpMessage) {
this.message = getPokemonMessage(pokemon, "'s\nHP is full!"); this.message = i18next.t("battle:hpIsFull", { pokemonName: getPokemonNameWithAffix(pokemon) });
} }
if (this.message) { if (this.message) {