feat: add post and comment translation

This commit is contained in:
Xylight committed 2024-06-05 14:13:43 -07:00
1 parent e7d12916c3
commit 990f073715
9 files changed
+156 -3

No files matched your search

+2
View File
@@ -80,6 +80,7 @@ interface Settings {
compactFeatured: boolean
}
language: string | null
translator: string | undefined
}
export const defaultSettings: Settings = {
@@ -138,6 +139,7 @@ export const defaultSettings: Settings = {
compactFeatured: toBool(env.PUBLIC_COMPACT_FEATURED) ?? true,
},
language: null,
translator: undefined,
}
export const userSettings = writable(defaultSettings)