client/settings/disable motion: add localization support

This commit is contained in:
Adorian Doran
2025-08-22 20:42:17 +03:00
parent 03681d23c5
commit bedf9112fb
2 changed files with 6 additions and 2 deletions

View File

@@ -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",

View File

@@ -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>