From a2eff6e427be71302ec3626cf3726e4afe6492a9 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Mon, 19 Feb 2024 10:55:38 -0500 Subject: [PATCH] fix language not working and change build defaults --- .env | 7 +++---- package-lock.json | 6 +++--- src/i18n.ts | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.env b/.env index 46823dd..f41865f 100644 --- a/.env +++ b/.env @@ -1,7 +1,6 @@ SAFETWITCH_BACKEND_DOMAIN=localhost:7000 SAFETWITCH_INSTANCE_DOMAIN=localhost:5173 SAFETWITCH_HTTPS=false -SAFETWITCH_DEFAULT_LOCALE=en -SAFETWITCH_FALLBACK_LOCALE=ja -VUE_APP_I18N_LOCALE=en -VUE_APP_I18N_FALLBACK_LOCALE=ja +SAFETWITCH_DEFAULT_LOCALE=en-US +SAFETWITCH_DEFAULT_THEME=dark +SAFETWITCH_FALLBACK_LOCALE=en-US \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 05be3b3..274183f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5254,9 +5254,9 @@ } }, "node_modules/vite": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.0.tgz", - "integrity": "sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.2.tgz", + "integrity": "sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==", "dev": true, "dependencies": { "esbuild": "^0.18.10", diff --git a/src/i18n.ts b/src/i18n.ts index 810ba07..a594416 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -29,7 +29,7 @@ export default createI18n({ 'he-IL': he, 'ru-RU': ru, 'ko-KR': ko, - 'cd-CZ': cs, + 'cs-CZ': cs, 'pl-PL': pl, 'it-IT': it, 'fr-FR': fr,