Skip to content

Build your personal knowledge base with Trilium Notes

client: Clean up restart warnings in spellcheck

Elian Dorana27feee1bed6
diff --git a/src/public/app/widgets/type_widgets/options/spellcheck.js b/src/public/app/widgets/type_widgets/options/spellcheck.js
index dac97db242..dc0120badf 100644
--- a/src/public/app/widgets/type_widgets/options/spellcheck.js
+++ b/src/public/app/widgets/type_widgets/options/spellcheck.js
@@ -14,7 +14,7 @@ const TPL_ELECTRON = `
<div class="options-section">
<h4>${t('spellcheck.title')}</h4>
- <p>App restart is required after change.</p>
+ <p>${t("spellcheck.restart-required")}</p>
<label>
<input type="checkbox" class="spell-check-enabled">
diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.json
index 9b637c10d3..950a24805c 100644
--- a/src/public/translations/cn/translation.json
+++ b/src/public/translations/cn/translation.json
@@ -1192,12 +1192,13 @@
},
"spellcheck": {
"title": "拼写检查",
- "description": "这些选项仅适用于桌面版本,浏览器将使用其原生的拼写检查功能。更改后需要重启应用。",
+ "description": "这些选项仅适用于桌面版本,浏览器将使用其原生的拼写检查功能。",
"enable": "启用拼写检查",
"language_code_label": "语言代码",
"language_code_placeholder": "例如 \"en-US\", \"de-AT\"",
- "multiple_languages_info": "多种语言可以用逗号分隔,例如 \"en-US, de-DE, cs\"。拼写检查选项的更改将在应用重启后生效。",
- "available_language_codes_label": "可用的语言代码:"
+ "multiple_languages_info": "多种语言可以用逗号分隔,例如 \"en-US, de-DE, cs\"。",
+ "available_language_codes_label": "可用的语言代码:",
+ "restart-required": "拼写检查选项的更改将在应用重启后生效。"
},
"sync_2": {
"config_title": "同步配置",
diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json
index 2b9ceb32e0..d92f2fe608 100644
--- a/src/public/translations/en/translation.json
+++ b/src/public/translations/en/translation.json
@@ -1198,12 +1198,13 @@
},
"spellcheck": {
"title": "Spell Check",
- "description": "These options apply only for desktop builds, browsers will use their own native spell check. App restart is required after change.",
+ "description": "These options apply only for desktop builds, browsers will use their own native spell check.",
"enable": "Enable spellcheck",
"language_code_label": "Language code(s)",
"language_code_placeholder": "for example \"en-US\", \"de-AT\"",
- "multiple_languages_info": "Multiple languages can be separated by comma, e.g. \"en-US, de-DE, cs\". Changes to the spell check options will take effect after application restart.",
- "available_language_codes_label": "Available language codes:"
+ "multiple_languages_info": "Multiple languages can be separated by comma, e.g. \"en-US, de-DE, cs\". ",
+ "available_language_codes_label": "Available language codes:",
+ "restart-required": "Changes to the spell check options will take effect after application restart."
},
"sync_2": {
"config_title": "Sync Configuration",
diff --git a/src/public/translations/es/translation.json b/src/public/translations/es/translation.json
index 87e21b7565..6f98ddd274 100644
--- a/src/public/translations/es/translation.json
+++ b/src/public/translations/es/translation.json
@@ -1195,12 +1195,13 @@
},
"spellcheck": {
"title": "Revisión ortográfica",
- "description": "Estas opciones se aplican sólo para compilaciones de escritorio; los navegadores utilizarán su corrector ortográfico nativo. Es necesario reiniciar la aplicación después del cambio.",
+ "description": "Estas opciones se aplican sólo para compilaciones de escritorio; los navegadores utilizarán su corrector ortográfico nativo.",
"enable": "Habilitar corrector ortográfico",
"language_code_label": "Código(s) de idioma",
"language_code_placeholder": "por ejemplo \"en-US\", \"de-AT\"",
- "multiple_languages_info": "Múltiples idiomas se pueden separar por coma, por ejemplo \"en-US, de-DE, cs \". Los cambios en las opciones de corrección ortográfica entrarán en vigor después del reinicio de la aplicación.",
- "available_language_codes_label": "Códigos de idioma disponibles:"
+ "multiple_languages_info": "Múltiples idiomas se pueden separar por coma, por ejemplo \"en-US, de-DE, cs\".",
+ "available_language_codes_label": "Códigos de idioma disponibles:",
+ "restart-required": "Los cambios en las opciones de corrección ortográfica entrarán en vigor después del reinicio de la aplicación."
},
"sync_2": {
"config_title": "Configuración de sincronización",
diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json
index b3ea998646..f3285c4e7e 100644
--- a/src/public/translations/ro/translation.json
+++ b/src/public/translations/ro/translation.json
@@ -1116,12 +1116,13 @@
},
"spellcheck": {
"available_language_codes_label": "Coduri de limbă disponibile:",
- "description": "Aceste opțiuni se aplică doar pentru aplicația de desktop, navigatoarele web folosesc propriile corectoare ortografice. Repornirea aplicației este necesară după modificări.",
+ "description": "Aceste opțiuni se aplică doar pentru aplicația de desktop, navigatoarele web folosesc propriile corectoare ortografice.",
"enable": "Activează corectorul ortografic",
"language_code_label": "Codurile de limbă",
"language_code_placeholder": "de exemplu „en-US”, „de-AT”",
- "multiple_languages_info": "Mai multe limbi pot fi separate prin virgulă, e.g. \"en-US, de-DE, cs\". Schimbările asupra setărilor corectorului ortografic vor fi aplicate după restartarea aplicației.",
- "title": "Corector ortografic"
+ "multiple_languages_info": "Mai multe limbi pot fi separate prin virgulă, e.g. \"en-US, de-DE, cs\".",
+ "title": "Corector ortografic",
+ "restart-required": "Schimbările asupra setărilor corectorului ortografic vor fi aplicate după restartarea aplicației."
},
"sync": {
"fill_entity_changes_button": "Completează înregistrările de schimbare ale entităților",