Wire locale catalogs, repair mint terminology, and confirm login with a toast.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
michilis
2026-08-24 22:35:43 +02:00
co-authored by Cursor
parent b95aab2bcd
commit 301679d340
33 changed files with 1570 additions and 963 deletions
+7 -2
View File
@@ -7,8 +7,13 @@
* bare codes means the duplication is two short arrays that cannot drift far, and
* `scripts/check-i18n.mjs` compares the two on every build so they cannot drift at all.
*
* Adding a language: add the code here and the full entry in `config.ts`.
* Adding a language: the code here, the full entry in `config.ts`, and the import and
* `CATALOGS` line in `index.ts`. The last one is the one that gets forgotten, and the
* only symptom is the new language rendering in English.
*/
export const DEFAULT_LOCALE = 'en';
export const LOCALE_CODES = ['en', 'es', 'nl'];
export const LOCALE_CODES = [
'en', 'es', 'nl', 'zh', 'hi', 'ar', 'fr', 'pt', 'it', 'tr', 'pl', 'uk', 'ro', 'el', 'cs',
'sv', 'da', 'id', 'ur', 'ru', 'de', 'ja', 'ar-eg', 'vi',
];