From 9a63a68d25dc76933a2e9310541d3d09eebc7baa Mon Sep 17 00:00:00 2001 From: Snailman11 Date: Wed, 25 Sep 2024 10:20:32 -0700 Subject: [PATCH 1/2] [P3] [Localization] Added Snow Worker Keys and Dialogue for En, Es, It, Fr, De, Ko, / Suppressed Female (#4373) * Added Snow Worker Dialogue Keys and Dialogue Includes en, fr, it, es, de, ko -placeholders for ja, pt_br, zh_cn, and zh_tw * Update dialogue.json * Added \n$ in Spanish and German so the textboxes don't overflow * Fixed "defeat" Formatting for Singles and Doubles English, and Doubles Korean, Italian, French, Japanese, and German * Fixed Formatting for English Singles "defeat", and Japanese Doubles "defeat" * Update src/locales/ko/dialogue.json Turns the periods into ellipses for Korean Snow worker Doubles Co-authored-by: returntoice <171243264+returntoice@users.noreply.github.com> * Update src/locales/ko/dialogue.json Adds a period to Korean Singles Defeat Co-authored-by: returntoice <171243264+returntoice@users.noreply.github.com> * Update dialogue.json * Update src/locales/ko/dialogue.json Adds a space on line 310 Co-authored-by: returntoice <171243264+returntoice@users.noreply.github.com> * Update src/locales/ja/dialogue.json Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> * Update src/locales/zh_TW/dialogue.json Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> * Update src/locales/zh_CN/dialogue.json Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> * Update src/locales/pt_BR/dialogue.json Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> --------- Co-authored-by: Lugiad Co-authored-by: returntoice <171243264+returntoice@users.noreply.github.com> Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> --- public/images/trainer/snow_worker.json | 1637 ++++++++++++++++++++++++ public/images/trainer/snow_worker.png | Bin 0 -> 2658 bytes src/data/dialogue.ts | 19 + src/data/trainer-config.ts | 2 +- src/locales/de/dialogue.json | 22 + src/locales/en/dialogue.json | 22 + src/locales/es/dialogue.json | 22 + src/locales/fr/dialogue.json | 22 + src/locales/it/dialogue.json | 24 +- src/locales/ko/dialogue.json | 22 + 10 files changed, 1790 insertions(+), 2 deletions(-) create mode 100644 public/images/trainer/snow_worker.json create mode 100644 public/images/trainer/snow_worker.png diff --git a/public/images/trainer/snow_worker.json b/public/images/trainer/snow_worker.json new file mode 100644 index 00000000000..0c1a21133b9 --- /dev/null +++ b/public/images/trainer/snow_worker.json @@ -0,0 +1,1637 @@ +{ + "textures": [ + { + "image": "snow_worker_m.png", + "format": "RGBA8888", + "size": { + "w": 183, + "h": 183 + }, + "scale": 1, + "frames": [ + { + "filename": "0001.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0002.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0003.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0032.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0033.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0034.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0035.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0036.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0037.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0038.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0039.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0040.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0041.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0042.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0043.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0044.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0045.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0046.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0047.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0048.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0049.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0050.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0051.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0052.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0053.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0054.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0055.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0056.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0057.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0058.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0059.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0060.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0061.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0062.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0063.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0064.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0065.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0066.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0067.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0068.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0069.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0070.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0071.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0072.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0073.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0074.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0075.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0076.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0077.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 47, + "h": 60 + }, + "frame": { + "x": 1, + "y": 1, + "w": 47, + "h": 60 + } + }, + { + "filename": "0004.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 46, + "h": 60 + }, + "frame": { + "x": 1, + "y": 63, + "w": 46, + "h": 60 + } + }, + { + "filename": "0030.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 46, + "h": 60 + }, + "frame": { + "x": 1, + "y": 63, + "w": 46, + "h": 60 + } + }, + { + "filename": "0031.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 16, + "y": 20, + "w": 46, + "h": 60 + }, + "frame": { + "x": 1, + "y": 63, + "w": 46, + "h": 60 + } + }, + { + "filename": "0005.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 49, + "y": 63, + "w": 46, + "h": 59 + } + }, + { + "filename": "0029.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 49, + "y": 63, + "w": 46, + "h": 59 + } + }, + { + "filename": "0006.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 50, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0007.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 50, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0028.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 50, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0008.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0013.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0014.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0015.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0020.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0021.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0022.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0023.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0024.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0025.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0026.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0027.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 98, + "y": 1, + "w": 46, + "h": 59 + } + }, + { + "filename": "0009.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 97, + "y": 62, + "w": 46, + "h": 59 + } + }, + { + "filename": "0012.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 97, + "y": 62, + "w": 46, + "h": 59 + } + }, + { + "filename": "0016.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 97, + "y": 62, + "w": 46, + "h": 59 + } + }, + { + "filename": "0018.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 97, + "y": 62, + "w": 46, + "h": 59 + } + }, + { + "filename": "0019.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 97, + "y": 62, + "w": 46, + "h": 59 + } + }, + { + "filename": "0010.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 97, + "y": 123, + "w": 46, + "h": 59 + } + }, + { + "filename": "0011.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 97, + "y": 123, + "w": 46, + "h": 59 + } + }, + { + "filename": "0017.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 80, + "h": 80 + }, + "spriteSourceSize": { + "x": 17, + "y": 21, + "w": 46, + "h": 59 + }, + "frame": { + "x": 97, + "y": 123, + "w": 46, + "h": 59 + } + } + ] + } + ], + "meta": { + "app": "https://www.codeandweb.com/texturepacker", + "version": "3.0", + "smartupdate": "$TexturePacker:SmartUpdate:c523abd1fb0f9a15c395d98cc94abb21:5b387f1394fa7c00ff021a434a2c70e2:dd52c0c753a2ab4cf10a366fabd9abcb$" + } +} diff --git a/public/images/trainer/snow_worker.png b/public/images/trainer/snow_worker.png new file mode 100644 index 0000000000000000000000000000000000000000..0e39505cc8de1e8569b0fbdd076d824e82114ca1 GIT binary patch literal 2658 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 Q1ONa407*qoM6N<$f{s5!z5oCK literal 0 HcmV?d00001 diff --git a/src/data/dialogue.ts b/src/data/dialogue.ts index 499cd106cf9..cf693a6315c 100644 --- a/src/data/dialogue.ts +++ b/src/data/dialogue.ts @@ -353,6 +353,25 @@ export const trainerTypeDialogue: TrainerTypeDialogue = { ] }, ], + // Defeat dialogue in the language .JSONS exist as translated or placeholders; (en, fr, it, es, de, ja, ko, zh_cn, zh_tw, pt_br) + [TrainerType.SNOW_WORKER]: [ + { + encounter: [ + "dialogue:snow_worker.encounter.1", + ], + victory: [ + "dialogue:snow_worker.victory.1", + ] + }, + { + encounter: [ + "dialogue:snow_worker_double.encounter.1", + ], + victory: [ + "dialogue:snow_worker_double.victory.1", + ] + }, + ], [TrainerType.HEX_MANIAC]: [ { encounter: [ diff --git a/src/data/trainer-config.ts b/src/data/trainer-config.ts index 82593a4e08b..75a849574ea 100644 --- a/src/data/trainer-config.ts +++ b/src/data/trainer-config.ts @@ -1458,7 +1458,7 @@ export const trainerConfigs: TrainerConfigs = { [TrainerPoolTier.ULTRA_RARE]: [Species.ROTOM, Species.MELTAN] }), [TrainerType.SMASHER]: new TrainerConfig(++t).setMoneyMultiplier(1.2).setEncounterBgm(TrainerType.CYCLIST), - [TrainerType.SNOW_WORKER]: new TrainerConfig(++t).setName("Worker").setHasGenders("Worker Female").setHasDouble("Workers").setMoneyMultiplier(1.7).setEncounterBgm(TrainerType.CLERK).setSpeciesFilter(s => s.isOfType(Type.ICE) || s.isOfType(Type.STEEL)), + [TrainerType.SNOW_WORKER]: new TrainerConfig(++t).setName("Worker").setHasDouble("Workers").setMoneyMultiplier(1.7).setEncounterBgm(TrainerType.CLERK).setSpeciesFilter(s => s.isOfType(Type.ICE) || s.isOfType(Type.STEEL)), [TrainerType.STRIKER]: new TrainerConfig(++t).setMoneyMultiplier(1.2).setEncounterBgm(TrainerType.CYCLIST), [TrainerType.SCHOOL_KID]: new TrainerConfig(++t).setMoneyMultiplier(0.75).setEncounterBgm(TrainerType.YOUNGSTER).setHasGenders("School Kid Female", "lass").setHasDouble("School Kids") .setSpeciesPools({ diff --git a/src/locales/de/dialogue.json b/src/locales/de/dialogue.json index 493ccef2976..fe7e37c1413 100644 --- a/src/locales/de/dialogue.json +++ b/src/locales/de/dialogue.json @@ -299,6 +299,28 @@ "1": "Wie seltsam… Wie konnte das passieren… Ich hätte nicht ausgemuskelt werden sollen." } }, + "snow_worker": { + "encounter": { + "1": "Wenn es kalt wird, zieh dich warm an!\n$Das sagt uns der gesunde Menschenverstand." + }, + "victory": { + "1": "Sich bis zum Gehtnichtmehr abzurackern, ist wohl auch eine Eigenart, die uns der gesunde Menschenverstand diktiert." + }, + "defeat": { + "1": "Lass mich dir einen Ratschlag geben. Ist ein Pokémon gefroren, kannst du es wieder auftauen,\n$indem du eine Attacke vom Typ Feuer auf es anwendest!" + } + }, + "snow_worker_double": { + "encounter": { + "1": "L-l-lass uns kämpfen!" + }, + "victory": { + "1": "M-m-mir sch-sch-schlottern die K-k-knie vor lauter K-k-kälte!" + }, + "defeat": { + "1": "...\n$Sch-sch-schon gemerkt?\nH-h-hier ist es k-k-kalt!" + } + }, "hex_maniac": { "encounter": { "1": "Ich höre normalerweise nur klassische Musik, aber wenn ich verliere,\n$werde ich ein bisschen New Age ausprobieren!", diff --git a/src/locales/en/dialogue.json b/src/locales/en/dialogue.json index 9d1f0ae1c80..757e4f1020b 100644 --- a/src/locales/en/dialogue.json +++ b/src/locales/en/dialogue.json @@ -316,6 +316,28 @@ "1": "How strange… How could this be… I shouldn't have been outmuscled." } }, + "snow_worker": { + "encounter": { + "1": "When it's cold, wear a lot of clothes!\n$Only humans could come up with something so clever!" + }, + "victory": { + "1": "How we struggle in vain at the end also shows how clever humans are!" + }, + "defeat": { + "1": "I'll tell you something clever. If you use a Fire-type move on a Pokémon that is frozen solid, the ice will melt!" + } + }, + "snow_worker_double": { + "encounter": { + "1": "...\n$...R-ready to b-battle?" + }, + "victory": { + "1": "...\n$...I'm sh-shivering!" + }, + "defeat": { + "1": "...\n$...Kn-know what?\n...Th-this place is cold." + } + }, "hex_maniac": { "encounter": { "1": "I normally only ever listen to classical music, but if I lose, I think I shall try a bit of new age!", diff --git a/src/locales/es/dialogue.json b/src/locales/es/dialogue.json index 167ab60b10e..1ee842abae7 100644 --- a/src/locales/es/dialogue.json +++ b/src/locales/es/dialogue.json @@ -1,4 +1,26 @@ { + "snow_worker": { + "encounter": { + "1": "¡Cuando hace frío, hay que abrigarse!\n$¡Sabiduría popular!" + }, + "victory": { + "1": "De donde no hay, no se puede sacar.\nEso también es sabiduría popular, creo." + }, + "defeat": { + "1": "¡Voy a compartir mi sabiduría! Si congelan a un Pokémon de tu equipo,\n$usa con él un movimiento de tipo Fuego ¡y podrás derretir el hielo!" + } + }, +"snow_worker_double": { + "encounter": { + "1": "...\n$¡Co-combate!" + }, + "victory": { + "1": "...\n$¡Qué-qué frío!" + }, + "defeat": { + "1": "¿Sabes?\nAquí hace mucho frío." + } + }, "aether_grunt": { "encounter": { "1": "¡Lucharé con toda mi fuerza para detenerte!", diff --git a/src/locales/fr/dialogue.json b/src/locales/fr/dialogue.json index 3b362fc0c2c..72ceeda384d 100644 --- a/src/locales/fr/dialogue.json +++ b/src/locales/fr/dialogue.json @@ -175,6 +175,28 @@ "1": "Mon élégance demeure inébranlable !" } }, + "snow_worker": { + "encounter": { + "1": "Quand il fait froid, on se couvre !\nTout le monde sait ça !" + }, + "victory": { + "1": "Il faut se rebeller jusqu’au bout !\nTout le monde sait ça aussi…" + }, + "defeat": { + "1": "Je vais t’apprendre une bonne chose. Si un Pokémon est gelé, utilise une capacité Feu pour faire fondre la glace !" + } + }, + "snow_worker_double": { + "encounter": { + "1": "…\n… En-en-en garde !" + }, + "victory": { + "1": "…\n… Je-je-je tremble…" + }, + "defeat": { + "1": "…\n… Tu-tu-tu sais quoi ?\n… Il fait su-super froid i-ici." + } + }, "rocket_grunt": { "encounter": { "1": "Nous sommes de retour !", diff --git a/src/locales/it/dialogue.json b/src/locales/it/dialogue.json index dd82247493b..d44c0f1f245 100644 --- a/src/locales/it/dialogue.json +++ b/src/locales/it/dialogue.json @@ -1,4 +1,26 @@ { + "snow_worker": { + "encounter": { + "1": "Col freddo ci vogliono vestiti pesanti!\n$Questa è saggezza! Viva l'intelletto!" + }, + "victory": { + "1": "Agitarsi quando è troppo tardi è inutile.\nAnche questa è saggezza." + }, + "defeat": { + "1": "Ascolta questa perla di saggezza! Se usi delle mosse di tipo Fuoco su un Pokémon congelato, questo si riprenderà." + } + }, + "snow_worker_double": { + "encounter": { + "1": "...\n$Lo-Lo-Lotta..." + }, + "victory": { + "1": "...\n$Tre-Tremo..." + }, + "defeat": { + "1": "...\n$Sai che-che...\nQui fa-fa freddo?" + } + }, "stat_trainer_buck": { "encounter": { "1": "...I'm telling you right now. I'm seriously tough. Act surprised!", @@ -109,4 +131,4 @@ "1": "I was better than everyone in my family.\nI've never lost before..." } } -} +} \ No newline at end of file diff --git a/src/locales/ko/dialogue.json b/src/locales/ko/dialogue.json index 3b998c8e218..b0d8d43c9f0 100644 --- a/src/locales/ko/dialogue.json +++ b/src/locales/ko/dialogue.json @@ -299,6 +299,28 @@ "1": "이상하네… 어떻게 이럴 수 있지… 힘으로 압도할 수 없다니." } }, + "snow_worker": { + "encounter": { + "1": "추울 때엔 두껍게 입는다!\n$ 이것이 인간의 지혜다!" + }, + "victory": { + "1": "하다 하다 안 되면 마지막에는 발버둥 이것도 인간의 지혜일지도..." + }, + "defeat": { + "1": "너에게 지혜를 나누어주지. 얼음 상태가 된 포켓몬에게 불꽃 타입 기술을 쓰면 얼음이 녹는다고!" + } + }, + "snow_worker_double": { + "encounter": { + "1": "… … …\n$… …스 승부" + }, + "victory": { + "1": "… … …\n$… …떠 떨려" + }, + "defeat": { + "1": "…\n$… …알고 있니?\n… …여기 춥다고" + } + }, "hex_maniac": { "encounter": { "1": "평소에는 클래식 음악만 들었는데, 지면 뉴에이지도 좀 들어볼까!", From 83c18af50f4386c01dbd0637c6ba18f519e9551d Mon Sep 17 00:00:00 2001 From: Enoch Date: Thu, 26 Sep 2024 03:02:38 +0900 Subject: [PATCH 2/2] [Localization] localize reward gain with hard-coded numBerries(item count) in ME. (#4379) * localize hard-coded numBerries * Update src/locales/zh_CN/battle.json Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com> * Update src/locales/zh_TW/battle.json Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com> * change 'rewardCount' to 'count' (flx's review) * Apply suggestions from code review - count Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> * Revert "Apply suggestions from code review - count" This reverts commit 3ce0805a5c96fb2d4727d75d2682e57e31809fe6. * Apply suggestions from code review Co-authored-by: ImperialSympathizer <110984302+ben-lear@users.noreply.github.com> * change count to parameter in trash-to-treasure * change key --------- Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com> Co-authored-by: Lugiad Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> Co-authored-by: ImperialSympathizer <110984302+ben-lear@users.noreply.github.com> --- .../encounters/berries-abound-encounter.ts | 12 ++++++------ .../encounters/trash-to-treasure-encounter.ts | 4 ++-- src/locales/de/battle.json | 1 + src/locales/en/battle.json | 1 + src/locales/es/battle.json | 1 + src/locales/fr/battle.json | 1 + src/locales/it/battle.json | 1 + src/locales/ja/battle.json | 1 + src/locales/ko/battle.json | 1 + src/locales/pt_BR/battle.json | 1 + src/locales/zh_CN/battle.json | 1 + src/locales/zh_TW/battle.json | 1 + 12 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/data/mystery-encounters/encounters/berries-abound-encounter.ts b/src/data/mystery-encounters/encounters/berries-abound-encounter.ts index 4cc5edc5208..a112355b033 100644 --- a/src/data/mystery-encounters/encounters/berries-abound-encounter.ts +++ b/src/data/mystery-encounters/encounters/berries-abound-encounter.ts @@ -128,10 +128,10 @@ export const BerriesAboundEncounter: MysteryEncounter = const numBerries = encounter.misc.numBerries; const doBerryRewards = () => { - const berryText = numBerries + " " + i18next.t(`${namespace}.berries`); + const berryText = i18next.t(`${namespace}.berries`); scene.playSound("item_fanfare"); - queueEncounterMessage(scene, i18next.t("battle:rewardGain", { modifierName: berryText })); + queueEncounterMessage(scene, i18next.t("battle:rewardGainCount", { modifierName: berryText, count: numBerries })); // Generate a random berry and give it to the first Pokemon with room for it for (let i = 0; i < numBerries; i++) { @@ -179,10 +179,10 @@ export const BerriesAboundEncounter: MysteryEncounter = if (speedDiff < 1) { // Caught and attacked by boss, gets +1 to all stats at start of fight const doBerryRewards = () => { - const berryText = numBerries + " " + i18next.t(`${namespace}.berries`); + const berryText = i18next.t(`${namespace}.berries`); scene.playSound("item_fanfare"); - queueEncounterMessage(scene, i18next.t("battle:rewardGain", { modifierName: berryText })); + queueEncounterMessage(scene, i18next.t("battle:rewardGainCount", { modifierName: berryText, count: numBerries })); // Generate a random berry and give it to the first Pokemon with room for it for (let i = 0; i < numBerries; i++) { @@ -210,10 +210,10 @@ export const BerriesAboundEncounter: MysteryEncounter = const numBerriesGrabbed = Math.max(Math.min(Math.round((speedDiff - 1)/0.08), numBerries), 2); encounter.setDialogueToken("numBerries", String(numBerriesGrabbed)); const doFasterBerryRewards = () => { - const berryText = numBerriesGrabbed + " " + i18next.t(`${namespace}.berries`); + const berryText = i18next.t(`${namespace}.berries`); scene.playSound("item_fanfare"); - queueEncounterMessage(scene, i18next.t("battle:rewardGain", { modifierName: berryText })); + queueEncounterMessage(scene, i18next.t("battle:rewardGainCount", { modifierName: berryText, count: numBerriesGrabbed })); // Generate a random berry and give it to the first Pokemon with room for it (trying to give to fastest first) for (let i = 0; i < numBerriesGrabbed; i++) { diff --git a/src/data/mystery-encounters/encounters/trash-to-treasure-encounter.ts b/src/data/mystery-encounters/encounters/trash-to-treasure-encounter.ts index 83ec3e1e4e9..98aa90c0818 100644 --- a/src/data/mystery-encounters/encounters/trash-to-treasure-encounter.ts +++ b/src/data/mystery-encounters/encounters/trash-to-treasure-encounter.ts @@ -190,7 +190,7 @@ async function tryApplyDigRewardItems(scene: BattleScene) { } scene.playSound("item_fanfare"); - await showEncounterText(scene, i18next.t("battle:rewardGain", { modifierName: "2x " + leftovers.name }), null, undefined, true); + await showEncounterText(scene, i18next.t("battle:rewardGainCount", { modifierName: leftovers.name, count: 2 }), null, undefined, true); // First Shell bell for (const pokemon of party) { @@ -217,7 +217,7 @@ async function tryApplyDigRewardItems(scene: BattleScene) { } scene.playSound("item_fanfare"); - await showEncounterText(scene, i18next.t("battle:rewardGain", { modifierName: "2x " + shellBell.name }), null, undefined, true); + await showEncounterText(scene, i18next.t("battle:rewardGainCount", { modifierName: shellBell.name, count: 2 }), null, undefined, true); } async function doGarbageDig(scene: BattleScene) { diff --git a/src/locales/de/battle.json b/src/locales/de/battle.json index 93b30e10fe5..0a2bc4dc5d8 100644 --- a/src/locales/de/battle.json +++ b/src/locales/de/battle.json @@ -32,6 +32,7 @@ "attackMissed": "Die Attacke hat {{pokemonNameWithAffix}} verfehlt!", "attackHitsCount": "{{count}}-mal getroffen!", "rewardGain": "Du erhältst {{modifierName}}!", + "rewardGainCount": "Du erhältst {{count}} {{modifierName}}!", "expGain": "{{pokemonName}} erhält {{exp}} Erfahrungspunkte!", "levelUp": "{{pokemonName}} erreicht Lv. {{level}}!", "learnMove": "{{pokemonName}} erlernt {{moveName}}!", diff --git a/src/locales/en/battle.json b/src/locales/en/battle.json index 2559dafecae..609b1b1ea49 100644 --- a/src/locales/en/battle.json +++ b/src/locales/en/battle.json @@ -32,6 +32,7 @@ "attackMissed": "{{pokemonNameWithAffix}} avoided the attack!", "attackHitsCount": "Hit {{count}} time(s)!", "rewardGain": "You received\n{{modifierName}}!", + "rewardGainCount": "You received\n{{count}} {{modifierName}}!", "expGain": "{{pokemonName}} gained\n{{exp}} EXP. Points!", "levelUp": "{{pokemonName}} grew to\nLv. {{level}}!", "learnMove": "{{pokemonName}} learned\n{{moveName}}!", diff --git a/src/locales/es/battle.json b/src/locales/es/battle.json index 4abd5054bc0..86c5c3b751d 100644 --- a/src/locales/es/battle.json +++ b/src/locales/es/battle.json @@ -32,6 +32,7 @@ "attackMissed": "¡{{pokemonNameWithAffix}}\nha evitado el ataque!", "attackHitsCount": "N.º de golpes: {{count}}.", "rewardGain": "¡Has conseguido\n{{modifierName}}!", + "rewardGainCount": "¡Has conseguido\n{{count}} {{modifierName}}!", "expGain": "{{pokemonName}} ha ganado\n{{exp}} puntos de experiencia.", "levelUp": "¡{{pokemonName}} ha subido a\nNv. {{level}}!", "learnMove": "¡{{pokemonName}} ha aprendido {{moveName}}!", diff --git a/src/locales/fr/battle.json b/src/locales/fr/battle.json index 26b46f77e9d..189940d3229 100644 --- a/src/locales/fr/battle.json +++ b/src/locales/fr/battle.json @@ -32,6 +32,7 @@ "attackMissed": "{{pokemonNameWithAffix}}\névite l’attaque !", "attackHitsCount": "Touché {{count}} fois !", "rewardGain": "Vous recevez\n{{modifierName}} !", + "rewardGainCount": "Vous recevez\n{{count}} {{modifierName}} !", "expGain": "{{pokemonName}} gagne\n{{exp}} Points d’Exp !", "levelUp": "{{pokemonName}} monte au\nN. {{level}} !", "learnMove": "{{pokemonName}} apprend\n{{moveName}} !", diff --git a/src/locales/it/battle.json b/src/locales/it/battle.json index e11399dff6c..e5a45a6e5e6 100644 --- a/src/locales/it/battle.json +++ b/src/locales/it/battle.json @@ -32,6 +32,7 @@ "attackMissed": "{{pokemonNameWithAffix}}\nevita l’attacco!", "attackHitsCount": "Colpito {{count}} volta/e!", "rewardGain": "Ricevi\n{{modifierName}}!", + "rewardGainCount": "Ricevi\n{{count}} {{modifierName}}!", "expGain": "{{pokemonName}} ha guadagnato\n{{exp}} Punti Esperienza!", "levelUp": "{{pokemonName}} è salito al\nlivello {{level}}!", "learnMove": "{{pokemonName}} impara\n{{moveName}}!", diff --git a/src/locales/ja/battle.json b/src/locales/ja/battle.json index 7402c6155b4..f01ab2a5208 100644 --- a/src/locales/ja/battle.json +++ b/src/locales/ja/battle.json @@ -28,6 +28,7 @@ "attackMissed": "{{pokemonNameWithAffix}}には 当たらなかった!", "attackHitsCount": "{{count}}かい 当たった!", "rewardGain": "{{modifierName}}を 手に入れた!", + "rewardGainCount": "{{modifierName}}を {{count}}個 手に入れた!", "expGain": "{{pokemonName}}は\n{{exp}}経験値を もらった!", "levelUp": "{{pokemonName}}は\nレベル{{level}}に 上がった!", "learnMove": "{{pokemonName}}は 新しく\n{{moveName}}を 覚えた!", diff --git a/src/locales/ko/battle.json b/src/locales/ko/battle.json index 987f816bbf6..321684ebe81 100644 --- a/src/locales/ko/battle.json +++ b/src/locales/ko/battle.json @@ -32,6 +32,7 @@ "attackMissed": "{{pokemonNameWithAffix}}에게는\n맞지 않았다!", "attackHitsCount": "{{count}}번 맞았다!", "rewardGain": "{{modifierName}}[[를]] 받았다!", + "rewardGainCount": "{{modifierName}}[[를]]\n{{count}}개 손에 넣었다!", "expGain": "{{pokemonName}}[[는]]\n{{exp}} 경험치를 얻었다!", "levelUp": "{{pokemonName}}[[는]]\n레벨 {{level}}[[로]] 올랐다!", "learnMove": "{{pokemonName}}[[는]] 새로\n{{moveName}}[[를]] 배웠다!", diff --git a/src/locales/pt_BR/battle.json b/src/locales/pt_BR/battle.json index 72fcc018980..e3de22357cb 100644 --- a/src/locales/pt_BR/battle.json +++ b/src/locales/pt_BR/battle.json @@ -32,6 +32,7 @@ "attackMissed": "{{pokemonNameWithAffix}} desviou do ataque!", "attackHitsCount": "Acertou {{count}} vezes.", "rewardGain": "Você recebeu\n{{modifierName}}!", + "rewardGainCount": "Você recebeu\n{{count}} {{modifierName}}!", "expGain": "{{pokemonName}} ganhou\n{{exp}} pontos de experiência.", "levelUp": "{{pokemonName}} subiu para \nNv. {{level}}!", "learnMove": "{{pokemonName}} aprendeu {{moveName}}!", diff --git a/src/locales/zh_CN/battle.json b/src/locales/zh_CN/battle.json index 355c253676d..ef716b0893a 100644 --- a/src/locales/zh_CN/battle.json +++ b/src/locales/zh_CN/battle.json @@ -32,6 +32,7 @@ "attackMissed": "没有命中{{pokemonNameWithAffix}}!", "attackHitsCount": "击中{{count}}次!", "rewardGain": "你获得了\n{{modifierName}}!", + "rewardGainCount": "你获得了\n{{count}}个{{modifierName}}!", "expGain": "{{pokemonName}}获得了{{exp}} 点经验值!", "levelUp": "{{pokemonName}}升级到Lv.{{level}}!", "learnMove": "{{pokemonName}}学会了{{moveName}}!", diff --git a/src/locales/zh_TW/battle.json b/src/locales/zh_TW/battle.json index 3eb9d523b03..2e9d2f52826 100644 --- a/src/locales/zh_TW/battle.json +++ b/src/locales/zh_TW/battle.json @@ -39,6 +39,7 @@ "attackMissed": "沒有命中{{pokemonNameWithAffix}}!", "attackHitsCount": "擊中{{count}}次!", "rewardGain": "你獲得了\n{{modifierName}}!", + "rewardGainCount": "你獲得了\n{{count}}個{{modifierName}}!", "expGain": "{{pokemonName}}獲得了{{exp}} 點經驗值!", "levelUp": "{{pokemonName}}升級到Lv.{{level}}!", "learnMove": "{{pokemonName}}學會了{{moveName}}!",