Skip to content

Build your personal knowledge base with Trilium Notes

chore(options): change translations for code block appearance

Elian Doran5f2314f901ca
diff --git a/apps/client/src/translations/cn/translation.json b/apps/client/src/translations/cn/translation.json
index da17ebc9ec..bcc0bc269e 100644
--- a/apps/client/src/translations/cn/translation.json
+++ b/apps/client/src/translations/cn/translation.json
@@ -1616,7 +1616,7 @@
"auto-detect-language": "自动检测"
},
"highlighting": {
- "title": "文本笔记的代码语法高亮",
+ "title": "",
"description": "控制文本笔记中代码块的语法高亮,代码笔记不会受到影响。",
"color-scheme": "颜色方案"
},
diff --git a/apps/client/src/translations/de/translation.json b/apps/client/src/translations/de/translation.json
index 108586d053..8ec5097aac 100644
--- a/apps/client/src/translations/de/translation.json
+++ b/apps/client/src/translations/de/translation.json
@@ -1568,7 +1568,7 @@
"auto-detect-language": "Automatisch erkannt"
},
"highlighting": {
- "title": "Code-Syntax-Hervorhebung für Textnotizen",
+ "title": "",
"description": "Steuert die Syntaxhervorhebung für Codeblöcke in Textnotizen, Code-Notizen sind nicht betroffen.",
"color-scheme": "Farbschema"
},
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index ebef11e051..24f1044419 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -1822,7 +1822,7 @@
"auto-detect-language": "Auto-detected"
},
"highlighting": {
- "title": "Code Syntax Highlighting for Text Notes",
+ "title": "Code Blocks",
"description": "Controls the syntax highlighting for code blocks inside text notes, code notes will not be affected.",
"color-scheme": "Color Scheme"
},
diff --git a/apps/client/src/translations/es/translation.json b/apps/client/src/translations/es/translation.json
index 172ca8ea02..46be1d55fb 100644
--- a/apps/client/src/translations/es/translation.json
+++ b/apps/client/src/translations/es/translation.json
@@ -1584,7 +1584,7 @@
"auto-detect-language": "Detectado automáticamente"
},
"highlighting": {
- "title": "Resaltado de sintaxis de de código para Notas de Texto",
+ "title": "",
"description": "Controla el resaltado de sintaxis para bloques de código dentro de las notas de texto, las notas de código no serán afectadas.",
"color-scheme": "Esquema de color"
},
diff --git a/apps/client/src/translations/fr/translation.json b/apps/client/src/translations/fr/translation.json
index 91758b8d60..d7597a3ac9 100644
--- a/apps/client/src/translations/fr/translation.json
+++ b/apps/client/src/translations/fr/translation.json
@@ -1574,7 +1574,7 @@
"auto-detect-language": "Détecté automatiquement"
},
"highlighting": {
- "title": "Coloration syntaxique du code pour les notes texte",
+ "title": "",
"description": "Contrôle la coloration syntaxique des blocs de code à l'intérieur des notes texte, les notes de code ne seront pas affectées.",
"color-scheme": "Jeu de couleurs"
},
diff --git a/apps/client/src/translations/ro/translation.json b/apps/client/src/translations/ro/translation.json
index 6e371c28ac..efaf270f2f 100644
--- a/apps/client/src/translations/ro/translation.json
+++ b/apps/client/src/translations/ro/translation.json
@@ -1581,7 +1581,7 @@
},
"highlighting": {
"color-scheme": "Temă de culori",
- "title": "Evidențiere de sintaxă pentru notițele de tip text",
+ "title": "",
"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."
},
"code_block": {
diff --git a/apps/client/src/translations/tw/translation.json b/apps/client/src/translations/tw/translation.json
index 2d2e256ade..4360fcdf49 100644
--- a/apps/client/src/translations/tw/translation.json
+++ b/apps/client/src/translations/tw/translation.json
@@ -1514,7 +1514,7 @@
"auto-detect-language": "自動檢測"
},
"highlighting": {
- "title": "文字筆記的程式碼語法高亮",
+ "title": "",
"description": "控制文字筆記中程式碼塊的語法高亮,程式碼筆記不會受到影響。",
"color-scheme": "顏色方案"
},
diff --git a/apps/client/src/widgets/type_widgets/options/text_notes/code_block.ts b/apps/client/src/widgets/type_widgets/options/text_notes/code_block.ts
index 7d0dea3818..f339d21e26 100644
--- a/apps/client/src/widgets/type_widgets/options/text_notes/code_block.ts
+++ b/apps/client/src/widgets/type_widgets/options/text_notes/code_block.ts
@@ -25,8 +25,6 @@ const TPL = /*html*/`
<div class="options-section">
<h4>${t("highlighting.title")}</h4>
- <p class="form-text">${t("highlighting.description")}</p>
-
<div class="form-group row">
<div class="col-md-6">
<label for="highlighting-color-scheme-select">${t("highlighting.color-scheme")}</label>