Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Localization] Implement pokemon forms localization #1685

Merged
merged 82 commits into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
c34bc9f
Implement Pokemon forms localization
Kiriox94 Jun 1, 2024
1aa9673
Update French pokemon-form.ts
Adri1 Jun 1, 2024
1e84d42
Update French pokemon-form.ts
Adri1 Jun 1, 2024
90149e6
Update pokemon-form.ts
Adri1 Jun 1, 2024
3a06753
Add french translation from Adri1
Kiriox94 Jun 1, 2024
be4bebb
Add battle forms korean translation from returntoice
Kiriox94 Jun 1, 2024
f0ff9cc
Add cosplay forms korean translation from returntoice
Kiriox94 Jun 1, 2024
ce13180
Add pichu form korean translation from returntoice
Kiriox94 Jun 1, 2024
f357106
Add castform forms korean translation by returntoice
Kiriox94 Jun 1, 2024
ac8644b
Add remaining forms korean translation by returntoice
Kiriox94 Jun 1, 2024
cd8eb5d
French typo corrections pokemon-form.ts
Adri1 Jun 1, 2024
e8f3308
French typo corrections pokemon-form.ts by Lugiad'
Kiriox94 Jun 1, 2024
0cb1ee7
Update Korean pokemon-form.ts
MrWaterT Jun 1, 2024
10a76a3
Modify froakiBattleBond
MrWaterT Jun 1, 2024
b7cfc89
Modify zygardePc
MrWaterT Jun 1, 2024
03a73f7
Merge branch 'Form-Localisation' into form
MrWaterT Jun 1, 2024
6e89e92
Modify mispelling
MrWaterT Jun 1, 2024
f40bd04
Added german forms
CodeTappert Jun 2, 2024
82ef5aa
Changed Gigadynamax and Unendynamax so it fits at all
CodeTappert Jun 2, 2024
875f17a
Merge pull request #4 from CodeTappert/pr/1685
Kiriox94 Jun 2, 2024
69eda6b
Merge pull request #3 from MrWaterT/form
Kiriox94 Jun 2, 2024
f29cf18
Add partner pikachu and eevee form localization
Kiriox94 Jun 2, 2024
17c0c76
Add mimikyu forms localization
Kiriox94 Jun 2, 2024
d4f0045
Partner Pikachu, Partner Evoli und Mimikyu Formen hinzugefügt
CodeTappert Jun 2, 2024
18e6e29
Merge pull request #5 from CodeTappert/pr/1685
Kiriox94 Jun 2, 2024
78f5f66
Update pokemon-form.ts
Adri1 Jun 2, 2024
35ea198
Merge pull request #6 from Adri1/patch-5
Kiriox94 Jun 2, 2024
3023384
Update partners
MrWaterT Jun 2, 2024
8230a00
Merge pull request #7 from MrWaterT/form
Kiriox94 Jun 3, 2024
c14abde
Fix conflicts
Kiriox94 Jun 3, 2024
0677e3a
Fix useless ? by flx-sta
Kiriox94 Jun 4, 2024
f7f33c5
Fix switch use by flx-sta
Kiriox94 Jun 4, 2024
31db4da
Merge remote-tracking branch 'upstream/main' into pr/1685
bennybroseph Jun 6, 2024
5e8a204
Fix conflicts
Kiriox94 Jun 13, 2024
0692e28
Please work !!!!!!!
Kiriox94 Jun 26, 2024
f1f001c
Update src/locales/fr/pokemon-form.ts
Kiriox94 Jun 26, 2024
cbbaca7
Update src/locales/fr/pokemon-form.ts
Kiriox94 Jun 26, 2024
b57bb60
Add pt_br primal localization
Kiriox94 Jun 27, 2024
a7ec50f
Add pt_br pikachu localization
Kiriox94 Jun 27, 2024
ed65774
Add pt_br castform localization
Kiriox94 Jun 27, 2024
16b659c
Add pt_br 3g localization
Kiriox94 Jun 27, 2024
af0e46a
Add zh_cn localization
Kiriox94 Jun 27, 2024
7b39e55
Add pt_br other localization
Kiriox94 Jun 27, 2024
86dbaf8
Add es castform localization
Kiriox94 Jun 27, 2024
3468b9d
Add es burmy localization
Kiriox94 Jun 27, 2024
c4ef68b
Add es shellos localization
Kiriox94 Jun 27, 2024
63c4353
Add es rotom localization
Kiriox94 Jun 27, 2024
ea55363
Add es basculin localization
Kiriox94 Jun 27, 2024
324b3d4
Add es deerling localization
Kiriox94 Jun 27, 2024
27f2839
Add es froakie localization
Kiriox94 Jun 27, 2024
4861005
Add es scatterbug localization
Kiriox94 Jun 27, 2024
937907e
Add es furfrou localization
Kiriox94 Jun 27, 2024
89a593c
Add es xerneas localization
Kiriox94 Jun 27, 2024
84a7e99
Add es zygarde localization
Kiriox94 Jun 27, 2024
c6cdd51
Add es pumpkaboo localization
Kiriox94 Jun 27, 2024
e4e907e
Add es flabebe localization
Kiriox94 Jun 27, 2024
b516a4f
Add es oricorio localization
Kiriox94 Jun 27, 2024
8c5d244
Add es minior localization
Kiriox94 Jun 27, 2024
48898e7
Add es magearna localization
Kiriox94 Jun 27, 2024
c07a491
Add es marshadow localization
Kiriox94 Jun 27, 2024
ec5ce52
Add es sinistea ocalization
Kiriox94 Jun 27, 2024
f4702e2
Add es eiscue localization
Kiriox94 Jun 27, 2024
4398c68
Add es indeedee localization
Kiriox94 Jun 27, 2024
47b7cef
Add es rockruff localization
Kiriox94 Jun 27, 2024
ea7c500
Add es mimikyu localization
Kiriox94 Jun 27, 2024
0a22a32
Add es zarude localization
Kiriox94 Jun 27, 2024
a4d43e2
Add es squawkabilly localization
Kiriox94 Jun 27, 2024
793f961
Add es tatsugiri localization
Kiriox94 Jun 27, 2024
12f47a1
Add es gimmighoul localization
Kiriox94 Jun 27, 2024
f238e86
Add es poltchageit localization
Kiriox94 Jun 27, 2024
cffde25
Add es paldeaTauros localization
Kiriox94 Jun 27, 2024
6f680da
Add es primal localization
Kiriox94 Jun 27, 2024
1bf2517
Add es pikachu localization
Kiriox94 Jun 27, 2024
0bb6af9
Add es partner localization
Kiriox94 Jun 27, 2024
92d7ab1
Fix typedocs error
Kiriox94 Jun 27, 2024
8cecd83
Fix typedocs error
Kiriox94 Jun 27, 2024
91dd53d
cn form prefix added
Kiriox94 Jun 27, 2024
192064b
Fix german translate error
Kiriox94 Jun 27, 2024
e1cf6b8
Merge branch 'main' into Form-Localisation
EnochG1 Jun 27, 2024
bc0cea4
Merge main branch
Kiriox94 Jun 28, 2024
a7d356c
Fix typo Zh_CN
Kiriox94 Jun 29, 2024
0c9f19e
Update src/locales/es/pokemon-form.ts
Kiriox94 Jul 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/data/pokemon-species.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,16 +596,18 @@ export default class PokemonSpecies extends PokemonSpeciesForm implements Locali
const form = this.forms[formIndex];
switch (form.formKey) {
case SpeciesFormKey.MEGA:
return i18next.t("pokemonForm:mega", {pokemonName: this.name});
case SpeciesFormKey.PRIMAL:
return i18next.t("pokemonForm:primal", {pokemonName: this.name});
case SpeciesFormKey.ETERNAMAX:
return `${form.formName} ${this.name}`;
return i18next.t("pokemonForm:eternamax", {pokemonName: this.name});
case SpeciesFormKey.MEGA_X:
return `Mega ${this.name} X`;
return i18next.t("pokemonForm:megax", {pokemonName: this.name});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to megaX

case SpeciesFormKey.MEGA_Y:
return `Mega ${this.name} Y`;
return i18next.t("pokemonForm:megay", {pokemonName: this.name});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to megaY

default:
if (form.formKey.indexOf(SpeciesFormKey.GIGANTAMAX) > -1) {
return `G-Max ${this.name}`;
return i18next.t("pokemonForm:gigantamax", {pokemonName: this.name});
}
}
}
Expand Down
62 changes: 34 additions & 28 deletions src/locales/de/config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
import { ability } from "./ability";
import { abilityTriggers } from "./ability-trigger";
import { achv } from "./achv";
import { battle } from "./battle";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
import { berry } from "./berry";
import { biome } from "./biome";
import { commandUiHandler } from "./command-ui-handler";
import {
PGFbattleSpecDialogue,
PGFdialogue,
PGFdoubleBattleDialogue,
PGFmiscDialogue,
PGMbattleSpecDialogue,
PGMdialogue,
PGMdoubleBattleDialogue,
PGMmiscDialogue
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
import { menu } from "./menu";
import { menuUiHandler } from "./menu-ui-handler";
Expand All @@ -12,34 +27,36 @@ import { move } from "./move";
import { nature } from "./nature";
import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon";
import { pokemonForm } from "./pokemon-form";
import { pokemonInfo } from "./pokemon-info";
import { pokemonInfoContainer } from "./pokemon-info-container";
import { splashMessages } from "./splash-messages";
import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial";
import { weather } from "./weather";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
import { berry } from "./berry";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { voucher } from "./voucher";
import {
PGMdialogue,
PGFdialogue,
PGMbattleSpecDialogue,
PGFbattleSpecDialogue,
PGMmiscDialogue,
PGFmiscDialogue, PGMdoubleBattleDialogue, PGFdoubleBattleDialogue
} from "./dialogue";
import { biome } from "./biome";
import { pokemonInfoContainer } from "./pokemon-info-container";
import { weather } from "./weather";

export const deConfig = {
ability: ability,
abilityTriggers: abilityTriggers,
achv: achv,
battle: battle,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,
biome: biome,
commandUiHandler: commandUiHandler,
PGMdialogue: PGMdialogue,
PGFdialogue: PGFdialogue,
PGMbattleSpecDialogue: PGMbattleSpecDialogue,
PGFbattleSpecDialogue: PGFbattleSpecDialogue,
PGMmiscDialogue: PGMmiscDialogue,
PGFmiscDialogue: PGFmiscDialogue,
PGMdoubleBattleDialogue: PGMdoubleBattleDialogue,
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,
menu: menu,
menuUiHandler: menuUiHandler,
Expand All @@ -48,26 +65,15 @@ export const deConfig = {
nature: nature,
pokeball: pokeball,
pokemon: pokemon,
pokemonForm: pokemonForm,
pokemonInfo: pokemonInfo,
pokemonInfoContainer: pokemonInfoContainer,
splashMessages: splashMessages,
starterSelectUiHandler: starterSelectUiHandler,
titles: titles,
trainerClasses: trainerClasses,
trainerNames: trainerNames,
tutorial: tutorial,
weather: weather,
battleMessageUiHandler: battleMessageUiHandler,
berry: berry,
gameStatsUiHandler: gameStatsUiHandler,
voucher: voucher,
biome: biome,
pokemonInfoContainer: pokemonInfoContainer,
PGMdialogue: PGMdialogue,
PGFdialogue: PGFdialogue,
PGMbattleSpecDialogue: PGMbattleSpecDialogue,
PGFbattleSpecDialogue: PGFbattleSpecDialogue,
PGMmiscDialogue: PGMmiscDialogue,
PGFmiscDialogue: PGFmiscDialogue,
PGMdoubleBattleDialogue: PGMdoubleBattleDialogue,
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue
weather: weather
};
173 changes: 173 additions & 0 deletions src/locales/de/pokemon-form.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";

export const pokemonForm: SimpleTranslationEntries = {
// Battle forms
"mega": "Mega-{{pokemonName}}",
"megaX": "Mega-{{pokemonName}} X",
"megaY": "Mega-{{pokemonName}} Y",
"primal": "Proto-{{pokemonName}}",
"gigantamax": "G-Dyna-{{pokemonName}}",
"eternamax": "U-Dyna-{{pokemonName}}",

// Starters forms
// 1G
"pikachuCosplay": "Cosplay",
"pikachuCoolCosplay": "Rocker-Pikachu",
"pikachuBeautyCosplay": "Damen-Pikachu",
"pikachuCuteCosplay": "Star-Pikachu",
"pikachuSmartCosplay": "Professoren-Pikachu",
"pikachuToughCosplay": "Wrestler-Pikachu",
"pikachuPartner": "Partner-Pikachu",
"eeveePartner": "Partner-Evoli",
// 2G
"pichuSpiky": "Strubbelohr-Pichu",
"unownA": "A",
"unownB": "B",
"unownC": "C",
"unownD": "D",
"unownE": "E",
"unownF": "F",
"unownG": "G",
"unownH": "H",
"unownI": "I",
"unownJ": "J",
"unownK": "K",
"unownL": "L",
"unownM": "M",
"unownN": "N",
"unownO": "O",
"unownP": "P",
"unownQ": "Q",
"unownR": "R",
"unownS": "S",
"unownT": "T",
"unownU": "U",
"unownV": "V",
"unownW": "W",
"unownX": "X",
"unownY": "Y",
"unownZ": "Z",
"unownExclamation": "!",
"unownQuestion": "?",
// 3G
"castformSunny": "Sonnenform",
"castformRainy": "Regenform",
"castformSnowy": "Schneeform",
// 4G
"burmyPlant": "Pflanzenumhang",
"burmySandy": "Sandumhang",
"burmyTrash": "Lumpenumhang",
"shellosEast": "Östliches Meer",
"shellosWest": "Westliches Meer",
"rotomHeat": "Hitze-Rotom",
"rotomWash": "Wasch-Rotom",
"rotomFrost": "Frost-Rotom",
"rotomFan": "Wirbel-Rotom",
"rotomMow": "Schneid-Rotom",
// 5G
"basculinRedStriped": "Rotlinige Form",
"basculinBlueStriped": "Blaulinige Form",
"basculinWhiteStriped": "Weißlinige Form",
"deerlingSpring": "Frühlingsform",
"deerlingSummer": "Sommerform",
"deerlingAutumn": "Herbstform",
"deerlingWinter": "Winterform",
// 6G
"froakieBattleBond": "Ash-Form",
"scatterbugMeadow": "Blumenmeermuster",
"scatterbugIcySnow": "Frostmuster",
"scatterbugPolar": "Schneefeldmuster",
"scatterbugTundra": "Flockenmuster",
"scatterbugContinental": "Kontinentalmuster",
"scatterbugGarden": "Ziergartenmuster",
"scatterbugElegant": "Prunkmuster",
"scatterbugModern": "Innovationsmuster",
"scatterbugMarine": "Aquamarinmuster",
"scatterbugArchipelago": "Archipelmuster",
"scatterbugHighPlains": "Dürrmuster",
"scatterbugSandstorm": "Sandmuster",
"scatterbugRiver": "Flussdeltamuster",
"scatterbugMonsoon": "Monsunmuster",
"scatterbugSavanna": "Savannenmuster",
"scatterbugSun": "Sonnenmuster",
"scatterbugOcean": "Ozeanmuster",
"scatterbugJungle": "Dschungelmuster",
"scatterbugFancy": "Fantasiemuster",
"scatterbugPokeBall": "Pokéball-Muster",
"flabebeRed": "Rotblütler",
"flabebeYellow": "Gelbblütler",
"flabebeOrange": "Orangeblütler",
"flabebeBlue": "Blaublütler",
"flabebeWhite": "Weißblütler",
"furfroutNatural": "Zottelform",
"furfrouHeart": "Herzchenschnitt",
"furfrouStar": "Sternchenschnitt",
"furfrouDiamond": "Diamantenschitt",
"furfrouDebutante": "Fräuleinschnitt",
"furfrouMatron": "Damenschnitt",
"furfrouDandy": "Kavalierschnitt",
"furfrouLaReine": "Königinnenschnitt",
"furfrouKabuki": "Kabuki-Schnitt",
"furfrouPharaoh": "Herrscherschnitt",
"pumpkabooSmall": "Größe S",
"pumpkabooAverage": "Größe M",
"pumpkabooLarge": "Größe L",
"pumpkabooSuper": "Größe XL",
"xerneasNeutral": "Ruhe-Modus",
"xerneasActive": "Aktiv-Modus",
"zygarde50": "50% Form",
"zygarde10": "10% Form",
"zygarde50Pc": "50% Form Scharwandel",
"zygarde10Pc": "10% Form Scharwandel",
"zygardeComplete": "Optimum-Form",
// 7G
"oricorioBaile": "Flamenco-Stil",
"oricorioPompom": "Cheerleading-Stil",
"oricorioPau": "Hula-Stil",
"oricorioSensu": "Buyo-Stil",
"rockruffOwnTempo": "Gleichmut",
"miniorRedMeteor": "Rote-Meteorform",
"miniorOrangeMeteor": "Oranger-Meteorform",
"miniorYellowMeteor": "Gelber-Meteorform",
"miniorGreenMeteor": "Grüner-Meteorform",
"miniorBlueMeteor": "Hellblaue-Meteorform",
"miniorIndigoMeteor": "Blaue-Meteorform",
"miniorVioletMeteor": "Violette-Meteorform",
"miniorRed": "Roter Kern",
"miniorOrange": "Oranger Kern",
"miniorYellow": "Gelber Kern",
"miniorGreen": "Grüner Kern",
"miniorBlue": "Hellblauer Kern",
"miniorIndigo": "Blauer Kern",
"miniorViolet": "Violetter Kern",
"mimikyuDisguised": "Verkleidete Form",
"mimikyuBusted": "Entlarvte Form",
"magearnaOriginal": "Originalfarbe",
"marshadowZenith": "Zenitform",
// 8G
"sinisteaPhony": "Fälschungsform",
"sinisteaAntique": "Originalform",
"eiscueIce": "Tiefkühlkopf",
"eiscueNoIce": "Wohlfühlkopf",
"indeedeeMale": "männlich",
"indeedeeFemale": "weiblich",
"zarudeDada": "Papa",
// 9G
"squawkabillyGreenPlumage": "Grüngefiedert",
"squawkabillyBluePlumage": "Blaugefiedert",
"squawkabillyYellowPlumage": "Gelbgefiedert",
"squawkabillyWhitePlumage": "Weißgefiedert",
"tatsugiriCurly": "Gebogene Form",
"tatsugiriDroopy": "Hängende Form",
"tatsugiriStretchy": "Gestrekte Form",
"gimmighoulChest": "Truhenform",
"gimmighoulRoaming": "Wanderform",
"sinistchaUnremarkable": "Simple Form",
"sinistchaMasterPiece": "Edle Form",
"poltchageistCounterfeit": "Imitationsform",
"poltchageistArtisan": "Kostbarkeitsform",
"paldeaTaurosCombat": "Gefechtsvariante",
"paldeaTaurosBlaze": "Flammenvariante",
"paldeaTaurosAqua": "Flutenvariante",

} as const;
Loading
Loading