mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 22:02:18 +02:00
update zh-CN trans: berry, select-ui,Transfer , battle-stat
some can edit the words order for different Languages. add files: locales: config.ts berry -> berry.ts select-ui -> modifier-select-ui-handler.ts battle-stat.ts -> battle.ts
This commit is contained in:
parent
d354eea6b4
commit
ff2b10899c
@ -23,7 +23,8 @@ export enum BerryType {
|
||||
}
|
||||
|
||||
export function getBerryName(berryType: BerryType) {
|
||||
return `${Utils.toReadableString(BerryType[berryType])} `+i18next.t('berry:Berry');
|
||||
return i18next.t('berry:Berry', { berryTypeString: Utils.toReadableString(BerryType[berryType]) });
|
||||
// i18next.t('battle:multiWildAppeared', {pokemonName1: enemyField[0].name, pokemonName2: enemyField[1].name})
|
||||
}
|
||||
|
||||
export function getBerryEffectDescription(berryType: BerryType) {
|
||||
@ -40,7 +41,7 @@ export function getBerryEffectDescription(berryType: BerryType) {
|
||||
case BerryType.APICOT:
|
||||
case BerryType.SALAC:
|
||||
const stat = (berryType - BerryType.LIECHI) as BattleStat;
|
||||
return `${i18next.t('berry:Raises')} ${getBattleStatName(stat)} `+i18next.t('berry:if_HP_is_below_25%');
|
||||
return i18next.t('berry:Raises', { battleStatName: getBattleStatName(stat) });
|
||||
case BerryType.LANSAT:
|
||||
return +i18next.t('berry:Raises_critical_hit_ratio_if_HP_is_below_25%');
|
||||
case BerryType.STARF:
|
||||
@ -64,7 +65,7 @@ export function getBerryPredicate(berryType: BerryType): BerryPredicate {
|
||||
case BerryType.GANLON:
|
||||
case BerryType.PETAYA:
|
||||
case BerryType.APICOT:
|
||||
case BerryType.SALAC:
|
||||
case BerryType.SALAC:
|
||||
return (pokemon: Pokemon) => {
|
||||
const threshold = new Utils.NumberHolder(0.25);
|
||||
const battleStat = (berryType - BerryType.LIECHI) as BattleStat;
|
||||
@ -104,7 +105,7 @@ export function getBerryEffectFunc(berryType: BerryType): BerryEffectFunc {
|
||||
const hpHealed = new Utils.NumberHolder(Math.floor(pokemon.getMaxHp() / 4));
|
||||
applyAbAttrs(DoubleBerryEffectAbAttr, pokemon, null, hpHealed);
|
||||
pokemon.scene.unshiftPhase(new PokemonHealPhase(pokemon.scene, pokemon.getBattlerIndex(),
|
||||
hpHealed.value, getPokemonMessage(pokemon, `'s ${getBerryName(berryType)}\n`+i18next.t('berry:restored_its_HP')), true));
|
||||
hpHealed.value, getPokemonMessage(pokemon, i18next.t('berry:restored_its_HP', { berryName: getBerryName(berryType) })), true));
|
||||
};
|
||||
case BerryType.LUM:
|
||||
return (pokemon: Pokemon) => {
|
||||
@ -114,7 +115,7 @@ export function getBerryEffectFunc(berryType: BerryType): BerryEffectFunc {
|
||||
pokemon.scene.queueMessage(getPokemonMessage(pokemon, getStatusEffectHealText(pokemon.status.effect)));
|
||||
pokemon.resetStatus();
|
||||
pokemon.updateInfo();
|
||||
}
|
||||
}
|
||||
if (pokemon.getTag(BattlerTagType.CONFUSED))
|
||||
pokemon.lapseTag(BattlerTagType.CONFUSED);
|
||||
};
|
||||
@ -129,7 +130,7 @@ export function getBerryEffectFunc(berryType: BerryType): BerryEffectFunc {
|
||||
const battleStat = (berryType - BerryType.LIECHI) as BattleStat;
|
||||
const statLevels = new Utils.NumberHolder(1);
|
||||
applyAbAttrs(DoubleBerryEffectAbAttr, pokemon, null, statLevels);
|
||||
pokemon.scene.unshiftPhase(new StatChangePhase(pokemon.scene, pokemon.getBattlerIndex(), true, [ battleStat ], statLevels.value));
|
||||
pokemon.scene.unshiftPhase(new StatChangePhase(pokemon.scene, pokemon.getBattlerIndex(), true, [battleStat], statLevels.value));
|
||||
};
|
||||
case BerryType.LANSAT:
|
||||
return (pokemon: Pokemon) => {
|
||||
@ -143,7 +144,7 @@ export function getBerryEffectFunc(berryType: BerryType): BerryEffectFunc {
|
||||
pokemon.battleData.berriesEaten.push(berryType);
|
||||
const statLevels = new Utils.NumberHolder(2);
|
||||
applyAbAttrs(DoubleBerryEffectAbAttr, pokemon, null, statLevels);
|
||||
pokemon.scene.unshiftPhase(new StatChangePhase(pokemon.scene, pokemon.getBattlerIndex(), true, [ BattleStat.RAND ], statLevels.value));
|
||||
pokemon.scene.unshiftPhase(new StatChangePhase(pokemon.scene, pokemon.getBattlerIndex(), true, [BattleStat.RAND], statLevels.value));
|
||||
};
|
||||
case BerryType.LEPPA:
|
||||
return (pokemon: Pokemon) => {
|
||||
@ -151,7 +152,7 @@ export function getBerryEffectFunc(berryType: BerryType): BerryEffectFunc {
|
||||
pokemon.battleData.berriesEaten.push(berryType);
|
||||
const ppRestoreMove = pokemon.getMoveset().find(m => !m.getPpRatio());
|
||||
ppRestoreMove.ppUsed = Math.max(ppRestoreMove.ppUsed - 10, 0);
|
||||
pokemon.scene.queueMessage(getPokemonMessage(pokemon, `${i18next.t('berry:restored_PP_to_its_move')} ${ppRestoreMove.getName()}\n${i18next.t('berry:using_its')} ${getBerryName(berryType)}!`));
|
||||
pokemon.scene.queueMessage(getPokemonMessage(pokemon, i18next.t('berry:restored_PP_to_its_move', { moveName: ppRestoreMove.getName(), berryName: getBerryName(berryType) })));
|
||||
};
|
||||
}
|
||||
}
|
@ -52,5 +52,20 @@ export const battle: SimpleTranslationEntries = {
|
||||
"skipItemQuestion": "Bist du sicher, dass du kein Item nehmen willst?",
|
||||
"notDisabled": "{{pokemonName}}'s {{moveName}} ist\nnicht mehr deaktiviert!",
|
||||
"eggHatching": "Oh?",
|
||||
"ivScannerUseQuestion": "IV-Scanner auf {{pokemonName}} benutzen?"
|
||||
"ivScannerUseQuestion": "IV-Scanner auf {{pokemonName}} benutzen?",
|
||||
"Attack": "Attack",
|
||||
"Defense": "Defense",
|
||||
"Sp_Atk": "Sp. Atk",
|
||||
"Sp_Def": "Sp. Def",
|
||||
"Speed": "Speed",
|
||||
"Accuracy": "Accuracy",
|
||||
"Evasiveness": "Evasiveness",
|
||||
"rose": "rose",
|
||||
"sharply_rose": "sharply rose",
|
||||
"rose_drastically": "rose drastically",
|
||||
"fell": "fell",
|
||||
"harshly_fell": "harshly fell",
|
||||
"severly_fell": "severly fell",
|
||||
"won_t_go_any_higher": "won\'t go any higher",
|
||||
"won_t_go_any_lower": "won\'t go any lower"
|
||||
} as const;
|
||||
|
14
src/locales/de/berry.ts
Normal file
14
src/locales/de/berry.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const berry: SimpleTranslationEntries = {
|
||||
"Restores_25%_HP_if_HP_is_below_50%": "Restores 25% HP if HP is below 50%",
|
||||
"Cures_any_non-volatile_status_condition_and_confusion": "Cures any non-volatile status condition and confusion",
|
||||
"Restores_25%_HP_if_hit_by_a_super_effective_move": "Restores 25% HP if hit by a super effective move",
|
||||
"Raises": "Raises {{battleStatName}} if HP is below 25%",
|
||||
"Raises_critical_hit_ratio_if_HP_is_below_25%": "Raises critical hit ratio if HP is below 25%",
|
||||
"Sharply_raises_a_random_stat_if_HP_is_below_25%": "Sharply raises a random stat if HP is below 25%",
|
||||
"Restores_10_PP_to_a_move_if_its_PP_reaches_0": "Restores 10 PP to a move if its PP reaches 0",
|
||||
"restored_PP_to_its_move": "restored PP to its move {{moveName}}\nusing its {{berryType}}!",
|
||||
"restored_its_HP": "'s {{berryName}}\n restored its HP!",
|
||||
"Berry": "{{berryTypeString}} Berry"
|
||||
} as const;
|
@ -17,6 +17,8 @@ import { starterSelectUiHandler } from "./starter-select-ui-handler";
|
||||
import { tutorial } from "./tutorial";
|
||||
import { titles,trainerClasses,trainerNames } from "./trainers";
|
||||
import { splashMessages } from "./splash-messages"
|
||||
import { berry } from "./berry";
|
||||
import{modifierSelectUiHandler} from "./modifier-select-ui-handler"
|
||||
|
||||
|
||||
export const deConfig = {
|
||||
@ -41,4 +43,6 @@ export const deConfig = {
|
||||
nature: nature,
|
||||
growth: growth,
|
||||
modifierType: modifierType,
|
||||
berry: berry,
|
||||
modifierSelectUiHandler:modifierSelectUiHandler,
|
||||
}
|
||||
|
10
src/locales/de/modifier-select-ui-handler.ts
Normal file
10
src/locales/de/modifier-select-ui-handler.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const modifierSelectUiHandler: SimpleTranslationEntries = {
|
||||
"Spend_money_to_reroll": "Spend money to reroll your item options.",
|
||||
"Transfer_a_held_item": "Transfer a held item from one Pokémon to another.",
|
||||
"Lock_item_rarities_on_reroll": "Lock item rarities on reroll (affects reroll cost).",
|
||||
"Reroll": "Reroll",
|
||||
"Lock_Rarities": "Lock Rarities",
|
||||
"Transfer": "Transfer"
|
||||
} as const;
|
@ -61,7 +61,7 @@ export const battle: SimpleTranslationEntries = {
|
||||
"Accuracy": "Accuracy",
|
||||
"Evasiveness": "Evasiveness",
|
||||
"rose": "rose",
|
||||
"sharply_rose": "sharply_rose",
|
||||
"sharply_rose": "sharply rose",
|
||||
"rose_drastically": "rose drastically",
|
||||
"fell": "fell",
|
||||
"harshly_fell": "harshly fell",
|
||||
|
@ -4,13 +4,11 @@ export const berry: SimpleTranslationEntries = {
|
||||
"Restores_25%_HP_if_HP_is_below_50%": "Restores 25% HP if HP is below 50%",
|
||||
"Cures_any_non-volatile_status_condition_and_confusion": "Cures any non-volatile status condition and confusion",
|
||||
"Restores_25%_HP_if_hit_by_a_super_effective_move": "Restores 25% HP if hit by a super effective move",
|
||||
"Raises": "Raises",
|
||||
"if_HP_is_below_25%": "if HP is below 25%",
|
||||
"Raises": "Raises {{battleStatName}} if HP is below 25%",
|
||||
"Raises_critical_hit_ratio_if_HP_is_below_25%": "Raises critical hit ratio if HP is below 25%",
|
||||
"Sharply_raises_a_random_stat_if_HP_is_below_25%": "Sharply raises a random stat if HP is below 25%",
|
||||
"Restores_10_PP_to_a_move_if_its_PP_reaches_0": "Restores 10 PP to a move if its PP reaches 0",
|
||||
"restored_PP_to_its_move": "restored PP to its move",
|
||||
"using_its": "using its",
|
||||
"restored_its_HP":"restored its HP!",
|
||||
"Berry": "Berry"
|
||||
"restored_PP_to_its_move": "restored PP to its move {{moveName}}\nusing its {{berryType}}!",
|
||||
"restored_its_HP": "'s {{berryName}}\n restored its HP!",
|
||||
"Berry": "{{berryTypeString}} Berry"
|
||||
} as const;
|
@ -52,5 +52,20 @@ export const battle: SimpleTranslationEntries = {
|
||||
"notDisabled": "¡El movimiento {{moveName}} de {{pokemonName}}\nya no está anulado!",
|
||||
"skipItemQuestion": "¿Estás seguro de que no quieres coger un objeto?",
|
||||
"eggHatching": "¿Y esto?",
|
||||
"ivScannerUseQuestion": "¿Quieres usar el Escáner de IVs en {{pokemonName}}?"
|
||||
"ivScannerUseQuestion": "¿Quieres usar el Escáner de IVs en {{pokemonName}}?",
|
||||
"Attack": "Attack",
|
||||
"Defense": "Defense",
|
||||
"Sp_Atk": "Sp. Atk",
|
||||
"Sp_Def": "Sp. Def",
|
||||
"Speed": "Speed",
|
||||
"Accuracy": "Accuracy",
|
||||
"Evasiveness": "Evasiveness",
|
||||
"rose": "rose",
|
||||
"sharply_rose": "sharply rose",
|
||||
"rose_drastically": "rose drastically",
|
||||
"fell": "fell",
|
||||
"harshly_fell": "harshly fell",
|
||||
"severly_fell": "severly fell",
|
||||
"won_t_go_any_higher": "won\'t go any higher",
|
||||
"won_t_go_any_lower": "won\'t go any lower"
|
||||
} as const;
|
14
src/locales/es/berry.ts
Normal file
14
src/locales/es/berry.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const berry: SimpleTranslationEntries = {
|
||||
"Restores_25%_HP_if_HP_is_below_50%": "Restores 25% HP if HP is below 50%",
|
||||
"Cures_any_non-volatile_status_condition_and_confusion": "Cures any non-volatile status condition and confusion",
|
||||
"Restores_25%_HP_if_hit_by_a_super_effective_move": "Restores 25% HP if hit by a super effective move",
|
||||
"Raises": "Raises {{battleStatName}} if HP is below 25%",
|
||||
"Raises_critical_hit_ratio_if_HP_is_below_25%": "Raises critical hit ratio if HP is below 25%",
|
||||
"Sharply_raises_a_random_stat_if_HP_is_below_25%": "Sharply raises a random stat if HP is below 25%",
|
||||
"Restores_10_PP_to_a_move_if_its_PP_reaches_0": "Restores 10 PP to a move if its PP reaches 0",
|
||||
"restored_PP_to_its_move": "restored PP to its move {{moveName}}\nusing its {{berryType}}!",
|
||||
"restored_its_HP": "'s {{berryName}}\n restored its HP!",
|
||||
"Berry": "{{berryTypeString}} Berry"
|
||||
} as const;
|
@ -18,7 +18,8 @@ import { tutorial } from "./tutorial";
|
||||
import { titles,trainerClasses,trainerNames } from "./trainers";
|
||||
import { splashMessages } from "./splash-messages"
|
||||
import { weather } from "./weather";
|
||||
|
||||
import { berry } from "./berry";
|
||||
import{modifierSelectUiHandler} from "./modifier-select-ui-handler"
|
||||
|
||||
export const esConfig = {
|
||||
ability: ability,
|
||||
@ -43,4 +44,6 @@ export const esConfig = {
|
||||
growth: growth,
|
||||
weather: weather,
|
||||
modifierType: modifierType,
|
||||
berry: berry,
|
||||
modifierSelectUiHandler:modifierSelectUiHandler,
|
||||
}
|
||||
|
10
src/locales/es/modifier-select-ui-handler.ts
Normal file
10
src/locales/es/modifier-select-ui-handler.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const modifierSelectUiHandler: SimpleTranslationEntries = {
|
||||
"Spend_money_to_reroll": "Spend money to reroll your item options.",
|
||||
"Transfer_a_held_item": "Transfer a held item from one Pokémon to another.",
|
||||
"Lock_item_rarities_on_reroll": "Lock item rarities on reroll (affects reroll cost).",
|
||||
"Reroll": "Reroll",
|
||||
"Lock_Rarities": "Lock Rarities",
|
||||
"Transfer": "Transfer"
|
||||
} as const;
|
@ -52,5 +52,20 @@ export const battle: SimpleTranslationEntries = {
|
||||
"notDisabled": "La capacité {{moveName}}\nde {{pokemonName}} n’est plus sous entrave !",
|
||||
"skipItemQuestion": "Êtes-vous sûr·e de ne pas vouloir prendre d’objet ?",
|
||||
"eggHatching": "Oh ?",
|
||||
"ivScannerUseQuestion": "Utiliser le Scanner d’IV sur {{pokemonName}} ?"
|
||||
"ivScannerUseQuestion": "Utiliser le Scanner d’IV sur {{pokemonName}} ?",
|
||||
"Attack": "Attack",
|
||||
"Defense": "Defense",
|
||||
"Sp_Atk": "Sp. Atk",
|
||||
"Sp_Def": "Sp. Def",
|
||||
"Speed": "Speed",
|
||||
"Accuracy": "Accuracy",
|
||||
"Evasiveness": "Evasiveness",
|
||||
"rose": "rose",
|
||||
"sharply_rose": "sharply rose",
|
||||
"rose_drastically": "rose drastically",
|
||||
"fell": "fell",
|
||||
"harshly_fell": "harshly fell",
|
||||
"severly_fell": "severly fell",
|
||||
"won_t_go_any_higher": "won\'t go any higher",
|
||||
"won_t_go_any_lower": "won\'t go any lower"
|
||||
} as const;
|
||||
|
14
src/locales/fr/berry.ts
Normal file
14
src/locales/fr/berry.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const berry: SimpleTranslationEntries = {
|
||||
"Restores_25%_HP_if_HP_is_below_50%": "Restores 25% HP if HP is below 50%",
|
||||
"Cures_any_non-volatile_status_condition_and_confusion": "Cures any non-volatile status condition and confusion",
|
||||
"Restores_25%_HP_if_hit_by_a_super_effective_move": "Restores 25% HP if hit by a super effective move",
|
||||
"Raises": "Raises {{battleStatName}} if HP is below 25%",
|
||||
"Raises_critical_hit_ratio_if_HP_is_below_25%": "Raises critical hit ratio if HP is below 25%",
|
||||
"Sharply_raises_a_random_stat_if_HP_is_below_25%": "Sharply raises a random stat if HP is below 25%",
|
||||
"Restores_10_PP_to_a_move_if_its_PP_reaches_0": "Restores 10 PP to a move if its PP reaches 0",
|
||||
"restored_PP_to_its_move": "restored PP to its move {{moveName}}\nusing its {{berryType}}!",
|
||||
"restored_its_HP": "'s {{berryName}}\n restored its HP!",
|
||||
"Berry": "{{berryTypeString}} Berry"
|
||||
} as const;
|
@ -18,7 +18,8 @@ import { tutorial } from "./tutorial";
|
||||
import { titles,trainerClasses,trainerNames } from "./trainers";
|
||||
import { splashMessages } from "./splash-messages"
|
||||
import { weather } from "./weather";
|
||||
|
||||
import { berry } from "./berry";
|
||||
import{modifierSelectUiHandler} from "./modifier-select-ui-handler"
|
||||
|
||||
|
||||
export const frConfig = {
|
||||
@ -44,5 +45,7 @@ export const frConfig = {
|
||||
growth: growth,
|
||||
weather: weather,
|
||||
modifierType: modifierType,
|
||||
berry: berry,
|
||||
modifierSelectUiHandler:modifierSelectUiHandler,
|
||||
}
|
||||
|
||||
|
10
src/locales/fr/modifier-select-ui-handler.ts
Normal file
10
src/locales/fr/modifier-select-ui-handler.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const modifierSelectUiHandler: SimpleTranslationEntries = {
|
||||
"Spend_money_to_reroll": "Spend money to reroll your item options.",
|
||||
"Transfer_a_held_item": "Transfer a held item from one Pokémon to another.",
|
||||
"Lock_item_rarities_on_reroll": "Lock item rarities on reroll (affects reroll cost).",
|
||||
"Reroll": "Reroll",
|
||||
"Lock_Rarities": "Lock Rarities",
|
||||
"Transfer": "Transfer"
|
||||
} as const;
|
@ -52,5 +52,20 @@ export const battle: SimpleTranslationEntries = {
|
||||
"notDisabled": "{{pokemonName}}'s {{moveName}} non è più\ndisabilitata!",
|
||||
"skipItemQuestion": "Sei sicuro di non voler prendere nessun oggetto?",
|
||||
"eggHatching": "Oh?",
|
||||
"ivScannerUseQuestion": "Vuoi usare lo scanner di IV su {{pokemonName}}?"
|
||||
"ivScannerUseQuestion": "Vuoi usare lo scanner di IV su {{pokemonName}}?",
|
||||
"Attack": "Attack",
|
||||
"Defense": "Defense",
|
||||
"Sp_Atk": "Sp. Atk",
|
||||
"Sp_Def": "Sp. Def",
|
||||
"Speed": "Speed",
|
||||
"Accuracy": "Accuracy",
|
||||
"Evasiveness": "Evasiveness",
|
||||
"rose": "rose",
|
||||
"sharply_rose": "sharply rose",
|
||||
"rose_drastically": "rose drastically",
|
||||
"fell": "fell",
|
||||
"harshly_fell": "harshly fell",
|
||||
"severly_fell": "severly fell",
|
||||
"won_t_go_any_higher": "won\'t go any higher",
|
||||
"won_t_go_any_lower": "won\'t go any lower"
|
||||
} as const;
|
14
src/locales/it/berry.ts
Normal file
14
src/locales/it/berry.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const berry: SimpleTranslationEntries = {
|
||||
"Restores_25%_HP_if_HP_is_below_50%": "Restores 25% HP if HP is below 50%",
|
||||
"Cures_any_non-volatile_status_condition_and_confusion": "Cures any non-volatile status condition and confusion",
|
||||
"Restores_25%_HP_if_hit_by_a_super_effective_move": "Restores 25% HP if hit by a super effective move",
|
||||
"Raises": "Raises {{battleStatName}} if HP is below 25%",
|
||||
"Raises_critical_hit_ratio_if_HP_is_below_25%": "Raises critical hit ratio if HP is below 25%",
|
||||
"Sharply_raises_a_random_stat_if_HP_is_below_25%": "Sharply raises a random stat if HP is below 25%",
|
||||
"Restores_10_PP_to_a_move_if_its_PP_reaches_0": "Restores 10 PP to a move if its PP reaches 0",
|
||||
"restored_PP_to_its_move": "restored PP to its move {{moveName}}\nusing its {{berryType}}!",
|
||||
"restored_its_HP": "'s {{berryName}}\n restored its HP!",
|
||||
"Berry": "{{berryTypeString}} Berry"
|
||||
} as const;
|
@ -18,7 +18,8 @@ import { tutorial } from "./tutorial";
|
||||
import { titles,trainerClasses,trainerNames } from "./trainers";
|
||||
import { splashMessages } from "./splash-messages"
|
||||
import { weather } from "./weather";
|
||||
|
||||
import { berry } from "./berry";
|
||||
import{modifierSelectUiHandler} from "./modifier-select-ui-handler"
|
||||
|
||||
export const itConfig = {
|
||||
ability: ability,
|
||||
@ -43,4 +44,6 @@ export const itConfig = {
|
||||
growth: growth,
|
||||
weather: weather,
|
||||
modifierType: modifierType,
|
||||
berry: berry,
|
||||
modifierSelectUiHandler:modifierSelectUiHandler,
|
||||
}
|
||||
|
10
src/locales/it/modifier-select-ui-handler.ts
Normal file
10
src/locales/it/modifier-select-ui-handler.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const modifierSelectUiHandler: SimpleTranslationEntries = {
|
||||
"Spend_money_to_reroll": "Spend money to reroll your item options.",
|
||||
"Transfer_a_held_item": "Transfer a held item from one Pokémon to another.",
|
||||
"Lock_item_rarities_on_reroll": "Lock item rarities on reroll (affects reroll cost).",
|
||||
"Reroll": "Reroll",
|
||||
"Lock_Rarities": "Lock Rarities",
|
||||
"Transfer": "Transfer"
|
||||
} as const;
|
@ -52,5 +52,20 @@ export const battle: SimpleTranslationEntries = {
|
||||
"notDisabled": "O movimento {{moveName}}\nnão está mais desabilitado!",
|
||||
"skipItemQuestion": "Tem certeza de que não quer escolher um item?",
|
||||
"eggHatching": "Opa?",
|
||||
"ivScannerUseQuestion": "Quer usar o Scanner de IVs em {{pokemonName}}?"
|
||||
"ivScannerUseQuestion": "Quer usar o Scanner de IVs em {{pokemonName}}?",
|
||||
"Attack": "Attack",
|
||||
"Defense": "Defense",
|
||||
"Sp_Atk": "Sp. Atk",
|
||||
"Sp_Def": "Sp. Def",
|
||||
"Speed": "Speed",
|
||||
"Accuracy": "Accuracy",
|
||||
"Evasiveness": "Evasiveness",
|
||||
"rose": "rose",
|
||||
"sharply_rose": "sharply rose",
|
||||
"rose_drastically": "rose drastically",
|
||||
"fell": "fell",
|
||||
"harshly_fell": "harshly fell",
|
||||
"severly_fell": "severly fell",
|
||||
"won_t_go_any_higher": "won\'t go any higher",
|
||||
"won_t_go_any_lower": "won\'t go any lower"
|
||||
} as const;
|
14
src/locales/pt_BR/berry.ts
Normal file
14
src/locales/pt_BR/berry.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const berry: SimpleTranslationEntries = {
|
||||
"Restores_25%_HP_if_HP_is_below_50%": "Restores 25% HP if HP is below 50%",
|
||||
"Cures_any_non-volatile_status_condition_and_confusion": "Cures any non-volatile status condition and confusion",
|
||||
"Restores_25%_HP_if_hit_by_a_super_effective_move": "Restores 25% HP if hit by a super effective move",
|
||||
"Raises": "Raises {{battleStatName}} if HP is below 25%",
|
||||
"Raises_critical_hit_ratio_if_HP_is_below_25%": "Raises critical hit ratio if HP is below 25%",
|
||||
"Sharply_raises_a_random_stat_if_HP_is_below_25%": "Sharply raises a random stat if HP is below 25%",
|
||||
"Restores_10_PP_to_a_move_if_its_PP_reaches_0": "Restores 10 PP to a move if its PP reaches 0",
|
||||
"restored_PP_to_its_move": "restored PP to its move {{moveName}}\nusing its {{berryType}}!",
|
||||
"restored_its_HP": "'s {{berryName}}\n restored its HP!",
|
||||
"Berry": "{{berryTypeString}} Berry"
|
||||
} as const;
|
@ -14,7 +14,8 @@ import { pokemonStat } from "./pokemon-stat";
|
||||
import { starterSelectUiHandler } from "./starter-select-ui-handler";
|
||||
import { tutorial } from "./tutorial";
|
||||
import { weather } from "./weather";
|
||||
|
||||
import { berry } from "./berry";
|
||||
import{modifierSelectUiHandler} from "./modifier-select-ui-handler"
|
||||
|
||||
export const ptBrConfig = {
|
||||
ability: ability,
|
||||
@ -33,4 +34,6 @@ export const ptBrConfig = {
|
||||
growth: growth,
|
||||
weather: weather,
|
||||
modifierType: modifierType,
|
||||
berry: berry,
|
||||
modifierSelectUiHandler:modifierSelectUiHandler,
|
||||
}
|
10
src/locales/pt_BR/modifier-select-ui-handler.ts
Normal file
10
src/locales/pt_BR/modifier-select-ui-handler.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||
|
||||
export const modifierSelectUiHandler: SimpleTranslationEntries = {
|
||||
"Spend_money_to_reroll": "Spend money to reroll your item options.",
|
||||
"Transfer_a_held_item": "Transfer a held item from one Pokémon to another.",
|
||||
"Lock_item_rarities_on_reroll": "Lock item rarities on reroll (affects reroll cost).",
|
||||
"Reroll": "Reroll",
|
||||
"Lock_Rarities": "Lock Rarities",
|
||||
"Transfer": "Transfer"
|
||||
} as const;
|
@ -4,14 +4,11 @@ export const berry: SimpleTranslationEntries = {
|
||||
"Restores_25%_HP_if_HP_is_below_50%": "如果HP低于50%,恢复25%的HP",
|
||||
"Cures_any_non-volatile_status_condition_and_confusion": "治愈任何非易失性状态异常和混乱状态",
|
||||
"Restores_25%_HP_if_hit_by_a_super_effective_move": "如果受到超有效的攻击,恢复25%的HP",
|
||||
"Raises": "提升",
|
||||
"if_HP_is_below_25%": ",在HP低于25%的情况下",
|
||||
"Raises": "如果HP低于25%,提升 {{battleStatName}}",
|
||||
"Raises_critical_hit_ratio_if_HP_is_below_25%": "如果HP低于25%,提升击中要害的概率",
|
||||
"Sharply_raises_a_random_stat_if_HP_is_below_25%": "如果HP低于25%,大幅提升一项随机能力值",
|
||||
"Restores_10_PP_to_a_move_if_its_PP_reaches_0": "如果技能的PP降至0,恢复10点PP",
|
||||
"restored_PP_to_its_move": "恢复了招式的PP",
|
||||
"using_its": "使用",
|
||||
"restored_its_HP":"恢复了HP!",
|
||||
"Berry": "浆果"
|
||||
|
||||
"restored_PP_to_its_move": "使用 {{berryType}}\n恢复了技能 {{moveName}} 的PP!",
|
||||
"restored_its_HP": "的 {{berryName}}\n恢复了HP!",
|
||||
"Berry": "{{berryTypeString}} 浆果"
|
||||
} as const;
|
@ -42,7 +42,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
|
||||
}
|
||||
},
|
||||
"PokemonPpUpModifierType": {
|
||||
description: "为一只宝可梦的一个招式永久增加{{upPoints}}点PP每5点当前最大PP (最多3点)",
|
||||
description: "为一只宝可梦的一个招式永久增加{{upPoints}}点PP\n每5点当前最大PP (最多3点)",
|
||||
},
|
||||
"PokemonNatureChangeModifierType": {
|
||||
name: "{{natureName}}薄荷",
|
||||
@ -52,7 +52,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
|
||||
description: "接下来的{{battleCount}}场战斗是双打的概率翻倍",
|
||||
},
|
||||
"TempBattleStatBoosterModifierType": {
|
||||
description: "为所有成员宝可梦提升一级{{tempBattleStatName}},持续5场战斗",
|
||||
description: "为所有成员宝可梦提升一级{{tempBattleStatName}}\n持续5场战斗",
|
||||
},
|
||||
"AttackTypeBoosterModifierType": {
|
||||
description: "一只宝可梦的{{moveType}}系招式威力提升20%",
|
||||
@ -93,7 +93,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
|
||||
description: "招式命中率增加{{accuracyAmount}} (最大100)",
|
||||
},
|
||||
"PokemonMultiHitModifierType": {
|
||||
description: "攻击造成一次额外伤害,每次堆叠额外伤害分别衰减60/75/82.5%",
|
||||
description: "攻击造成一次额外伤害\n每次堆叠额外伤害分别衰减60/75/82.5%",
|
||||
},
|
||||
"TmModifierType": {
|
||||
name: "招式学习器 {{moveId}} - {{moveName}}",
|
||||
|
Loading…
Reference in New Issue
Block a user