mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +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-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",
 | 
			
		||||
 
 | 
			
		||||
@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user