Wire locale catalogs, repair mint terminology, and confirm login with a toast.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user