Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix export note title
Nriverfa2d0578c0f8
diff --git a/src/public/app/widgets/dialogs/export.js b/src/public/app/widgets/dialogs/export.jsindex 2c4231ebf4..b65b6a06d3 100644--- a/src/public/app/widgets/dialogs/export.js+++ b/src/public/app/widgets/dialogs/export.js@@ -33,7 +33,7 @@ const TPL = `<div class="modal-dialog modal-lg" role="document"><div class="modal-content"><div class="modal-header">- <h5 class="modal-title">${t('export.export_note_title', { noteTitle: '<span class="export-note-title"></span>' })}</h5>+ <h5 class="modal-title">${t('export.export_note_title')} <span class="export-note-title"></span></h5><button type="button" class="close" data-dismiss="modal" aria-label="${t('export.close')}"><span aria-hidden="true">×</span></button>diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.jsonindex 09847d11ea..d3da9ecded 100644--- a/src/public/translations/cn/translation.json+++ b/src/public/translations/cn/translation.json@@ -72,7 +72,7 @@"to_be_deleted": "(将被删除的笔记) 被以下关系 <code>{{attrName}}</code> 引用, 来自 "},"export": {- "export_note_title": "导出笔记 \"{{noteTitle}}\"",+ "export_note_title": "导出笔记","close": "关闭","export_type_subtree": "此笔记及其所有子笔记","format_html": "HTML ZIP 归档 - 建议使用此选项,因为它保留了所有格式。",diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.jsonindex 8e726dd92d..5f8df467e4 100644--- a/src/public/translations/en/translation.json+++ b/src/public/translations/en/translation.json@@ -72,7 +72,7 @@"to_be_deleted": " (to be deleted) is referenced by relation <code>{{attrName}}</code> originating from "},"export": {- "export_note_title": "Export note \"{{noteTitle}}\"",+ "export_note_title": "Export note","close": "Close","export_type_subtree": "this note and all of its descendants","format_html": "HTML in ZIP archive - this is recommended since this preserves all the formatting.",