i18n: add support for rtl

This commit is contained in:
Xylight committed 2024-07-06 13:28:11 -07:00
1 parent 37a7218bef
commit ad3b9e5f36
5 files changed
+49 -29

No files matched your search

+2
View File
@@ -89,6 +89,7 @@ interface Settings {
showHidden: boolean
}
language: string | null
useRtl: boolean
translator: string | undefined
}
@@ -156,6 +157,7 @@ export const defaultSettings: Settings = {
showHidden: false,
},
language: env.PUBLIC_LANGUAGE ?? null,
useRtl: false,
translator: env.PUBLIC_TRANSLATOR ?? undefined,
}