diff --git a/src/public/app/widgets/type_widgets/options/appearance/highlighting.js b/src/public/app/widgets/type_widgets/options/appearance/highlighting.js index 395b1279b..07cd1412e 100644 --- a/src/public/app/widgets/type_widgets/options/appearance/highlighting.js +++ b/src/public/app/widgets/type_widgets/options/appearance/highlighting.js @@ -1,3 +1,4 @@ +import { t } from "../../../../services/i18n.js"; import library_loader from "../../../../services/library_loader.js"; import server from "../../../../services/server.js"; import OptionsWidget from "../options_widget.js"; @@ -13,13 +14,13 @@ function test(name) { const TPL = `
-

Code Syntax Highlighting for Text Notes

+

${t("highlighting.title")}

-

Controls the syntax highlighting for code blocks inside text notes, code notes will not be affected.

+

${t("highlighting.description")}

- +
diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index 0d7985f1d..9775f5482 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1500,5 +1500,10 @@ }, "editable-text": { "auto-detect-language": "Auto-detected" + }, + "highlighting": { + "title": "Code Syntax Highlighting for Text Notes", + "description": "Controls the syntax highlighting for code blocks inside text notes, code notes will not be affected.", + "color-scheme": "Color Scheme" } } diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json index 69e7ea8cc..c3c48c411 100644 --- a/src/public/translations/ro/translation.json +++ b/src/public/translations/ro/translation.json @@ -1497,5 +1497,13 @@ "move-to-available-launchers": "Mută în Lansatoare disponibile", "move-to-visible-launchers": "Mută în Lansatoare vizibile", "reset": "Resetează" + }, + "editable-text": { + "auto-detect-language": "Automat" + }, + "highlighting": { + "color-scheme": "Temă de culori", + "title": "Evidențiere de sintaxă pentru notițele de tip text", + "description": "Controlează evidențierea de sintaxă pentru blocurile de cod în interiorul notițelor text, notițele de tip cod nu vor fi afectate de aceste setări." } }