Skip to content

Build your personal knowledge base with Trilium Notes

electron app: mention that a restart is required for the smooth scrolling setting to take effect

Adorian Doranc729731c7e88
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 28cfd98f2f..3bffc9e317 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -1119,7 +1119,8 @@
"enable-motion": "Enable transitions and animations",
"enable-shadows": "Enable shadows",
"enable-backdrop-effects": "Enable background effects for menus, popups and panels",
- "enable-smooth-scroll": "Enable smooth scrolling"
+ "enable-smooth-scroll": "Enable smooth scrolling",
+ "app-restart-required": "(a restart of the application is required for the change to take effect)"
},
"ai_llm": {
"not_started": "Not started",
diff --git a/apps/client/src/translations/ro/translation.json b/apps/client/src/translations/ro/translation.json
index b9868ac3a9..69dc904b95 100644
--- a/apps/client/src/translations/ro/translation.json
+++ b/apps/client/src/translations/ro/translation.json
@@ -2014,7 +2014,8 @@
"enable-motion": "Activează tranzițiile și animațiile",
"enable-shadows": "Activează umbrirea elementelor",
"enable-backdrop-effects": "Activează efectele de fundal pentru meniuri, popup-uri și panouri",
- "enable-smooth-scroll": "Activează derularea lină"
+ "enable-smooth-scroll": "Activează derularea lină",
+ "app-restart-required": "(este necesară repornirea aplicației pentru ca modificarea să aibă efect)"
},
"settings": {
"related_settings": "Setări similare"
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx
index 2da8ebb1e7..12db58b690 100644
--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx
+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx
@@ -269,7 +269,7 @@ function Performance() {
/>
<FormCheckbox
- label={t("ui-performance.enable-smooth-scroll")}
+ label={`${t("ui-performance.enable-smooth-scroll")} ${t("ui-performance.app-restart-required")}`}
currentValue={smoothScrollEnabled} onChange={setSmoothScrollEnabled}
/>
</OptionsSection>