Add translation support

This commit is contained in:
dragongoose
2023-06-13 12:08:43 -04:00
parent 14585e0144
commit fcac40082b
25 changed files with 2781 additions and 194 deletions

8
env.d.ts vendored
View File

@ -1,9 +1,11 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_BACKEND_DOMAIN: string
readonly VITE_INSTANCE_DOMAIN: string
readonly VITE_HTTPS: string
readonly SAFETWITCH_BACKEND_DOMAIN: string
readonly SAFETWITCH_INSTANCE_DOMAIN: string
readonly SAFETWITCH_HTTPS: string
readonly SAFETWITCH_DEFAULT_LOCALE: string
readonly SAFETWITCH_FALLBACK_LOCALE: string
// more env variables...
}