From bedf9112fb3acf117d5e6f6d807673c5c4b8c7b0 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Fri, 22 Aug 2025 20:42:17 +0300 Subject: [PATCH] client/settings/disable motion: add localization support --- apps/client/src/translations/en/translation.json | 4 ++++ apps/client/src/widgets/type_widgets/options/appearance.tsx | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index b80e8745e..10fbc79aa 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -1113,6 +1113,10 @@ "layout-vertical-description": "launcher bar is on the left (default)", "layout-horizontal-description": "launcher bar is underneath the tab bar, the tab bar is now full width." }, + "ui-performance": { + "title": "Performance", + "enable-motion": "Use transitions and animations" + }, "ai_llm": { "not_started": "Not started", "title": "AI Settings", diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx index 5c19fcea8..b54c8acc8 100644 --- a/apps/client/src/widgets/type_widgets/options/appearance.tsx +++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx @@ -249,10 +249,10 @@ function ElectronIntegration() { function Performance() { const [ motionEnabled, setMotionEnabled ] = useTriliumOptionBool("motionEnabled", true); - return + return