mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-27 14:38:52 +00:00
* 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
24 lines
1.7 KiB
JSON
24 lines
1.7 KiB
JSON
|
||
|
||
{
|
||
"intro": "ぼろぼろの コートを 着ている\n謎の男が 道を 立ち塞いでいます……",
|
||
"speaker": "怪しい男",
|
||
"intro_dialogue": "おい キミ!$俺、潜在能力を 引き出す 装置を 作り出した!$ポケモンの 原子を 分子レベルで\n完全に 再結合し 断然強力な 姿に 変えるぞ$ウエッヘへ…@d{32} 機能が 効いてるのを 確認するには ぎせッ@d{32}…えーと、 被験者が 必要 だが… ",
|
||
"title": "裏取引",
|
||
"description": "怪しいヤツは ボールを 数個 差し上げます。\n「礼は弾むぞ! 支払いとして 高級なボールを あげて、 代わりに 手持ちポケモンが 1匹だけ 要るな…… ウエッヘヘ」",
|
||
"query": "どうしますか?",
|
||
"option": {
|
||
"1": {
|
||
"label": "受け入れる",
|
||
"tooltip": "(+) 5個のローグボール\n(?) 無作為なポケモンを強化",
|
||
"selected_dialogue": "じゃあ、 その{{pokeName}}で いい だろう!$ただし、 何か 悪いことが 起こっても 俺は 責任を 負わないって 覚えとけ!@d{32} ウエッヘヘ...",
|
||
"selected_message": "怪しい男から 5個の ローグボールを もらいます。${{pokeName}}は 謎の 機械に 入っていく...$機械は ピカッと光って 変な音を し出します!$...@d{96} 何かが 機械から 飛んできて 暴れ出す! "
|
||
},
|
||
"2": {
|
||
"label": "断る",
|
||
"tooltip": "(-) ご褒美なし",
|
||
"selected": "助けが 要る人を 無視?\nケッ!"
|
||
}
|
||
},
|
||
"outro": "苛む 遭遇の 後で、\n冷静にしてみて 立ち去ります。"
|
||
} |