pokerogue/public/locales/ja/mystery-encounters/a-trainers-test-dialogue.json
flx-sta 95386861bb
[Qol][Refactor] i18n lazy-loading (#4327)
* move: locales files to `/public` (from `/src`)

* install: i18next-http-backend module

* implement: i18next language lazy-loading

* remove: all `config.ts` files (for locales)

* disable: enConfig import in i18next.d.ts

* remove: console.log from utils.camelCaseToKebabCase()

* remove localization tests

we don't need to test if i18next is working.
This is the job of i18next itself

* mock i18next for tests

* fix: tests that have to use the i18next key now

instead of the english translation

* fix: absolute-avarice-encounter test

* fix: loading mystery-encounter translations

with lazy-load

* fix: 2 mystery encounter translation loading

* replace: i18next mocks any vi.fn() calls

* fix: new namespace usage in ME tests

now using "mysteryEncounters/..."

* fix: delibirdy encounter not being language specific

the encounter was checking if the modifier name includes `Berry` which is only true for english. Instead it has to check if the modifier is an instance of BerryModifier

* fix: the-expert-pokemon-breeder

the new i18n pattern requires a different namespacing which has been adopted

* fix: GTS encounter tests

* add: `MockText.on()`

* fix: berries abound test

* chore: apply review suggestion

from @DayKev

* update i18next.d.ts

* chore: fix i18next.d.ts

* fix: `dialogue-misc` switchup between `en` and `ja`

* move: `SpeciesFormKey` into enum

there was an issue with circular dependencies

* replace: `#app/enums/` with `#enums/` for `SpeciesFormKey` imports

* re-sync locales from `beta`

* rename: `ca_ES` -> `ca-ES`

* rename: `pt_BR` -> `pt-BR`

* rename: `zh_CN` -> `zh-CN`

* rename: `zh_TW` -> `zh-TW`

* fix loading Species-Form-Key in poemon-evo.

* update: i18next `supporterLngs` ...

and remove `nonExplicitSupportedLngs`

* fix: `${namespace}.` -> `${namespace}:`

thanks @MokaStitcher
2024-10-01 21:55:16 +01:00

48 lines
3.7 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"intro": "非常に 強いトレーナーが 近寄る……",
"buck": {
"intro_dialogue": "おっ, トレーナーさん!\nオレ、バクだ$あなたみたいな 強いトレーナーに\n最高の 頼みが あるのさ$レアな タマゴが 2つ 持っているけど、\n誰か他の トレーナーに  世話をすれば いいなあ$おまえの 強さが 証明できれば\n一番レアな タマゴを あげるからさ",
"accept": "いひひ……! きた きた!\nさあさあ 勝負しようぜ",
"decline": "ざーんねん! おまえの 手持ちポケモンも\n絶好調に 見えないな……$ほら、治して あげるさ!"
},
"cheryl": {
"intro_dialogue": "はじめまして、\nあたしの 名前は モミです。$かなり強い トレーナーですね?\nお願いが あるの$今は レアな タマゴを 運んでいます。\nでも、 世話をできる トレーナーが 探がすの$トレーナーさん 強さを 証明できれば\n最もレアな 方を あげますよ",
"accept": "覚悟して!",
"decline": "あっ 分かります。 あなたの 手持ちポケモンは\nちょっと 元気は なさそうですね……$ねえ、 治してあげましょう!"
},
"marley": {
"intro_dialogue": "……@d{64}あたし マイ$……お願いが あるんだけど いい?$……タマゴを 2つ 持ってる けど\n あげたいの$……バトルで あたしより 強いなら\n一番レアな タマゴ あげるの",
"accept": "……分かった できるだけ 頑張るから",
"decline": "……分かった$……ポケモン 傷つくの ダメ だから 回復してあげる"
},
"mira": {
"intro_dialogue": "あたし ミル!$強い トレーナーだね?\nお願いです$ミルはね、レアなタマゴ 2つ あるのに\n あげたいの$勝負で 強いのを ミルに 見せたら\n一番レアな たまご あげるよ",
"accept": "ミルと 戦う?\nやった",
"decline": "ちょっと がっかりです……\nでも 大丈夫$あなたの ポケモン 元気に してあげるね!"
},
"riley": {
"intro_dialogue": "やあ、 わたしは ゲン というんだ$キミのような 強いトレーナーに\nもの好きな 申し入れが あるよ$レアなタマゴが 2つ もっているが、\n もらえないか$勝負で 強さを 証明できれば\n最もレアな 方を あげるよ",
"accept": "その顔…… 戦う 準備は できたかな?",
"decline": "分かる、 手持ちポケモンが 結構 傷ついたようだ。$私が 回復 してあげるよ"
},
"title": "強さの証明",
"description": "このトレーナーは 選択にかかわらず タマゴを 1つ あげる ようです。 しかし、 非常に強い トレーナーを 倒せば 最もレアな タマゴを もらいます。",
"query": "どうしますか?",
"option": {
"1": {
"label": "勝負を受け取る",
"tooltip": "(-) 勝負が非常にきつい\n(+) @[TOOLTIP_TITLE]{Very Rare Egg}をもらう"
},
"2": {
"label": "勝負を断る",
"tooltip": "(+) 手持ち 全回復\n(+) @[TOOLTIP_TITLE]{Egg}をもらう"
}
},
"eggTypes": {
"rare": "レアなタマゴ",
"epic": "超レアなタマゴ",
"legendary": "伝説のタマゴ"
},
"outro": "{{statTrainerName}}から {{eggType}}を もらった!"
}