0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-21 21:03:00 -05:00

fix language not working and change build defaults

This commit is contained in:
dragongoose 2024-02-19 10:55:38 -05:00
parent 419c913111
commit a2eff6e427
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5
3 changed files with 7 additions and 8 deletions

7
.env
View file

@ -1,7 +1,6 @@
SAFETWITCH_BACKEND_DOMAIN=localhost:7000 SAFETWITCH_BACKEND_DOMAIN=localhost:7000
SAFETWITCH_INSTANCE_DOMAIN=localhost:5173 SAFETWITCH_INSTANCE_DOMAIN=localhost:5173
SAFETWITCH_HTTPS=false SAFETWITCH_HTTPS=false
SAFETWITCH_DEFAULT_LOCALE=en SAFETWITCH_DEFAULT_LOCALE=en-US
SAFETWITCH_FALLBACK_LOCALE=ja SAFETWITCH_DEFAULT_THEME=dark
VUE_APP_I18N_LOCALE=en SAFETWITCH_FALLBACK_LOCALE=en-US
VUE_APP_I18N_FALLBACK_LOCALE=ja

6
package-lock.json generated
View file

@ -5254,9 +5254,9 @@
} }
}, },
"node_modules/vite": { "node_modules/vite": {
"version": "4.5.0", "version": "4.5.2",
"resolved": "https://registry.npmjs.org/vite/-/vite-4.5.0.tgz", "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.2.tgz",
"integrity": "sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==", "integrity": "sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"esbuild": "^0.18.10", "esbuild": "^0.18.10",

View file

@ -29,7 +29,7 @@ export default createI18n({
'he-IL': he, 'he-IL': he,
'ru-RU': ru, 'ru-RU': ru,
'ko-KR': ko, 'ko-KR': ko,
'cd-CZ': cs, 'cs-CZ': cs,
'pl-PL': pl, 'pl-PL': pl,
'it-IT': it, 'it-IT': it,
'fr-FR': fr, 'fr-FR': fr,