Merge branch 'de' into mystery-encounters-translations

This commit is contained in:
Jannik Tappert 2024-09-19 23:48:51 +02:00
commit 6d8cdae29f
4 changed files with 37 additions and 35 deletions

View File

@ -379,7 +379,7 @@ function getPartyConfig(scene: BattleScene): EnemyPartyConfig {
trainerType: TrainerType.EXPERT_POKEMON_BREEDER, trainerType: TrainerType.EXPERT_POKEMON_BREEDER,
pokemonConfigs: [ pokemonConfigs: [
{ {
nickname: i18next.t(`${namespace}.cleffa_1_nickname`), nickname: i18next.t(`${namespace}.cleffa_1_nickname`, { speciesName: getPokemonSpecies(cleffaSpecies).getName() }),
species: getPokemonSpecies(cleffaSpecies), species: getPokemonSpecies(cleffaSpecies),
isBoss: false, isBoss: false,
abilityIndex: 1, // Magic Guard abilityIndex: 1, // Magic Guard
@ -407,7 +407,7 @@ function getPartyConfig(scene: BattleScene): EnemyPartyConfig {
if (scene.arena.biomeType === Biome.SPACE) { if (scene.arena.biomeType === Biome.SPACE) {
// All 3 members always Cleffa line, but different configs // All 3 members always Cleffa line, but different configs
baseConfig.pokemonConfigs!.push({ baseConfig.pokemonConfigs!.push({
nickname: i18next.t(`${namespace}.cleffa_2_nickname`), nickname: i18next.t(`${namespace}.cleffa_2_nickname`, { speciesName: getPokemonSpecies(cleffaSpecies).getName() }),
species: getPokemonSpecies(cleffaSpecies), species: getPokemonSpecies(cleffaSpecies),
isBoss: false, isBoss: false,
abilityIndex: 1, // Magic Guard abilityIndex: 1, // Magic Guard

View File

@ -911,7 +911,7 @@ export class TrainerConfig {
if (!getIsInitialized()) { if (!getIsInitialized()) {
initI18n(); initI18n();
} }
this.name = i18next.t(`trainerNames:${name.toLowerCase()}`); this.name = i18next.t(`trainerNames:${name.toLowerCase().replace(/\s/g, "_")}`);
return this; return this;
} }
@ -2311,7 +2311,7 @@ export const trainerConfigs: TrainerConfigs = {
.setPartyTemplates(new TrainerPartyCompoundTemplate(new TrainerPartyTemplate(3, PartyMemberStrength.AVERAGE), new TrainerPartyTemplate(2, PartyMemberStrength.STRONG))), .setPartyTemplates(new TrainerPartyCompoundTemplate(new TrainerPartyTemplate(3, PartyMemberStrength.AVERAGE), new TrainerPartyTemplate(2, PartyMemberStrength.STRONG))),
[TrainerType.BUG_TYPE_SUPERFAN]: new TrainerConfig(++t).setMoneyMultiplier(2.25).setEncounterBgm(TrainerType.ACE_TRAINER) [TrainerType.BUG_TYPE_SUPERFAN]: new TrainerConfig(++t).setMoneyMultiplier(2.25).setEncounterBgm(TrainerType.ACE_TRAINER)
.setPartyTemplates(new TrainerPartyTemplate(2, PartyMemberStrength.AVERAGE)), .setPartyTemplates(new TrainerPartyTemplate(2, PartyMemberStrength.AVERAGE)),
[TrainerType.EXPERT_POKEMON_BREEDER]: new TrainerConfig(++t).setMoneyMultiplier(3).setEncounterBgm(TrainerType.ACE_TRAINER) [TrainerType.EXPERT_POKEMON_BREEDER]: new TrainerConfig(++t).setMoneyMultiplier(3).setEncounterBgm(TrainerType.ACE_TRAINER).setLocalizedName("Expert Pokemon Breeder")
.setPartyTemplates(new TrainerPartyTemplate(3, PartyMemberStrength.STRONG)) .setPartyTemplates(new TrainerPartyTemplate(3, PartyMemberStrength.STRONG))
}; };

View File

@ -1,30 +1,30 @@
{ {
"intro": "It's a trainer carrying tons of Pokémon Eggs!", "intro": "Ein Trainer mit vielen Pokémon-Eiern!",
"intro_dialogue": "Hey there, trainer!$It looks like some of your\npartner Pokémon are feeling a little down.$Why not have a battle with me to cheer them up?", "intro_dialogue": "Hey Trainer!$Es sieht so aus, als ob einige deiner Pokémon sich ein wenig niedergeschlagen fühlen.$Warum kämpfst du nicht gegen mich, um sie aufzumuntern?",
"title": "The Expert Breeder", "title": "Triff den Pokémon-Züchter-Experten!",
"description": "You've been challenged to a battle where @[TOOLTIP_TITLE]{you can only use a single Pokémon}. It might be tough, but it would surely deepen the bond you have with the Pokémon you choose!\nThe breeder will also give you some @[TOOLTIP_TITLE]{Pokémon Eggs} if you win!", "description": "Du wurdest zu einem Kampf herausgefordert, bei dem du nur @[TOOLTIP_TITLE]{ein einziges Pokémon verwenden darfst}. Es könnte schwierig werden, aber es würde sicherlich die Bindung vertiefen, die du mit dem Pokémon hast, das du wählst!$Wenn du gewinnst, wird der Züchter dir einige @[TOOLTIP_TITLE]{Pokémon-Eier} geben!",
"query": "Who will you battle with?", "query": "Wer wird für dich kämpfen?",
"cleffa_1_nickname": "Ace", "cleffa_1_nickname": "Ass-Pii-Rin",
"cleffa_2_nickname": "Clefablest", "cleffa_2_nickname": "Pi-mal-Daumen",
"cleffa_3_nickname": "{{speciesName}} the Great", "cleffa_3_nickname": "Pii-cknick",
"option": { "option": {
"1": { "1": {
"label": "{{pokemon1Name}}", "label": "{{pokemon1Name}}",
"tooltip_base": "(-) Tough Battle\n(+) Gain Friendship with {{pokemon1Name}}" "tooltip_base": "(-) Harter Kampf\n(+) Erhöhe Freundschaft mit {{pokemon1Name}}"
}, },
"2": { "2": {
"label": "{{pokemon2Name}}", "label": "{{pokemon2Name}}",
"tooltip_base": "(-) Tough Battle\n(+) Gain Friendship with {{pokemon2Name}}" "tooltip_base": "(-) Harter Kampf\n(+) Erhöhe Freundschaft mit {{pokemon2Name}}"
}, },
"3": { "3": {
"label": "{{pokemon3Name}}", "label": "{{pokemon3Name}}",
"tooltip_base": "(-) Tough Battle\n(+) Gain Friendship with {{pokemon3Name}}" "tooltip_base": "(-) Harter Kampf\n(+) Erhöhe Freundschaft mit {{pokemon3Name}}"
}, },
"selected": "Let's do this!" "selected": "Lass uns beginnen!"
}, },
"outro": "Look how happy your {{chosenPokemon}} is now!$Here, you can have these as well.", "outro": "Schau wie glücklich dein {{chosenPokemon}} nun ist!$Hier, diese Pokémon-Eier kannst du auch haben.",
"gained_eggs": "@s{item_fanfare}You received {{numEggs}}!", "gained_eggs": "@s{item_fanfare}Du erhählst {{numEggs}}!",
"eggs_tooltip": "\n(+) Earn {{eggs}}", "eggs_tooltip": "\n(+) Erhalte {{eggs}}",
"numEggs_one": "{{count}} {{rarity}} Egg", "numEggs_one": "{{count}} Ei der Stufe {{rarity}}",
"numEggs_other": "{{count}} {{rarity}} Eggs" "numEggs_other": "{{count}} Eier der Stufe {{rarity}}"
} }

View File

@ -173,5 +173,7 @@
"vivi": "Sieglinde", "vivi": "Sieglinde",
"vicky": "Vicky", "vicky": "Vicky",
"vito": "Paul", "vito": "Paul",
"bug_type_superfan": "Käfersammler-Superfan" "bug_type_superfan": "Käfersammler-Superfan",
"expert_pokemon_breeder": "Pokémon-Züchter-Experte"
} }