mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
client/settings/disable motion: add localization support
This commit is contained in:
@@ -1113,6 +1113,10 @@
|
|||||||
"layout-vertical-description": "launcher bar is on the left (default)",
|
"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."
|
"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": {
|
"ai_llm": {
|
||||||
"not_started": "Not started",
|
"not_started": "Not started",
|
||||||
"title": "AI Settings",
|
"title": "AI Settings",
|
||||||
|
|||||||
@@ -249,10 +249,10 @@ function ElectronIntegration() {
|
|||||||
function Performance() {
|
function Performance() {
|
||||||
const [ motionEnabled, setMotionEnabled ] = useTriliumOptionBool("motionEnabled", true);
|
const [ motionEnabled, setMotionEnabled ] = useTriliumOptionBool("motionEnabled", true);
|
||||||
|
|
||||||
return <OptionsSection title="Performance">
|
return <OptionsSection title={t("ui-performance.title")}>
|
||||||
<FormGroup name="motion-enabled">
|
<FormGroup name="motion-enabled">
|
||||||
<FormCheckbox
|
<FormCheckbox
|
||||||
label={"Use transitions and animations"}
|
label={t("ui-performance.enable-motion")}
|
||||||
currentValue={motionEnabled} onChange={setMotionEnabled}
|
currentValue={motionEnabled} onChange={setMotionEnabled}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user