Skip to content

Build your personal knowledge base with Trilium Notes

client: Change translation for Export SVG button

Elian Doran27a287f8eadc
diff --git a/src/public/app/widgets/floating_buttons/svg_export_button.js b/src/public/app/widgets/floating_buttons/svg_export_button.js
index f693ce9540..f30130a53f 100644
--- a/src/public/app/widgets/floating_buttons/svg_export_button.js
+++ b/src/public/app/widgets/floating_buttons/svg_export_button.js
@@ -4,7 +4,7 @@ import NoteContextAwareWidget from "../note_context_aware_widget.js";
const TPL = `
<button type="button"
class="export-mermaid-button"
- title="${t('mermaid_export_button.button_title')}">
+ title="${t('svg_export_button.button_title')}">
<span class="bx bx-export"></span>
</button>
`;
diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.json
index dae09c1212..4184b8518f 100644
--- a/src/public/translations/cn/translation.json
+++ b/src/public/translations/cn/translation.json
@@ -647,9 +647,6 @@
"hide_floating_buttons_button": {
"button_title": "隐藏按钮"
},
- "mermaid_export_button": {
- "button_title": "导出Mermaid图表为SVG"
- },
"relation_map_buttons": {
"create_child_note_title": "创建新的子笔记并添加到关系图",
"reset_pan_zoom_title": "重置平移和缩放到初始坐标和放大倍率",
diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json
index 0fcdaf3037..f57d0d91dd 100644
--- a/src/public/translations/en/translation.json
+++ b/src/public/translations/en/translation.json
@@ -647,8 +647,8 @@
"hide_floating_buttons_button": {
"button_title": "Hide buttons"
},
- "mermaid_export_button": {
- "button_title": "Export Mermaid diagram as SVG"
+ "svg_export_button": {
+ "button_title": "Export diagram as SVG"
},
"relation_map_buttons": {
"create_child_note_title": "Create new child note and add it into this relation map",
diff --git a/src/public/translations/es/translation.json b/src/public/translations/es/translation.json
index 8a75f1327c..fc646638f0 100644
--- a/src/public/translations/es/translation.json
+++ b/src/public/translations/es/translation.json
@@ -647,9 +647,6 @@
"hide_floating_buttons_button": {
"button_title": "Ocultar botones"
},
- "mermaid_export_button": {
- "button_title": "Exportar diagrama de Mermaid como SVG"
- },
"relation_map_buttons": {
"create_child_note_title": "Crear una nueva nota hijo y agregarla a este mapa de relaciones",
"reset_pan_zoom_title": "Restablecer la panorámica y el zoom a las coordenadas y ampliación iniciales",
diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json
index 64d510dcee..62ecf2524e 100644
--- a/src/public/translations/ro/translation.json
+++ b/src/public/translations/ro/translation.json
@@ -734,9 +734,6 @@
"reload_description": "",
"title": ""
},
- "mermaid_export_button": {
- "button_title": ""
- },
"mobile_detail_menu": {
"delete_this_note": "",
"error_cannot_get_branch_id": "",