diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml
index d74f047d..7e84b571 100644
--- a/.github/workflows/ci-linux.yml
+++ b/.github/workflows/ci-linux.yml
@@ -10,7 +10,7 @@ on:
workflow_dispatch:
env:
- VNOTE_VER: 3.15.1
+ VNOTE_VER: 3.16.0
jobs:
build-linux:
diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml
index fa1b84ce..028dfc34 100644
--- a/.github/workflows/ci-macos.yml
+++ b/.github/workflows/ci-macos.yml
@@ -10,7 +10,7 @@ on:
workflow_dispatch:
env:
- VNOTE_VER: 3.15.1
+ VNOTE_VER: 3.16.0
jobs:
build:
diff --git a/.github/workflows/ci-win.yml b/.github/workflows/ci-win.yml
index c0391389..e32ea299 100644
--- a/.github/workflows/ci-win.yml
+++ b/.github/workflows/ci-win.yml
@@ -10,7 +10,7 @@ on:
workflow_dispatch:
env:
- VNOTE_VER: 3.15.1
+ VNOTE_VER: 3.16.0
jobs:
build:
diff --git a/changes.md b/changes.md
index 49d84c19..144c9660 100644
--- a/changes.md
+++ b/changes.md
@@ -1,4 +1,15 @@
# Changes
+## v3.16.0
+* Support reading PDF format
+* Support Ming Map editor in suffix `*.emind`
+* Support "View By" for notebooks selector
+* ViewWindow: add shortcut Ctrl+G,V to alternate among view modes
+* Bug fixes
+
+## v3.15.1
+* Add two themes
+* Bug fixes
+
## v3.15.0
* Editor supports Word Count
* Add Open Windows panel
diff --git a/src/core/buffer/filetypehelper.cpp b/src/core/buffer/filetypehelper.cpp
index 4a2f397c..0beb6b33 100644
--- a/src/core/buffer/filetypehelper.cpp
+++ b/src/core/buffer/filetypehelper.cpp
@@ -80,6 +80,7 @@ void FileTypeHelper::setupBuiltInTypes()
type.m_type = FileType::Pdf;
type.m_typeName = QStringLiteral("PDF");
type.m_displayName = Buffer::tr("Portable Document Format");
+ type.m_isNewable = false;
auto suffixes = coreConfig.findFileTypeSuffix(type.m_typeName);
if (suffixes && !suffixes->isEmpty()) {
diff --git a/src/core/buffer/filetypehelper.h b/src/core/buffer/filetypehelper.h
index 911af7cb..47433dbe 100644
--- a/src/core/buffer/filetypehelper.h
+++ b/src/core/buffer/filetypehelper.h
@@ -20,6 +20,10 @@ namespace vnotex
Others
};
+ QString preferredSuffix() const;
+
+ bool isMarkdown() const;
+
// Type.
int m_type = -1;
@@ -29,9 +33,8 @@ namespace vnotex
QStringList m_suffixes;
- QString preferredSuffix() const;
-
- bool isMarkdown() const;
+ // Whether we can new this type of file.
+ bool m_isNewable = true;
};
// Only handle built-in editors.
diff --git a/src/core/htmltemplatehelper.cpp b/src/core/htmltemplatehelper.cpp
index f435d192..6026d970 100644
--- a/src/core/htmltemplatehelper.cpp
+++ b/src/core/htmltemplatehelper.cpp
@@ -378,9 +378,8 @@ void HtmlTemplateHelper::updateMindMapEditorTemplate(const MindMapEditorConfig &
s_mindMapEditorTemplate.m_revision = p_config.revision();
- const auto &themeMgr = VNoteX::getInst().getThemeMgr();
generateMindMapEditorTemplate(p_config,
- themeMgr.getFile(Theme::File::WebStyleSheet),
+ QString() /* Use empty theme style for now */,
s_mindMapEditorTemplate);
}
diff --git a/src/data/core/Info.plist b/src/data/core/Info.plist
index 29633436..c0ae975a 100644
--- a/src/data/core/Info.plist
+++ b/src/data/core/Info.plist
@@ -21,9 +21,9 @@
CFBundleExecutablevnoteCFBundleShortVersionString
- 3.15.1
+ 3.16.0CFBundleVersion
- 3.15.1.1
+ 3.16.0.1NSHumanReadableCopyrightCreated by VNoteXCFBundleIconFile
diff --git a/src/data/core/translations/vnote_ja.ts b/src/data/core/translations/vnote_ja.ts
index bf53987f..8efdc5f5 100644
--- a/src/data/core/translations/vnote_ja.ts
+++ b/src/data/core/translations/vnote_ja.ts
@@ -191,6 +191,16 @@
+ Portable Document Format
+
+
+
+
+ Mind Map
+
+
+
+ Othersその他
@@ -1812,22 +1822,22 @@
-
+ %1 failed to start.%1を開始できませんでした。
-
+ Failed to initialize configuration manager. Please check if all the files are intact or reinstall the application.設定マネージャの初期化に失敗しました。すべてのファイルが正常かどうかを確認するか、アプリケーションを再インストールしてください。
-
+ Failed to check for updates (%1)
-
+ Updates available: %1
@@ -1847,30 +1857,30 @@
設定の選択肢は、後で変更することができます。
-
+ %1 is still running here.%1はまだ実行中です。
-
-
+
+ Globalグローバル
-
+ There is one export dialog running. Please close it first.
-
+ Failed to load %n notebook(s).
-
+ These notebooks may be moved or deleted. It is recommended to remove them from configuration and open them with the correct root folder path later.
Remove them from the configuration?
@@ -2328,79 +2338,79 @@ Remove them from the configuration?
-
+ Insert Snippet
-
+ View Image
-
+ Copy Image URL
-
+ Copy Image
-
+ Copy In-Place Preview
-
+ Open Link
-
+ Copy Link
-
+ Fetching images to local...ローカルにイメージを取得しています...
-
-
+
+ Abort中止
-
+ Fetch Images To Localイメージをローカルに取得
-
+ Fetching image (%1)イメージ (%1) を取得しています
-
-
+
+ Upload Images To Image Host
-
+ Noneなし
-
+ Uploading local images...
-
+ Upload image (%1)
@@ -2775,61 +2785,61 @@ Remove them from the configuration?
Markdownビューア
-
-
+
+ Clear Obsolete Images古いイメージをクリア
-
+ These images seems to be not in use anymore. Please confirm the deletion of them.
-
+ Deleted local images could be found in the recycle bin of notebook if it is from a bundle notebook.
-
+ Clearing obsolete images...
-
+ Abort中止
-
+ Clear image (%1)
-
+ Cleared %n obsolete images
-
+ View Mode Not Supported In Read Mode
-
+ Edit Only
-
+ Edit with Preview
-
-
+
+ Replace is not supported in read mode置換は読み取りモードではサポートされていません
@@ -2850,36 +2860,45 @@ Remove them from the configuration?
vnotex::MarkdownViewerAdapter
-
+ No Background背景なし
-
+ EvernoteEvernote
-
+ OneNoteOneNote
-
+ Microsoft WordMicrosoft Word
-
+ WeChat Public Account EditorWeChatパブリックアカウントエディタ
-
+ Raw HTML生のHTML
+
+ vnotex::MindMapViewWindow
+
+
+
+ Replace is not supported yet
+
+
+vnotex::MiscPage
@@ -3256,216 +3275,230 @@ Remove them from the configuration?
vnotex::NotebookExplorer
-
+ Select one of all the notebooks as current notebook.<br/>Move mouse on one item to check its details.すべてのノートブックの1つを現在のノートブックとして選択します。<br/>1つの項目にマウスを移動して、その詳細を確認します。
-
+ Notebookノートブック
-
+ This title bar contains buttons and menu to manage notebooks and notes.このタイトルバーには、ノートブックとノートを管理するためのボタンとメニューが含まれています。
- View
- 表示
+ 表示
-
+ External Files外部ファイル
-
+ Show External Files外部ファイルを表示
-
+ Scan and Import
-
+ Please select one notebook first.
-
+ Scan the whole notebook (%1) and import external files automatically?
-
+ This operation helps importing external files that are added outside from VNote. It may import unexpected files.
-
+ It is recommended to always manage files within VNote.
-
+ Imported %n file(s).
-
+ Manage Notebooksノートブックの管理
-
+ Rebuild Notebook Database
-
+ Import External Files when Activated
-
+ Close File Before Open with External Program
-
+ Recycle Binごみ箱
-
+
+ Notebooks
+
+
+
+
+ Notes
+
+
+
+
+ View By
+
+
+
+ Please first create a notebook to hold your data.まず、データを保持するノートブックを作成してください。
-
+ Select Files To Importインポートするファイルを選択
-
+ Failed to add file (%1) as node (%2).
ファイル (%1) をノード(%2)として追加できませんでした。
-
+ View By Configuration設定順に表示
-
+ View By Name名前順による表示
-
+ View By Name (Reversed)名前順による表示(逆順)
-
+ View By Created Time作成日時順の表示
-
+ View By Created Time (Reversed)作成日時順の表示(逆順)
-
+ View By Modified Time変更日時順の表示
-
+ View By Modified Time (Reversed)変更日時順の表示(逆順)
-
+ Open Recycle Bin
-
+ Empty Recycle Bin
-
+ Empty the recycle bin of notebook (%1)?
-
+ CAUTION! All the files under the recycle bin folder will be deleted and unrecoverable!
-
+ Recycle bin folder: %1
-
+ Explore Mode
-
+ Combined
-
+ Separate, Single Column
-
+ Separate, Double Columns
-
+ Rebuild the database of notebook (%1)?
-
+ This operation will rebuild the notebook database from configuration files. It may take time.
-
+ A notebook may use a database for cache, such as IDs of nodes and tags.
-
+ Rebuilding notebook database...
-
+ Notebook database has been rebuilt.
-
+ Failed to rebuild notebook database.
@@ -3604,28 +3637,28 @@ Remove them from the configuration?
vnotex::NotebookNodeExplorer
-
+ Failed to load nodes of notebook (%1) (%2).ノートブック(%1)(%2)のノードをロードできませんでした。
-
+ [Invalid] %1[無効] %1
-
-
+
+ [External] %1[外部] %1
-
+ New &Folder新規フォルダ(&F)
-
+ &Properties (Rename)プロパティ(名前変更)(&P)
@@ -3634,32 +3667,32 @@ Remove them from the configuration?
場所を開く(&L)
-
+ Cop&y Pathパスをコピー(&Y)
-
+ Copied path: %1コピーされたファイルパス: %1
-
+ &Copyコピー(&C)
-
+ C&ut切り取り(&U)
-
+ &Paste貼り付け(&P)
-
+ &Delete削除(&D)
@@ -3668,12 +3701,12 @@ Remove them from the configuration?
インデックスから削除(&R)
-
+ &Sort整列(&S)
-
+ Re&load再ロード(&L)
@@ -3682,12 +3715,12 @@ Remove them from the configuration?
ディスクからインデックスを再作成(&A)
-
+ &Import To Indexインデックスに読み込む(&I)
-
+ &Open開く(&O)
@@ -3696,183 +3729,183 @@ Remove them from the configuration?
全て展開(&E) *
-
+ Pin To &Quick Access
-
+ &Tags
-
+ Copied %n item(s)%n アイテムをコピーしました
-
+ Invalid clipboard data to paste.貼り付けるクリップボードデータが無効です。
-
+ Destination is detected in sources (%1). Operation is cancelled.宛先がソース(%1)で検出されました。操作がキャンセルされました。
-
+ Failed to copy source (%1) to destination (%2) (%3).コピー元(%1)をコピー先(%2)(%3)にコピーできませんでした。
-
+ Pasted %n item(s)%n アイテムを貼り付けました
-
+ New &Note
-
+ Open Locat&ion
-
+ Remo&ve From Index
-
+ Relo&ad Index Of Notebook From Disk
-
+ &Edit編集(&E)
-
+ &Read読み取り(&R)
-
+ E&xpand All *
-
+ Delete these folders and notes?これらのフォルダとメモを削除しますか?
-
+ Deleted files could be found in the recycle bin of notebook.削除されたファイルはノートブックのごみ箱にあります。
-
+ Confirm Deletion削除の確認
-
+ Failed to delete/remove item (%1) (%2) (%3).アイテム(%1)(%2)(%3)の削除/削除に失敗しました。
-
+ Deleted/Removed %n item(s)%nアイテムを削除しました
-
+ Confirm Removal削除の確認
-
+ Remove these folders and notes from index?これらのフォルダとメモをインデックスから削除しますか?
-
+ Files are not touched but just removed from notebook index.ファイルには触れずに、ただインデックスから削除されます。
-
+ Sort Foldersフォルダの整列
-
+ Sort Notesノートの整列
-
+ Sort nodes under %1 (%2) in the configuration file.設定ファイル内の%1(%2)以下のノードを整列します。
-
+ notebookノートブック
-
+ folderフォルダ
-
+ Name名前
-
+ Created Time作成日時
-
+ Modified Time最終変更日時
-
+ Invalid node (%1).無効なノード(%1)です。
-
+ Please check if the node exists on the disk.ノードがディスク上に存在するかどうかを確認してください。
-
+ Open &With
-
+ System Default Program
-
+ Add External Program
@@ -3880,7 +3913,7 @@ Remove them from the configuration?
vnotex::NotebookSelector
-
+ Notebook: %1
Root folder: %2
Description: %3
@@ -5144,7 +5177,7 @@ Description: %3
vnotex::VNoteX
-
+ Failed to load HTML template. Check the logs for details. Try deleting the user configuration file and the default configuration file.
@@ -5364,39 +5397,39 @@ Description: %3
-
-
+
+ [No Buffer][バッファなし]
-
+ Save changes before closing note (%1)?ノート(%1)を閉じる前に変更を保存しますか?
-
-
+
+ Note path (%1).ノートのパス(%1)
-
+ Discard changes to note (%1)?ノート(%1)への変更を破棄しますか?
-
+ Found backup file (%1) of file (%2). Do you want to recover from backup file?ファイル(%2)のバックアップファイル(%1)が見つかりました。バックアップファイルからリカバリしますか?
-
+ 'Yes' to recover from backup file, 'No' to discard it, and 'Cancel' to exit.バックアップファイルからリカバリする場合は[はい]、破棄する場合は[いいえ]、終了する場合は[キャンセル]をクリックします。
-
+ It may be caused by crash while editing this file before.
File last modified time: %1
@@ -5407,72 +5440,72 @@ Backup file last modified time: %2
バックアップファイルの最終変更時刻:%2
-
+ Drag And Drop Files To Attach添付するファイルをドラッグアンドドロップ
-
+ File is missing on disk (%1).ディスク(%1)にファイルがありません。
-
+ Do you want to force to save the buffer to the file?バッファをファイルに保存しますか?
-
+ The file may be deleted from outside. Please choose to save the buffer to a new file or just discard it.ファイルが外部から削除されている可能性があります。バッファを新しいファイルに保存するか、破棄するかを選択してください。
-
+ File is changed from outside (%1).ファイルが外部(%1)から変更されました。
-
+ Do you want to save the buffer to the file to override, or discard the buffer?上書きするファイルにバッファを保存しますか?それともバッファを破棄しますか?
-
+ The file is changed from outside. Please choose to save the buffer to the file or just discard the buffer and reload the file.ファイルが外部から変更されました。バッファをファイルに保存するか、バッファを破棄してファイルを再ロードするかを選択してください。
-
+ This is a read-only note (%1), on which modification is not allowed.これは読み取り専用のノート(%1)です。変更はできません。
-
+ Please save your changes to another note.手動で変更を他のノートとして保存してください。
-
+ Failed to save note (%1).ノート(%1)を保存できませんでした。
-
+ Please check the file (%1) and try it again.ファイルを確認してからもう一度実行してください。
-
+ Maybe the file is occupied by another service temporarily.ファイルが一時的に他のサービスに占有されている可能性があります。
-
+ Zoomed: %1%ズーム: %1%
-
+ Zoomed: %1%2ズーム: %1%2
@@ -5481,30 +5514,30 @@ Backup file last modified time: %2
パターンが見つかりません:%1%2
-
-
+
+ Pattern not found: %1パターンが見つかりません:%1
-
+ View Mode Not Supported
-
+ Match found: %1/%2一致が見つかりました: %1/%2
-
+ Replaced %n match(es)
-
+ Local
@@ -5534,187 +5567,187 @@ Backup file last modified time: %2
-
+ Heading見出し
-
+ Heading 1見出し1
-
+ Heading 2見出し2
-
+ Heading 3見出し3
-
+ Heading 4見出し4
-
+ Heading 5見出し5
-
+ Heading 6見出し6
-
+ Clearクリア
-
+ Bold太字
-
+ Italicイタリック体
-
+ Strikethrough取り消し線
-
+ Unordered List順序なしリスト
-
+ Ordered List順序付きリスト
-
+ Todo ListTODOリスト
-
+ Checked Todo ListチェックされたToDoリスト
-
+ Codeコード
-
+ Code Blockコードブロック
-
+ Math数式
-
+ Math Block数式ブロック
-
+ Quote引用
-
+ Linkリンク
-
+ Image画像
-
+ Table表
-
+ Markマーク
-
+ Attachments添付ファイル
-
+ Tags
-
+ Outlineアウトライン
-
+ Find And Replace検索/置換
-
+ Section Numberセクション番号
-
+ Follow Configuration設定に従う
-
+ Enabled有効
-
+ Disabled無効
-
+ Toggle In-Place Preview
-
+ Image Host
-
+ Debug
-
+ Print
-
+ Word Count
diff --git a/src/data/core/translations/vnote_zh_CN.qm b/src/data/core/translations/vnote_zh_CN.qm
index bf51f210..e61e8cde 100644
Binary files a/src/data/core/translations/vnote_zh_CN.qm and b/src/data/core/translations/vnote_zh_CN.qm differ
diff --git a/src/data/core/translations/vnote_zh_CN.ts b/src/data/core/translations/vnote_zh_CN.ts
index 1c1c8d19..feb13aec 100644
--- a/src/data/core/translations/vnote_zh_CN.ts
+++ b/src/data/core/translations/vnote_zh_CN.ts
@@ -195,6 +195,16 @@
+ Portable Document Format
+ 便携文件格式
+
+
+
+ Mind Map
+ 思维导图
+
+
+ Others其他
@@ -1792,12 +1802,12 @@
vnotex::MainWindow
-
+ Failed to check for updates (%1)无法检查更新(%1)
-
+ Updates available: %1有可用更新: %1
@@ -1817,30 +1827,30 @@
稍后可以在设置里面更改。
-
+ %1 is still running here.%1仍然在此运行。
-
-
+
+ Global全局
-
+ There is one export dialog running. Please close it first.已有导出对话框运行。请先将其关闭。
-
+ Failed to load %n notebook(s).无法加载 %n 个笔记本。
-
+ These notebooks may be moved or deleted. It is recommended to remove them from configuration and open them with the correct root folder path later.
Remove them from the configuration?这些笔记本可能已被移动或者删除。推荐将其从配置中移除并稍后使用正确的根文件夹路径重新打开。
@@ -2129,12 +2139,12 @@ Remove them from the configuration?
关于Qt
-
+ %1 failed to start.%1无法启动。
-
+ Failed to initialize configuration manager. Please check if all the files are intact or reinstall the application.无法初始化配置管理器。请检查全部文件的完整性或者重新安装应用。
@@ -2352,79 +2362,79 @@ Remove them from the configuration?
解析为Markodwn并粘贴
-
+ Insert Snippet插入片段
-
+ View Image查看图片
-
+ Copy Image URL复制图片地址
-
+ Copy Image复制图片
-
+ Copy In-Place Preview复制原地预览
-
+ Open Link打开链接
-
+ Copy Link复制链接
-
+ Fetching images to local...正在获取图片到本地...
-
-
+
+ Abort终止
-
+ Fetch Images To Local获取图片到本地
-
+ Fetching image (%1)正在获取图片(%1)
-
-
+
+ Upload Images To Image Host上传图片到图床
-
+ None无
-
+ Uploading local images...正在上传本地图片...
-
+ Upload image (%1)上传图片(%1)
@@ -2819,61 +2829,61 @@ Remove them from the configuration?
Markdown查看器
-
-
+
+ Clear Obsolete Images清空无用图片
-
+ These images seems to be not in use anymore. Please confirm the deletion of them.这些图片似乎已经不再使用。请确认并删除。
-
+ Deleted local images could be found in the recycle bin of notebook if it is from a bundle notebook.如果这是一个自包含笔记本,已删除的本地图片可以在笔记本回收站中找回。
-
+ Clearing obsolete images...正在清空无用图片...
-
+ Abort终止
-
+ Clear image (%1)清空图片(%1)
-
+ Cleared %n obsolete images清空 %n 无用图片
-
+ View Mode Not Supported In Read Mode阅读模式不支持查看模式
-
+ Edit Only纯编辑
-
+ Edit with Preview预览辅助的编辑
-
-
+
+ Replace is not supported in read mode阅读模式不支持替换
@@ -2894,36 +2904,45 @@ Remove them from the configuration?
vnotex::MarkdownViewerAdapter
-
+ No Background无背景
-
+ Evernote印象笔记
-
+ OneNoteOneNote
-
+ Microsoft WordMicrosoft Word
-
+ WeChat Public Account Editor微信公众号编辑器
-
+ Raw HTML原始HTML
+
+ vnotex::MindMapViewWindow
+
+
+
+ Replace is not supported yet
+ 不支持替换
+
+vnotex::MiscPage
@@ -3300,216 +3319,230 @@ Remove them from the configuration?
vnotex::NotebookExplorer
-
+ Select one of all the notebooks as current notebook.<br/>Move mouse on one item to check its details.从全部笔记本中选择一个作为当前笔记本。<br/>移动鼠标到某个项目上查看详情。
-
+ Notebook笔记本
-
+ This title bar contains buttons and menu to manage notebooks and notes.该标题栏包含管理笔记本和笔记的按钮和菜单。
- View
- 查看
+ 查看
-
+ External Files外部文件
-
+ Show External Files显示外部文件
-
+ Scan and Import扫描并导入
-
+ Please select one notebook first.请先选择一个笔记本。
-
+ Scan the whole notebook (%1) and import external files automatically?扫描整个笔记本(%1)并自动导入外部文件?
-
+ This operation helps importing external files that are added outside from VNote. It may import unexpected files.该操作帮助导入在VNote外添加的外部文件。可能会导入不想要的文件。
-
+ It is recommended to always manage files within VNote.推荐总是在VNote中管理文件。
-
+ Imported %n file(s).已导入 %n 个文件。
-
+ Manage Notebooks管理笔记本
-
+ Rebuild Notebook Database重建笔记本数据库
-
+ Import External Files when Activated激活时自动导入外部文件
-
+ Close File Before Open with External Program以外部程序打开前关闭文件
-
+ Recycle Bin回收站
-
+
+ Notebooks
+ 笔记本
+
+
+
+ Notes
+ 笔记
+
+
+
+ View By
+ 查看方式
+
+
+ Please first create a notebook to hold your data.请先创建一个笔记本来保存数据。
-
+ Select Files To Import选择文件导入
-
+ Failed to add file (%1) as node (%2).
无法添加文件 (%1) 为节点 (%2)。
-
+ View By Configuration按配置查看
-
+ View By Name按名字查看
-
+ View By Name (Reversed)按名字倒序查看
-
+ View By Created Time按创建时间查看
-
+ View By Created Time (Reversed)按创建时间倒序查看
-
+ View By Modified Time按修改时间查看
-
+ View By Modified Time (Reversed)按修改时间倒序查看
-
+ Open Recycle Bin打开回收站
-
+ Empty Recycle Bin清空回收站
-
+ Empty the recycle bin of notebook (%1)?清空笔记本(%1)的回收站?
-
+ CAUTION! All the files under the recycle bin folder will be deleted and unrecoverable!注意!回收站文件夹下面的所有文件都会被删除且不可恢复!
-
+ Recycle bin folder: %1回收站文件夹: %1
-
+ Explore Mode浏览模式
-
+ Combined合并
-
+ Separate, Single Column独立,单列
-
+ Separate, Double Columns独立,双列
-
+ Rebuild the database of notebook (%1)?重建笔记本(%1)的数据库?
-
+ This operation will rebuild the notebook database from configuration files. It may take time.该操作会根据配置文件重建笔记本数据库。可能会需要一定时间。
-
+ A notebook may use a database for cache, such as IDs of nodes and tags.一个笔记本可能会使用一个数据库作为缓存,例如节点的标识号和标签。
-
+ Rebuilding notebook database...正在重建笔记本数据库...
-
+ Notebook database has been rebuilt.笔记本数据库已重建。
-
+ Failed to rebuild notebook database.无法重建笔记本数据库。
@@ -3648,38 +3681,38 @@ Remove them from the configuration?
vnotex::NotebookNodeExplorer
-
+ Failed to load nodes of notebook (%1) (%2).无法加载笔记本(%1)节点(%2)。
-
+ &Edit编辑(&E)
-
+ &Read阅读(&R)
-
+ E&xpand All *逐层展开(&X) *
-
+ [Invalid] %1[无效]%1
-
-
+
+ [External] %1[外部]%1
-
+ New &Folder新建文件夹(&F)
@@ -3688,62 +3721,62 @@ Remove them from the configuration?
打开路径(&L)
-
+ Cop&y Path复制路径(&Y)
-
+ Copied path: %1已复制路径: %1
-
+ &Copy复制(&C)
-
+ C&ut剪切(&U)
-
+ &Paste粘贴(&P)
-
+ Remo&ve From Index从索引中移除(&V)
-
+ &Sort排序(&S)
-
+ Re&load重新加载(&L)
-
+ New &Note新建笔记(&N)
-
+ Relo&ad Index Of Notebook From Disk从磁盘重新加载笔记本索引(&A)
-
+ &Import To Index导入到索引(&I)
-
+ &Open打开(&O)
@@ -3752,72 +3785,72 @@ Remove them from the configuration?
逐层展开(&E) *
-
+ Failed to copy source (%1) to destination (%2) (%3).无法复制源(%1)至目标(%2)(%3)。
-
+ Sort Folders排序文件夹
-
+ Sort Notes排序笔记
-
+ Sort nodes under %1 (%2) in the configuration file.在配置文件中对%1(%2)下的节点进行排序。
-
+ notebook笔记本
-
+ folder文件夹
-
+ Name名字
-
+ Created Time创建时间
-
+ Modified Time修改时间
-
+ Invalid node (%1).无效的节点(%1)。
-
+ Please check if the node exists on the disk.请检查该节点在磁盘上是否存在。
-
+ &Properties (Rename)属性(重命名)(&P)
-
+ Open Locat&ion打开路径(&I)
-
+ &Delete删除(&D)
@@ -3830,7 +3863,7 @@ Remove them from the configuration?
从磁盘重新加载索引(&A)
-
+ Pin To &Quick Access固定到快速访问(&Q)
@@ -3839,88 +3872,88 @@ Remove them from the configuration?
快速访问不支持文件夹
-
+ &Tags标签(&T)
-
+ Copied %n item(s)已复制 %n 项
-
+ Invalid clipboard data to paste.无效的剪切板数据用于粘贴。
-
+ Destination is detected in sources (%1). Operation is cancelled.目标包含在源(%1)中。操作取消。
-
+ Pasted %n item(s)已粘贴 %n 项
-
+ Delete these folders and notes?删除这些文件夹和笔记?
-
+ Deleted files could be found in the recycle bin of notebook.被删除的文件可以在笔记本回收站中找回。
-
+ Confirm Deletion确认删除
-
+ Failed to delete/remove item (%1) (%2) (%3).无法删除或移除项目(%1)(%2)(%3)。
-
+ Deleted/Removed %n item(s)删除或移除 %n 项
-
+ Confirm Removal确认移除
-
+ Remove these folders and notes from index?从索引中移除这些文件夹和笔记?
-
+ Files are not touched but just removed from notebook index.文件不会被改动,仅仅是从笔记本索引中移除。
-
+ Open &With打开方式(&W)
-
+ System Default Program系统默认程序
-
+ Add External Program添加外部程序
@@ -3944,7 +3977,7 @@ Remove them from the configuration?
vnotex::NotebookSelector
-
+ Notebook: %1
Root folder: %2
Description: %3
@@ -5220,7 +5253,7 @@ Description: %3
vnotex::VNoteX
-
+ Failed to load HTML template. Check the logs for details. Try deleting the user configuration file and the default configuration file.无法加载HTML模板。详情请查看日志。可以尝试删除用户配置文件以及默认配置文件。
@@ -5448,39 +5481,39 @@ Description: %3
-
-
+
+ [No Buffer][无缓冲区]
-
+ Save changes before closing note (%1)?关闭笔记(%1)前是否保存更改?
-
-
+
+ Note path (%1).笔记路径(%1)。
-
+ Discard changes to note (%1)?放弃对笔记(%1)的更改?
-
+ Found backup file (%1) of file (%2). Do you want to recover from backup file?发现文件(%2)的备份文件(%1)。是否要从备份文件中恢复?
-
+ 'Yes' to recover from backup file, 'No' to discard it, and 'Cancel' to exit.“是”以从备份文件中恢复,“否”以放弃该备份文件,“取消”以退出。
-
+ It may be caused by crash while editing this file before.
File last modified time: %1
@@ -5491,32 +5524,32 @@ Backup file last modified time: %2
备份文件最后修改时间: %2
-
+ Drag And Drop Files To Attach拖拽文件以添加为附件
-
+ File is missing on disk (%1).文件在磁盘中丢失(%1)。
-
+ Do you want to force to save the buffer to the file?是否强制保存缓冲区内容到文件?
-
+ The file may be deleted from outside. Please choose to save the buffer to a new file or just discard it.该文件可能已经被删除。请选择将缓冲区的内容保存为新文件或者放弃缓冲区。
-
+ File is changed from outside (%1).文件被更改(%1)。
-
+ Do you want to save the buffer to the file to override, or discard the buffer?是否保存缓冲区覆盖到文件,或者放弃缓冲区?
@@ -5529,68 +5562,68 @@ Backup file last modified time: %2
[+]
-
+ Local本地
-
+ View Mode Not Supported不支持查看模式
-
+ The file is changed from outside. Please choose to save the buffer to the file or just discard the buffer and reload the file.该文件已经被更改。请选择保存缓冲区到该文件或者放弃缓冲区并重新加载文件。
-
+ This is a read-only note (%1), on which modification is not allowed.这是一个只读笔记(%1),不支持修改。
-
+ Please save your changes to another note.请保存更改到另一个笔记。
-
+ Failed to save note (%1).无法保存笔记(%1)。
-
+ Please check the file (%1) and try it again.请检查文件(%1)并重试。
-
+ Maybe the file is occupied by another service temporarily.可能该文件正在被第三方应用临时占用。
-
+ Zoomed: %1%缩放: %1%
-
+ Zoomed: %1%2缩放: %1%2
-
-
+
+ Pattern not found: %1无法找到模式: %1
-
+ Match found: %1/%2找到匹配: %1/%2
-
+ Replaced %n match(es)替换 %n 处匹配
@@ -5622,187 +5655,187 @@ Backup file last modified time: %2
查看模式
-
+ Heading标题
-
+ Heading 1标题1
-
+ Heading 2标题2
-
+ Heading 3标题3
-
+ Heading 4标题4
-
+ Heading 5标题5
-
+ Heading 6标题6
-
+ Clear清空
-
+ Bold粗体
-
+ Italic斜体
-
+ Strikethrough删除线
-
+ Unordered List无序列表
-
+ Ordered List有序列表
-
+ Todo List待办列表
-
+ Checked Todo List已完成待办列表
-
+ Code代码
-
+ Code Block代码块
-
+ Math数学公式
-
+ Math Block数学公式块
-
+ Quote引用块
-
+ Link链接
-
+ Image图片
-
+ Table表格
-
+ Mark标记
-
+ Attachments附件
-
+ Tags标签
-
+ Outline大纲
-
+ Find And Replace查找替换
-
+ Section Number小节序号
-
+ Follow Configuration跟随配置
-
+ Enabled启用
-
+ Disabled禁用
-
+ Toggle In-Place Preview启用/关闭原地预览
-
+ Image Host图床
-
+ Debug调试
-
+ Print打印
-
+ Word Count字词计数
diff --git a/src/data/core/vnotex.json b/src/data/core/vnotex.json
index c99806ee..5e9ea249 100644
--- a/src/data/core/vnotex.json
+++ b/src/data/core/vnotex.json
@@ -3,7 +3,7 @@
"metadata" : {
"//comment": "When releasing new version, please go through the following configs to check if override is needed.",
"//Comment": "markdown_editor#override_viewer_resource",
- "version" : "3.15.1"
+ "version" : "3.16.0"
},
"core" : {
"theme" : "pure",
diff --git a/src/data/extra/web/js/mindmapeditorcore.js b/src/data/extra/web/js/mindmapeditorcore.js
index da946de3..db008f28 100644
--- a/src/data/extra/web/js/mindmapeditorcore.js
+++ b/src/data/extra/web/js/mindmapeditorcore.js
@@ -6,7 +6,8 @@ class MindMapEditorCore extends VXCore {
initOnLoad() {
let options = {
el: '#vx-mindmap',
- direction: MindElixir.LEFT,
+ direction: MindElixir.SIDE,
+ allowUndo: true,
}
this.mind = new MindElixir(options);
diff --git a/src/data/extra/web/mindmap-editor-template.html b/src/data/extra/web/mindmap-editor-template.html
index 5541937e..3e748f94 100644
--- a/src/data/extra/web/mindmap-editor-template.html
+++ b/src/data/extra/web/mindmap-editor-template.html
@@ -15,6 +15,10 @@
margin: 0px !important;
padding: 0px !important;
}
+
+ span#fullscreen {
+ display: none;
+ }
diff --git a/src/widgets/dialogs/nodeinfowidget.cpp b/src/widgets/dialogs/nodeinfowidget.cpp
index 2eb781cf..c6cdcd94 100644
--- a/src/widgets/dialogs/nodeinfowidget.cpp
+++ b/src/widgets/dialogs/nodeinfowidget.cpp
@@ -161,6 +161,9 @@ void NodeInfoWidget::setupFileTypeComboBox(QWidget *p_parent)
m_fileTypeComboBox = WidgetsFactory::createComboBox(p_parent);
const auto &fileTypes = FileTypeHelper::getInst().getAllFileTypes();
for (const auto &ft : fileTypes) {
+ if (m_mode == Mode::Create && !ft.m_isNewable) {
+ continue;
+ }
m_fileTypeComboBox->addItem(ft.m_displayName, ft.m_typeName);
}
connect(m_fileTypeComboBox, QOverload::of(&QComboBox::currentIndexChanged),