From f1241b2ebfcad1862e428b269426bcbb91a98610 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 9 Dec 2024 22:46:48 +0200 Subject: [PATCH] chore(i18n): add translation for electron integration settings --- .../options/appearance/electron_integration.js | 12 ++++++------ src/public/translations/en/translation.json | 8 ++++++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/public/app/widgets/type_widgets/options/appearance/electron_integration.js b/src/public/app/widgets/type_widgets/options/appearance/electron_integration.js index f123423c1..d44e438b9 100644 --- a/src/public/app/widgets/type_widgets/options/appearance/electron_integration.js +++ b/src/public/app/widgets/type_widgets/options/appearance/electron_integration.js @@ -4,25 +4,25 @@ import utils from "../../../../services/utils.js"; const TPL = `
-

Desktop application

+

${t("electron_integration.desktop-application")}

- +
`; diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index c7c289480..f94c83d34 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1574,5 +1574,13 @@ "open_note_in_new_tab": "Open note in a new tab", "open_note_in_new_split": "Open note in a new split", "open_note_in_new_window": "Open note in a new window" + }, + "electron_integration": { + "desktop-application": "Desktop Application", + "native-title-bar": "Native title bar", + "native-title-bar-description": "For Windows and macOS, keeping the native title bar off makes the application look more compact. On Linux, keeping the native title bar on integrates better with the rest of the system.", + "background-effects": "Enable background effects (Windows 11 only)", + "background-effects-description": "The Mica effect adds a blurred, stylish background to app windows, creating depth and a modern look.", + "restart-app-button": "Restart the application to view the changes" } }