i18n: localize posts
This commit is contained in:
1 parent
64107e51a0
commit
c4236fa124
9 files changed
+110
-31
No files matched your search
+5
-3
@@ -77,6 +77,7 @@ interface Settings {
|
||||
deduplicateEmbed: boolean
|
||||
compactFeatured: boolean
|
||||
}
|
||||
language: string | null
|
||||
}
|
||||
|
||||
export const defaultSettings: Settings = {
|
||||
@@ -128,12 +129,13 @@ export const defaultSettings: Settings = {
|
||||
},
|
||||
dock: {
|
||||
noGap: toBool(env.PUBLIC_DOCK_PANEL) ?? null,
|
||||
top: toBool(env.PUBLIC_DOCK_TOP) ?? null
|
||||
top: toBool(env.PUBLIC_DOCK_TOP) ?? null,
|
||||
},
|
||||
posts: {
|
||||
deduplicateEmbed: toBool(env.PUBLIC_DEDUPLICATE_EMBED) ?? true,
|
||||
compactFeatured: toBool(env.PUBLIC_COMPACT_FEATURED) ?? true
|
||||
}
|
||||
compactFeatured: toBool(env.PUBLIC_COMPACT_FEATURED) ?? true,
|
||||
},
|
||||
language: null,
|
||||
}
|
||||
|
||||
export const userSettings = writable(defaultSettings)
|
||||
|
||||
Reference in new issue
Block a user