Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client/settings/disable motion: add localization support
Adorian Doranbedf9112fb3a
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex b80e8745e8..10fbc79aa7 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.tsxindex 5c19fcea8d..b54c8acc8d 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 <OptionsSection title="Performance">+ return <OptionsSection title={t("ui-performance.title")}><FormGroup name="motion-enabled"><FormCheckbox- label={"Use transitions and animations"}+ label={t("ui-performance.enable-motion")}currentValue={motionEnabled} onChange={setMotionEnabled}/></FormGroup>