-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Svelte 5 Migration 6: Update the whole i18n setup (#696)
* define i18n interface * update changelog * API endpoint GET full i18n with caching and pre-compression * split i18n into email + ui mods * change i18n cache etag from app start to build time * i18n preload, LangSelector -> sv5, i18n override during local dev * automatically build i18n JSON in `build.rs` for 100% type checking * migrate LangSelector to svelte 5 * fix i18n during DEV ssr + compile via dynamic imports * add pre-built I18n JSON from the backend * fix i18n `preload` in static UI HTML * migrate `helpers.js` to `helpers.ts` * migrate account dashboard to `useI18n()`` * migrate device UI to `useI18n()`` * migrate error HTML to `useI18n()`` * migrate providers callback + WebauthnRequest to `useI18n()`` * migrate logout HTML to `useI18n()`` * migrate authorize HTML to `useI18n()`` * migrate user registration HTML to `useI18n()`` * migrate password reset HTML + PasswordPolicy to `useI18n()`` * migrate email changed confirm HTML to `useI18n()` * delete obsolete WithI18n * remove old `POST /i18n` endpoint * move HTML serving endpoints into separate module * remove all `i18n` pre-rendering entries from static HTML * drop all old UI i18n parts from the backend * final i18n cleanup
- Loading branch information
Showing
114 changed files
with
2,330 additions
and
2,869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.