pokerogue/src/locales/zh_TW/status-effect.ts

68 lines
2.6 KiB
TypeScript
Raw Normal View History

[Localization] localized status-effect.ts and translate. (#2528) * make postposition not to dynamic for localize * localize status-effect.ts * added test code, modified english postposition, modifed toxic_orb test to make it always fix in English. * Update src/locales/zh_CN/status-effect.ts Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com> * Update src/locales/fr/status-effect.ts Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> * Update src/locales/de/status-effect.ts Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com> * Update src/locales/de/status-effect.ts * added test code for check message key * remove multi-language tests (except english) * Update src/locales/pt_BR/status-effect.ts Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br> * remove language and change test code to check method call and parameter * Update src/locales/es/status-effect.ts Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com> * Update src/locales/en/status-effect.ts Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> * Apply review suggestion * Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> * Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> * Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> * add Test with empty string parameter * Update src/locales/es/status-effect.ts Co-authored-by: InnocentGameDev <asdargmng@gmail.com> * Update src/locales/fr/status-effect.ts Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> --------- Co-authored-by: 송지원 <jiwsong@gmarket.com> Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com> Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com> Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br> Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com> Co-authored-by: InnocentGameDev <asdargmng@gmail.com>
2024-07-02 23:22:46 +09:00
import { StatusEffectTranslationEntries } from "#app/interfaces/locales.js";
export const statusEffect: StatusEffectTranslationEntries = {
none: {
name: "None",
description: "",
obtain: "",
obtainSource: "",
activation: "",
overlap: "",
heal: ""
},
poison: {
name: "Poison",
description: "poisoning",
obtain: "{{pokemonNameWithAffix}}\nwas poisoned!",
obtainSource: "{{pokemonNameWithAffix}}\nwas poisoned by {{sourceText}}!",
activation: "{{pokemonNameWithAffix}} is hurt\nby poison!",
overlap: "{{pokemonNameWithAffix}} is\nalready poisoned!",
heal: "{{pokemonNameWithAffix}} was\ncured of its poison!"
},
toxic: {
name: "Toxic",
description: "poisoning",
obtain: "{{pokemonNameWithAffix}}\nwas badly poisoned!",
obtainSource: "{{pokemonNameWithAffix}}\nwas badly poisoned by {{sourceText}}!",
activation: "{{pokemonNameWithAffix}} is hurt\nby poison!",
overlap: "{{pokemonNameWithAffix}} is\nalready poisoned!",
heal: "{{pokemonNameWithAffix}} was\ncured of its poison!"
},
paralysis: {
name: "Paralysis",
description: "paralysis",
obtain: "{{pokemonNameWithAffix}} was paralyzed,\nIt may be unable to move!",
obtainSource: "{{pokemonNameWithAffix}} was paralyzed by {{sourceText}},\nIt may be unable to move!",
activation: "{{pokemonNameWithAffix}} is paralyzed!\nIt can't move!",
overlap: "{{pokemonNameWithAffix}} is\nalready paralyzed!",
heal: "{{pokemonNameWithAffix}} was\nhealed of paralysis!"
},
sleep: {
name: "Sleep",
description: "sleep",
obtain: "{{pokemonNameWithAffix}}\nfell asleep!",
obtainSource: "{{pokemonNameWithAffix}}\nfell asleep from {{sourceText}}!",
activation: "{{pokemonNameWithAffix}} is fast asleep.",
overlap: "{{pokemonNameWithAffix}} is\nalready asleep!",
heal: "{{pokemonNameWithAffix}} woke up!"
},
freeze: {
name: "Freeze",
description: "freezing",
obtain: "{{pokemonNameWithAffix}}\nwas frozen solid!",
obtainSource: "{{pokemonNameWithAffix}}\nwas frozen solid by {{sourceText}}!",
activation: "{{pokemonNameWithAffix}} is\nfrozen solid!",
overlap: "{{pokemonNameWithAffix}} is\nalready frozen!",
heal: "{{pokemonNameWithAffix}} was\ndefrosted!"
},
burn: {
name: "Burn",
description: "burn",
obtain: "{{pokemonNameWithAffix}}\nwas burned!",
obtainSource: "{{pokemonNameWithAffix}}\nwas burned by {{sourceText}}!",
activation: "{{pokemonNameWithAffix}} is hurt\nby its burn!",
overlap: "{{pokemonNameWithAffix}} is\nalready burned!",
heal: "{{pokemonNameWithAffix}} was\nhealed of its burn!"
},
} as const;