Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Qol][Refactor] i18n lazy-loading #4327

Merged
merged 48 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
c49d198
move: locales files to `/public` (from `/src`)
flx-sta Sep 19, 2024
685bda2
install: i18next-http-backend module
flx-sta Sep 19, 2024
2476e70
implement: i18next language lazy-loading
flx-sta Sep 19, 2024
77efb61
remove: all `config.ts` files (for locales)
flx-sta Sep 19, 2024
b44096c
disable: enConfig import in i18next.d.ts
flx-sta Sep 19, 2024
26d0e80
remove: console.log from utils.camelCaseToKebabCase()
flx-sta Sep 19, 2024
08f2866
remove localization tests
flx-sta Sep 19, 2024
962fa6e
mock i18next for tests
flx-sta Sep 19, 2024
68f7723
fix: tests that have to use the i18next key now
flx-sta Sep 19, 2024
e9bd43e
fix: absolute-avarice-encounter test
flx-sta Sep 19, 2024
701d894
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 19, 2024
335b706
fix: loading mystery-encounter translations
flx-sta Sep 19, 2024
906c993
fix: 2 mystery encounter translation loading
flx-sta Sep 19, 2024
d1257c4
replace: i18next mocks any vi.fn() calls
flx-sta Sep 19, 2024
7f0dffe
fix: new namespace usage in ME tests
flx-sta Sep 19, 2024
0c45190
fix: delibirdy encounter not being language specific
flx-sta Sep 19, 2024
5591deb
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 19, 2024
3102218
fix: the-expert-pokemon-breeder
flx-sta Sep 19, 2024
0beddf9
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 19, 2024
4729528
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 20, 2024
1f923eb
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 20, 2024
f222cc5
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 20, 2024
67ae5c2
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 23, 2024
ca30d09
fix: GTS encounter tests
flx-sta Sep 23, 2024
b4c6f5f
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 24, 2024
e94e411
add: `MockText.on()`
flx-sta Sep 24, 2024
9017225
fix: berries abound test
flx-sta Sep 24, 2024
04c597f
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 24, 2024
0bccafd
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 25, 2024
bf2f4f8
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 26, 2024
3540131
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 26, 2024
5556621
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 26, 2024
41032f7
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Sep 30, 2024
12dc17f
Merge branch 'beta' into qol/i18n-lazy-loading
flx-sta Oct 1, 2024
ef4981e
chore: apply review suggestion
flx-sta Oct 1, 2024
2b77efc
update i18next.d.ts
flx-sta Oct 1, 2024
5348b1c
chore: fix i18next.d.ts
flx-sta Oct 1, 2024
47becf0
fix: `dialogue-misc` switchup between `en` and `ja`
flx-sta Oct 1, 2024
c287584
move: `SpeciesFormKey` into enum
flx-sta Oct 1, 2024
91bb660
replace: `#app/enums/` with `#enums/` for `SpeciesFormKey` imports
flx-sta Oct 1, 2024
2942346
re-sync locales from `beta`
flx-sta Oct 1, 2024
3bfa689
rename: `ca_ES` -> `ca-ES`
flx-sta Oct 1, 2024
bc6f569
rename: `pt_BR` -> `pt-BR`
flx-sta Oct 1, 2024
cfbdcee
rename: `zh_CN` -> `zh-CN`
flx-sta Oct 1, 2024
4398fc4
rename: `zh_TW` -> `zh-TW`
flx-sta Oct 1, 2024
2de15f9
fix loading Species-Form-Key in poemon-evo.
flx-sta Oct 1, 2024
dae23c3
update: i18next `supporterLngs` ...
flx-sta Oct 1, 2024
dbc7062
fix: `${namespace}.` -> `${namespace}:`
flx-sta Oct 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 5 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"crypto-js": "^4.2.0",
"i18next": "^23.11.1",
"i18next-browser-languagedetector": "^7.2.1",
"i18next-http-backend": "^2.6.1",
"i18next-korean-postposition-processor": "^1.0.0",
"json-stable-stringify": "^1.1.0",
"phaser": "^3.70.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading