diff --git a/apps/client/src/widgets/type_widgets/options/i18n.tsx b/apps/client/src/widgets/type_widgets/options/i18n.tsx index 03a8f74ba..7ed402b9c 100644 --- a/apps/client/src/widgets/type_widgets/options/i18n.tsx +++ b/apps/client/src/widgets/type_widgets/options/i18n.tsx @@ -6,6 +6,7 @@ import OptionsSection from "./components/OptionsSection"; import { useTriliumOption } from "../../react/hooks"; import type { Locale } from "@triliumnext/commons"; import { isElectron } from "../../../services/utils"; +import FormRadioGroup from "../../react/FormRadioGroup"; export default function InternationalizationOptions() { return ( @@ -26,6 +27,7 @@ function LocalizationOptions() { const [ locale, setLocale ] = useTriliumOption("locale"); const [ formattingLocale, setFormattingLocale ] = useTriliumOption("formattingLocale"); + const [ firstDayOfWeek, setFirstDayOfWeek ] = useTriliumOption("firstDayOfWeek"); return ( @@ -36,6 +38,17 @@ function LocalizationOptions() { {isElectron() && } + + + + ) } @@ -46,4 +59,12 @@ function LocaleSelector({ locales, currentValue, onChange }: { locales: Locale[] keyProperty="id" titleProperty="name" currentValue={currentValue} onChange={onChange} />; +} + +function FirstDayOfWeekSettings() { + return ( + <> + + + ) } \ No newline at end of file