* Revert "[Hotfix] Adding warning message for the maintenance (#5263)"
This reverts commit c88c9337dd7be5dc39cb6aa3c5a957124e9253a1.
* Update version to 1.5.4
* Adding warning message for the maintenance; needs localization
* Update src/ui/title-ui-handler.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update language codes
* Add French translation
Co-authored-by: Lugiad <2070109+Adri1@users.noreply.github.com>
* Fix variable typo in French translation
* Add `zh-CN`
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Add `zh-TW`
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Add `ja`
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Add `es-ES`
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Improve date localization
* Specify 12h/24h time format for each language
* Mark the temporary announcement code with comments
* Add `ko`
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* Move announcement box 10 pixels to the left
* Update korean translation
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* Added German translation
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Removed some useless spaces in maintenance message
* Reduced announcement font size by 2 px
* Adding italian, fixing japanese
* Use English message as placeholder for pt-BR for now
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Lugiad <2070109+Adri1@users.noreply.github.com>
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* Trim 688.json duration
* Trim 688.json duration
* Fix cut off Binacle back
* Fix cut off shiny Binacle back
* Bump version
* Bump version
* Revert cutting off hair
* Revert cutting off hair
* Remove trailing comma
* Remove trailing comma
* Fix manifest being used before the game is initialized
* bump game version
* make manifest fix more future proof
* Revert "make manifest fix more future proof"
This reverts commit 32591b35d0438dac99eb2ea29cd6757e3086008a.
* fix locales path for offline builds
* Fix status damage triggering before berry usage
* Bump version number
* Revert "Bump version number"
This reverts commit 64b194f5a7c7507b4253c96ed5b9cc028bc80ab6.
* Bump version number for real this time
* Removed local translation files
added translations submodule
[Enhancement] Add post-merge command to update submodules in lefthook configuration
[Enhancement] Add postinstall script to install lefthook after package installation
[Enhancement] Update postinstall script to run post-merge command after lefthook installation
* Add subproject commit for locales directory
* Remove translation team assignments from CODEOWNERS
* Add recursive submodule checkout to workflow files and update README for translations
* fix: run without locales present (#4539)
some code was hard-wired with locales having to be present. This is no longer the case now
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* 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
* add: inquirer module
* make create-test interactive
To be more intuitive
* restructure create-test-boilerplate.js code
* move: test type choices into function
* fix: type choices only contain types
the "exit" option is added separately
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* bump up `vitest` and `eslint` version to resolve inflight warning...
- remove and disable `eslint-plugin-import` due to not supporting `eslint@9` yet (can be reactivated later)
- bump `eslint` to `9.7.0`.
- bump `@typescript-eslint/eslint-plugin` to `8.0.0-alpha.54`
- update `@typescript-eslint/parser` to `8.0.0-alpha.54`
- update `typescript-eslint` to `8.0.0-alpha.54`
- update `vitest` to `2.0.4`
- update `@vitest/coverage-istanbul` to `2.0.4`
* remove `vite-plugin-fs` dependency...
- removed `api-generatort-script.ts` file (this was in consultations with devs https://discord.com/channels/1125469663833370665/1250836282926436413/1266469312609259550)
* bump `vite` to version 5
* fix pokemonSprite.test.ts to run locally
It should ignore hidden (starting with `.`) files!
* migrate some `typescript-eslint` to @stylistic/eslint-plugin-ts
as stated here: https://typescript-eslint.io/blog/deprecating-formatting-rules#upgrading-to-eslint-stylistic
- fix eslint complaints inside `i18next.d.ts`
* delete `pokenode-ts` dependency
* remove `phaser3spectorjs`
It's a WebGL debugging tool but I've never seen anyone using it
* remove `axios` and `axios-cache-interceptor` dependency
They are unused
* remove unused `json-beautify` dependency
* move `dependency-cruiser` to dev dependencies
* Revert "remove `phaser3spectorjs`"
This reverts commit 725e6815386be5e39455b41d53f165ad5320173a.
* fix pokemonSprite.test.ts (invert condition)
whops..
* move `@hpcc-js/wasm` to devDependencies
See #2275
* move `@types/jsdom` to devDependencies
See #2275
* update package-lock.json
* add and use minify-json vite plugin
it minifies all the json files in the given directorties (currently `/dist/images` and `/dist/battle-anim`). That way we can work with the beautified jsons but the users retrieve the minified ones.
* bump vite to v5 to fix typedoc issue
https://github.com/vitejs/vite/issues/15714