Skip to content

Commit

Permalink
[Localization] Localization arena flyout (Active Battle Effects) (#2932)
Browse files Browse the repository at this point in the history
* localizing Active Battle Effects (working)

* Localize Active Battle Effects

* Change return value

* Modify arena terrain desc

* Update src/locales/zh_CN/arena-flyout.ts

Co-authored-by: Yonmaru40 <[email protected]>

* Update src/locales/de/arena-flyout.ts

Co-authored-by: Jannik Tappert <[email protected]>

* Update src/locales/fr/arena-flyout.ts

Co-authored-by: Lugiad' <[email protected]>

* Update arena-flyout.ts (IT)

* Update src/locales/pt_BR/arena-flyout.ts

Co-authored-by: José Ricardo Fleury Oliveira <[email protected]>

* Update src/locales/es/arena-flyout.ts

Co-authored-by: Arxxer <[email protected]>

* Change util function name

---------

Co-authored-by: 송지원 <[email protected]>
Co-authored-by: Yonmaru40 <[email protected]>
Co-authored-by: Jannik Tappert <[email protected]>
Co-authored-by: Lugiad' <[email protected]>
Co-authored-by: Niccolò <[email protected]>
Co-authored-by: José Ricardo Fleury Oliveira <[email protected]>
Co-authored-by: Arxxer <[email protected]>
  • Loading branch information
8 people authored Jul 11, 2024
1 parent 74941bd commit 2f550ea
Show file tree
Hide file tree
Showing 21 changed files with 490 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/battle-scene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import * as Overrides from "./overrides";
import {InputsController} from "./inputs-controller";
import {UiInputs} from "./ui-inputs";
import { NewArenaEvent } from "./events/battle-scene";
import ArenaFlyout from "./ui/arena-flyout";
import { ArenaFlyout } from "./ui/arena-flyout";
import { EaseType } from "#enums/ease-type";
import { Abilities } from "#enums/abilities";
import { BattleSpec } from "#enums/battle-spec";
Expand Down
49 changes: 49 additions & 0 deletions src/locales/de/arena-flyout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";

export const arenaFlyout: SimpleTranslationEntries = {
// Title
"activeBattleEffects": "Aktive Kampfeffekte",
"player": "Spieler",
"neutral": "Neutral",
"enemy": "Gegner",

// WeatherType
"sunny": "Sonne",
"rain": "Regen",
"sandstorm": "Sandsturm",
"hail": "Hagelsturm",
"snow": "Schneesturm",
"fog": "Nebel",
"heavyRain": "Strömender Regen",
"harshSun": "Sehr starker Sonnenschein",
"strongWinds": "Luftströmungen",

// TerrainType
"misty": "Nebelfeld",
"electric": "Elektrofeld",
"grassy": "Grasfeld",
"psychic": "Psychofeld",

// ArenaTagType
"mudSport": "Lehmsuhler",
"waterSport": "Nassmacher",
"spikes": "Stachler",
"toxicSpikes": "Giftspitzen",
"mist": "Weißnebel",
"futureSight": "Seher",
"doomDesire": "Kismetwunsch",
"wish": "Wunschtraum",
"stealthRock": "Tarnsteine",
"stickyWeb": "Klebenetz",
"trickRoom": "Bizarroraum",
"gravity": "Erdanziehung",
"reflect": "Reflektor",
"lightScreen": "Lichtschild",
"auroraVeil": "Auroraschleier",
"quickGuard": "Rapidschutz",
"wideGuard": "Rundumschutz",
"matBlock": "Tatami-Schild",
"craftyShield": "Trickschutz",
"tailwind": "Rückenwind",
"happyHour": "Goldene Zeiten",
};
2 changes: 2 additions & 0 deletions src/locales/de/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ability } from "./ability";
import { abilityTriggers } from "./ability-trigger";
import { arenaFlyout } from "./arena-flyout";
import { PGFachv, PGMachv } from "./achv";
import { battle } from "./battle";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
Expand Down Expand Up @@ -50,6 +51,7 @@ import { modifierSelectUiHandler } from "./modifier-select-ui-handler";
export const deConfig = {
ability: ability,
abilityTriggers: abilityTriggers,
arenaFlyout: arenaFlyout,
battle: battle,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,
Expand Down
49 changes: 49 additions & 0 deletions src/locales/en/arena-flyout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";

export const arenaFlyout: SimpleTranslationEntries = {
// Title
"activeBattleEffects": "Active Battle Effects",
"player": "Player",
"neutral": "Neutral",
"enemy": "Enemy",

// WeatherType
"sunny": "Sunny",
"rain": "Rain",
"sandstorm": "Sandstorm",
"hail": "Hail",
"snow": "Snow",
"fog": "Fog",
"heavyRain": "Heavy Rain",
"harshSun": "Harsh Sun",
"strongWinds": "Strong Winds",

// TerrainType
"misty": "Misty Terrain",
"electric": "Electric Terrain",
"grassy": "Grassy Terrain",
"psychic": "Psychic Terrain",

// ArenaTagType
"mudSport": "Mud Sport",
"waterSport": "Water Sport",
"spikes": "Spikes",
"toxicSpikes": "Toxic Spikes",
"mist": "Mist",
"futureSight": "Future Sight",
"doomDesire": "Doom Desire",
"wish": "Wish",
"stealthRock": "Stealth Rock",
"stickyWeb": "Sticky Web",
"trickRoom": "Trick Room",
"gravity": "Gravity",
"reflect": "Reflect",
"lightScreen": "Light Screen",
"auroraVeil": "Aurora Veil",
"quickGuard": "Quick Guard",
"wideGuard": "Wide Guard",
"matBlock": "Mat Block",
"craftyShield": "Crafty Shield",
"tailwind": "Tailwind",
"happyHour": "Happy Hour",
};
2 changes: 2 additions & 0 deletions src/locales/en/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { common } from "./common.js";
import { settings } from "./settings.js";
import { ability } from "./ability";
import { abilityTriggers } from "./ability-trigger";
import { arenaFlyout } from "./arena-flyout";
import { PGFachv, PGMachv } from "./achv";
import { battle } from "./battle";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
Expand Down Expand Up @@ -50,6 +51,7 @@ import { modifierSelectUiHandler } from "./modifier-select-ui-handler";
export const enConfig = {
ability: ability,
abilityTriggers: abilityTriggers,
arenaFlyout: arenaFlyout,
battle: battle,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,
Expand Down
49 changes: 49 additions & 0 deletions src/locales/es/arena-flyout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";

export const arenaFlyout: SimpleTranslationEntries = {
// Title
"activeBattleEffects": "Efectos de Terreno Activos",
"player": "Jugador",
"neutral": "Neutral",
"enemy": "Enemigo",

// WeatherType
"sunny": "Sol",
"rain": "Lluvia",
"sandstorm": "Tormenta de Arena",
"hail": "Granizo",
"snow": "Nieve",
"fog": "Niebla",
"heavyRain": "Diluvio",
"harshSun": "Sol Abrasador",
"strongWinds": "Turbulencias",

// TerrainType
"misty": "Campo de Niebla",
"electric": "Campo Eléctrico",
"grassy": "Campo de Hierba",
"psychic": "Campo Psíquico",

// ArenaTagType
"mudSport": "Chapoteo Lodo",
"waterSport": "Hidrochorro",
"spikes": "Púas",
"toxicSpikes": "Púas Tóxicas",
"mist": "Neblina",
"futureSight": "Premonición",
"doomDesire": "Deseo Oculto",
"wish": "Deseo",
"stealthRock": "Trampa Rocas",
"stickyWeb": "Red Vidcosa",
"trickRoom": "Espacio Raro",
"gravity": "Gravedad",
"reflect": "Reflejo",
"lightScreen": "Pantalla de Luz",
"auroraVeil": "Velo Aurora",
"quickGuard": "Anticipo",
"wideGuard": "Vasta Guardia",
"matBlock": "Escudo Tatami",
"craftyShield": "Truco Defensa",
"tailwind": "Viento Afín",
"happyHour": "Paga Extra",
};
2 changes: 2 additions & 0 deletions src/locales/es/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ability } from "./ability";
import { abilityTriggers } from "./ability-trigger";
import { arenaFlyout } from "./arena-flyout";
import { PGFachv, PGMachv } from "./achv";
import { battle } from "./battle";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
Expand Down Expand Up @@ -50,6 +51,7 @@ import { modifierSelectUiHandler } from "./modifier-select-ui-handler";
export const esConfig = {
ability: ability,
abilityTriggers: abilityTriggers,
arenaFlyout: arenaFlyout,
battle: battle,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,
Expand Down
49 changes: 49 additions & 0 deletions src/locales/fr/arena-flyout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";

export const arenaFlyout: SimpleTranslationEntries = {
// Title
"activeBattleEffects": "Effets Actifs",
"player": "Vous",
"neutral": "Neutre",
"enemy": "Ennemi",

// WeatherType
"sunny": "Soleil",
"rain": "Pluie",
"sandstorm": "Tempête de Sable",
"hail": "Grêle",
"snow": "Neige",
"fog": "Brouillard",
"heavyRain": "Pluie Battante",
"harshSun": "Soleil Brulant",
"strongWinds": "Vent Mystérieux",

// TerrainType
"misty": "Champ Brumeux",
"electric": "Champ Électrifié",
"grassy": "Champ Herbu",
"psychic": "Champ Psychique",

// ArenaTagType
"mudSport": "Lance-Boue",
"waterSport": "Tourniquet",
"spikes": "Picots",
"toxicSpikes": "Pics Toxik",
"mist": "Brume",
"futureSight": "Prescience",
"doomDesire": "Vœu Destructeur",
"wish": "Vœu",
"stealthRock": "Piège de Roc",
"stickyWeb": "Toile Gluante",
"trickRoom": "Distorsion",
"gravity": "Gravité",
"reflect": "Protection",
"lightScreen": "Mur Lumière",
"auroraVeil": "Voile Aurore",
"quickGuard": "Prévention",
"wideGuard": "Garde Large",
"matBlock": "Tatamigaeshi",
"craftyShield": "Vigilance",
"tailwind": "Vent Arrière",
"happyHour": "Étrennes",
};
2 changes: 2 additions & 0 deletions src/locales/fr/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ability } from "./ability";
import { abilityTriggers } from "./ability-trigger";
import { arenaFlyout } from "./arena-flyout";
import { PGFachv, PGMachv } from "./achv";
import { battle } from "./battle";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
Expand Down Expand Up @@ -50,6 +51,7 @@ import { modifierSelectUiHandler } from "./modifier-select-ui-handler";
export const frConfig = {
ability: ability,
abilityTriggers: abilityTriggers,
arenaFlyout: arenaFlyout,
battle: battle,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,
Expand Down
49 changes: 49 additions & 0 deletions src/locales/it/arena-flyout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";

export const arenaFlyout: SimpleTranslationEntries = {
// Title
"activeBattleEffects": "Effetti attivi in campo",
"player": "Giocatore",
"neutral": "Neutrali",
"enemy": "Nemico",

// WeatherType
"sunny": "Sole",
"rain": "Pioggia",
"sandstorm": "Tempesta di sabbia",
"hail": "Grandine",
"snow": "Neve",
"fog": "Nebbia",
"heavyRain": "Acquazzone",
"harshSun": "Luce accecante",
"strongWinds": "Corrente d'aria misteriosa",

// TerrainType
"misty": "Campo Nebbioso",
"electric": "Campo Elettrico",
"grassy": "Campo Erboso",
"psychic": "Campo Psichico",

// ArenaTagType
"mudSport": "Fangata",
"waterSport": "Docciascudo",
"spikes": "Punte",
"toxicSpikes": "Fielepunte",
"mist": "Nebbia",
"futureSight": "Divinazione",
"doomDesire": "Desiderio Fatale",
"wish": "Desiderio",
"stealthRock": "Levitoroccia",
"stickyWeb": "Rete Vischiosa",
"trickRoom": "Distortozona",
"gravity": "Gravità",
"reflect": "Riflesso",
"lightScreen": "Schermoluce",
"auroraVeil": "Velaurora",
"quickGuard": "Anticipo",
"wideGuard": "Bodyguard",
"matBlock": "Ribaltappeto",
"craftyShield": "Truccodifesa",
"tailwind": "Ventoincoda",
"happyHour": "Cuccagna",
};
2 changes: 2 additions & 0 deletions src/locales/it/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ability } from "./ability";
import { abilityTriggers } from "./ability-trigger";
import { arenaFlyout } from "./arena-flyout";
import { PGFachv, PGMachv } from "./achv";
import { battle } from "./battle";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
Expand Down Expand Up @@ -50,6 +51,7 @@ import { modifierSelectUiHandler } from "./modifier-select-ui-handler";
export const itConfig = {
ability: ability,
abilityTriggers: abilityTriggers,
arenaFlyout: arenaFlyout,
battle: battle,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,
Expand Down
49 changes: 49 additions & 0 deletions src/locales/ko/arena-flyout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";

export const arenaFlyout: SimpleTranslationEntries = {
// Title
"activeBattleEffects": "배틀 효과 상태",
"player": "플레이어",
"neutral": "공통",
"enemy": "상대",

// WeatherType
"sunny": "쾌청",
"rain": "비",
"sandstorm": "모래바람",
"hail": "싸라기눈",
"snow": "눈",
"fog": "안개",
"heavyRain": "강한 비",
"harshSun": "강한 쾌청",
"strongWinds": "난기류",

// TerrainType
"misty": "미스트필드",
"electric": "일렉트릭필드",
"grassy": "그래스필드",
"psychic": "사이코필드",

// ArenaTagType
"mudSport": "흙놀이",
"waterSport": "물놀이",
"spikes": "압정",
"toxicSpikes": "독압정",
"mist": "흰안개",
"futureSight": "미래예지",
"doomDesire": "파멸의소원",
"wish": "희망사항",
"stealthRock": "스텔스록",
"stickyWeb": "끈적끈적네트",
"trickRoom": "트릭룸",
"gravity": "중력",
"reflect": "리플렉터",
"lightScreen": "빛의장막",
"auroraVeil": "오로라베일",
"quickGuard": "패스트가드",
"wideGuard": "와이드가드",
"matBlock": "마룻바닥세워막기",
"craftyShield": "트릭가드",
"tailwind": "순풍",
"happyHour": "해피타임",
};
2 changes: 2 additions & 0 deletions src/locales/ko/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ability } from "./ability";
import { abilityTriggers } from "./ability-trigger";
import { arenaFlyout } from "./arena-flyout";
import { PGFachv, PGMachv } from "./achv";
import { battle } from "./battle";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
Expand Down Expand Up @@ -50,6 +51,7 @@ import { modifierSelectUiHandler } from "./modifier-select-ui-handler";
export const koConfig = {
ability: ability,
abilityTriggers: abilityTriggers,
arenaFlyout: arenaFlyout,
battle: battle,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,
Expand Down
Loading

0 comments on commit 2f550ea

Please sign in to comment.