-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
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 1aa9673
Update French pokemon-form.ts
Adri1 1e84d42
Update French pokemon-form.ts
Adri1 90149e6
Update pokemon-form.ts
Adri1 3a06753
Add french translation from Adri1
Kiriox94 be4bebb
Add battle forms korean translation from returntoice
Kiriox94 f0ff9cc
Add cosplay forms korean translation from returntoice
Kiriox94 ce13180
Add pichu form korean translation from returntoice
Kiriox94 f357106
Add castform forms korean translation by returntoice
Kiriox94 ac8644b
Add remaining forms korean translation by returntoice
Kiriox94 cd8eb5d
French typo corrections pokemon-form.ts
Adri1 e8f3308
French typo corrections pokemon-form.ts by Lugiad'
Kiriox94 0cb1ee7
Update Korean pokemon-form.ts
MrWaterT 10a76a3
Modify froakiBattleBond
MrWaterT b7cfc89
Modify zygardePc
MrWaterT 03a73f7
Merge branch 'Form-Localisation' into form
MrWaterT 6e89e92
Modify mispelling
MrWaterT f40bd04
Added german forms
CodeTappert 82ef5aa
Changed Gigadynamax and Unendynamax so it fits at all
CodeTappert 875f17a
Merge pull request #4 from CodeTappert/pr/1685
Kiriox94 69eda6b
Merge pull request #3 from MrWaterT/form
Kiriox94 f29cf18
Add partner pikachu and eevee form localization
Kiriox94 17c0c76
Add mimikyu forms localization
Kiriox94 d4f0045
Partner Pikachu, Partner Evoli und Mimikyu Formen hinzugefügt
CodeTappert 18e6e29
Merge pull request #5 from CodeTappert/pr/1685
Kiriox94 78f5f66
Update pokemon-form.ts
Adri1 35ea198
Merge pull request #6 from Adri1/patch-5
Kiriox94 3023384
Update partners
MrWaterT 8230a00
Merge pull request #7 from MrWaterT/form
Kiriox94 c14abde
Fix conflicts
Kiriox94 0677e3a
Fix useless ? by flx-sta
Kiriox94 f7f33c5
Fix switch use by flx-sta
Kiriox94 31db4da
Merge remote-tracking branch 'upstream/main' into pr/1685
bennybroseph 5e8a204
Fix conflicts
Kiriox94 0692e28
Please work !!!!!!!
Kiriox94 f1f001c
Update src/locales/fr/pokemon-form.ts
Kiriox94 cbbaca7
Update src/locales/fr/pokemon-form.ts
Kiriox94 b57bb60
Add pt_br primal localization
Kiriox94 a7ec50f
Add pt_br pikachu localization
Kiriox94 ed65774
Add pt_br castform localization
Kiriox94 16b659c
Add pt_br 3g localization
Kiriox94 af0e46a
Add zh_cn localization
Kiriox94 7b39e55
Add pt_br other localization
Kiriox94 86dbaf8
Add es castform localization
Kiriox94 3468b9d
Add es burmy localization
Kiriox94 c4ef68b
Add es shellos localization
Kiriox94 63c4353
Add es rotom localization
Kiriox94 ea55363
Add es basculin localization
Kiriox94 324b3d4
Add es deerling localization
Kiriox94 27f2839
Add es froakie localization
Kiriox94 4861005
Add es scatterbug localization
Kiriox94 937907e
Add es furfrou localization
Kiriox94 89a593c
Add es xerneas localization
Kiriox94 84a7e99
Add es zygarde localization
Kiriox94 c6cdd51
Add es pumpkaboo localization
Kiriox94 e4e907e
Add es flabebe localization
Kiriox94 b516a4f
Add es oricorio localization
Kiriox94 8c5d244
Add es minior localization
Kiriox94 48898e7
Add es magearna localization
Kiriox94 c07a491
Add es marshadow localization
Kiriox94 ec5ce52
Add es sinistea ocalization
Kiriox94 f4702e2
Add es eiscue localization
Kiriox94 4398c68
Add es indeedee localization
Kiriox94 47b7cef
Add es rockruff localization
Kiriox94 ea7c500
Add es mimikyu localization
Kiriox94 0a22a32
Add es zarude localization
Kiriox94 a4d43e2
Add es squawkabilly localization
Kiriox94 793f961
Add es tatsugiri localization
Kiriox94 12f47a1
Add es gimmighoul localization
Kiriox94 f238e86
Add es poltchageit localization
Kiriox94 cffde25
Add es paldeaTauros localization
Kiriox94 6f680da
Add es primal localization
Kiriox94 1bf2517
Add es pikachu localization
Kiriox94 0bb6af9
Add es partner localization
Kiriox94 92d7ab1
Fix typedocs error
Kiriox94 8cecd83
Fix typedocs error
Kiriox94 91dd53d
cn form prefix added
Kiriox94 192064b
Fix german translate error
Kiriox94 e1cf6b8
Merge branch 'main' into Form-Localisation
EnochG1 bc0cea4
Merge main branch
Kiriox94 a7d356c
Fix typo Zh_CN
Kiriox94 0c9f19e
Update src/locales/es/pokemon-form.ts
Kiriox94 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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}); | ||
case SpeciesFormKey.MEGA_Y: | ||
return `Mega ${this.name} Y`; | ||
return i18next.t("pokemonForm:megay", {pokemonName: this.name}); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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}); | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to megaX