diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml
index 7c1cf90355..b1e2c734c5 100644
--- a/.github/workflows/ci-linux.yml
+++ b/.github/workflows/ci-linux.yml
@@ -10,7 +10,7 @@ on:
workflow_dispatch:
env:
- VNOTE_VER: 3.16.0
+ VNOTE_VER: 3.17.0
jobs:
build-linux:
diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml
index 028dfc34ab..e55ffaf80f 100644
--- a/.github/workflows/ci-macos.yml
+++ b/.github/workflows/ci-macos.yml
@@ -10,7 +10,7 @@ on:
workflow_dispatch:
env:
- VNOTE_VER: 3.16.0
+ VNOTE_VER: 3.17.0
jobs:
build:
diff --git a/.github/workflows/ci-win.yml b/.github/workflows/ci-win.yml
index e32ea299ed..53b9d612c2 100644
--- a/.github/workflows/ci-win.yml
+++ b/.github/workflows/ci-win.yml
@@ -10,7 +10,7 @@ on:
workflow_dispatch:
env:
- VNOTE_VER: 3.16.0
+ VNOTE_VER: 3.17.0
jobs:
build:
diff --git a/changes.md b/changes.md
index 144c96605e..dff3b21f45 100644
--- a/changes.md
+++ b/changes.md
@@ -1,4 +1,10 @@
# Changes
+## v3.17.0
+* Quick note: create note in given scheme (@feloxx)
+* MarkdownEditor: support inserting multiple images (@feloxx)
+* Mermaid: upgrade and fix preview issue (@ygcaicn)
+* Flowchart.js: upgrade
+
## v3.16.0
* Support reading PDF format
* Support Ming Map editor in suffix `*.emind`
diff --git a/src/core/coreconfig.h b/src/core/coreconfig.h
index 7e13f365de..2a297c3f5c 100644
--- a/src/core/coreconfig.h
+++ b/src/core/coreconfig.h
@@ -22,6 +22,7 @@ namespace vnotex
ExpandContentArea,
Settings,
NewNote,
+ NewQuickNote,
NewFolder,
CloseTab,
CloseAllTabs,
diff --git a/src/data/core/Info.plist b/src/data/core/Info.plist
index c0ae975aaa..d8e6ca65dd 100644
--- a/src/data/core/Info.plist
+++ b/src/data/core/Info.plist
@@ -21,9 +21,9 @@
CFBundleExecutable
vnote
CFBundleShortVersionString
- 3.16.0
+ 3.17.0
CFBundleVersion
- 3.16.0.1
+ 3.17.0.1
NSHumanReadableCopyright
Created by VNoteX
CFBundleIconFile
diff --git a/src/data/core/translations/vnote_ja.ts b/src/data/core/translations/vnote_ja.ts
index 8efdc5f5c6..4654de081b 100644
--- a/src/data/core/translations/vnote_ja.ts
+++ b/src/data/core/translations/vnote_ja.ts
@@ -821,23 +821,23 @@
-
+
-
-
+
+
-
+
-
+
@@ -1350,53 +1350,53 @@
vnotex::HistoryPanel
-
+
クリア
-
+
開く(&O)
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1423,82 +1423,82 @@
-
+
一般
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
種類:
-
+
名前:
-
+
-
+
-
+
-
+
-
+
@@ -1832,12 +1832,12 @@
設定マネージャの初期化に失敗しました。すべてのファイルが正常かどうかを確認するか、アプリケーションを再インストールしてください。
-
+
-
+
@@ -1847,40 +1847,40 @@
-
+
終了する代わりに、%1をシステムトレイに最小化しますか?
-
+
設定の選択肢は、後で変更することができます。
-
+
%1はまだ実行中です。
-
-
+
+
グローバル
-
+
-
+
-
+
@@ -1892,7 +1892,7 @@ Remove them from the configuration?
-
+
終了
@@ -1923,23 +1923,23 @@ Remove them from the configuration?
新規ノート
-
+
新規フォルダ
-
-
+
+
ファイルを開く
-
+
ファイルをインポート
-
+
フォルダをインポート
@@ -1954,114 +1954,119 @@ Remove them from the configuration?
-
+
+
+
+
+
+
-
-
+
+
クイックアクセス
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
メニュー
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
設定
-
+
コンテンツ領域の拡大
-
+
%1 を押して全画面表示を終了する
@@ -2071,42 +2076,42 @@ Remove them from the configuration?
ノートブックの管理
-
+
-
+
-
+
ウインドウ
-
+
ユーザー設定フォルダを開く
-
+
既定の設定フォルダを開く
-
+
メインウィンドウのレイアウトをリセット
-
+
再起動
-
+
ヘルプ
@@ -2119,38 +2124,38 @@ Remove them from the configuration?
[これは何]モードに入り、ヘルプ情報を表示する場所をクリックします
-
+
ショートカットヘルプ
-
+
Markdown ガイド
-
+
ログの表示
-
+
-
+
-
-
+
+
バージョン情報
-
+
@@ -2159,7 +2164,7 @@ Remove them from the configuration?
-
+
Qtについて
@@ -2227,7 +2232,7 @@ Remove them from the configuration?
vnotex::MarkdownEditor
-
+
リンクを挿入
@@ -2241,176 +2246,207 @@ Remove them from the configuration?
表を挿入
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
クリップボードから挿入
-
+
URLから挿入
-
+
イメージデータから挿入
-
-
-
+
+
+
イメージリンクとして挿入
-
-
+
+
+
イメージとして挿入
-
-
+
+
テキストとして挿入
-
+
相対イメージリンクとして挿入
-
+
リンクとして挿入
-
+
相対リンクとして挿入
-
+
+
リンクを添付して挿入
-
+
ファイルの内容を挿入
+
+
+
+
+
+
+
-
+
クリップボードからイメージを挿入
-
+
URLからイメージを挿入
-
+
読み取り(&R)
-
+
リッチ貼り付け
-
+
-
+
-
+
-
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
ローカルにイメージを取得しています...
-
-
+
+
中止
-
+
イメージをローカルに取得
-
+
イメージ (%1) を取得しています
-
-
+
+
-
+
なし
-
+
-
+
@@ -2418,361 +2454,361 @@ Remove them from the configuration?
vnotex::MarkdownEditorPage
-
+
Markdownエディタ
-
-
+
+
読み取り
-
+
イメージの幅を制限する
-
+
イメージの幅をウィンドウに制限する
-
+
-
+
-
+
読み取りモードのズーム倍率
-
+
ズーム倍率:
-
+
HTMLタグ
-
+
ソース内のHTMLタグを許可
-
+
自動ブレーク
-
+
'\n' で自動的に改行する
-
+
リンク変換
-
+
URLに似たテキストをリンクに変換する
-
+
最初の行をインデント
-
+
各段落の最初の行をインデントする
-
+
-
+
-
-
+
+
編集
-
+
ファイル名をタイトルとして挿入
-
+
ノート作成時にファイル名をタイトルとして挿入
-
+
インプレイスプレビューの幅を制約する
-
+
インプレイスプレビューをウインドウ幅に制約する
-
+
-
+
-
+
-
+
数式
-
+
[解析と貼り付け]でイメージをローカルに取得
-
+
[Markdown解析と貼り付け]でイメージをローカルに取得
-
+
スマートテーブル
-
+
スマートテーブルにフォーマット
-
+
スペルチェック
-
+
-
+
-
+
-
+
-
+
一般
-
+
セクション番号モード
-
+
なし
-
+
編集モードでセクション番号付けを開始するベースレベル
-
+
セクション番号スタイル
-
+
1.1.
-
+
1.1
-
+
セクション番号:
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -2966,49 +3002,38 @@ Remove them from the configuration?
vnotex::NewNoteDialog
-
+
新規ノート
-
+
-
-
-
-
-
-
+
-
+
-
+
(%2)(%3)の(%1)の下にノートを作成できませんでした。
-
+
ノート
-
- なし
-
-
-
-
-
+ なし
@@ -3272,20 +3297,38 @@ Remove them from the configuration?
ノート(%1)を(%2)(%3)に保存できませんでした。
+
+ vnotex::NoteTemplateSelector
+
+
+
+
+
+
+
+
+ なし
+
+
+
+
+
+
+
vnotex::NotebookExplorer
-
+
すべてのノートブックの1つを現在のノートブックとして選択します。<br/>1つの項目にマウスを移動して、その詳細を確認します。
-
+
ノートブック
-
+
このタイトルバーには、ノートブックとノートを管理するためのボタンとメニューが含まれています。
@@ -3294,211 +3337,231 @@ Remove them from the configuration?
表示
-
+
外部ファイル
-
+
外部ファイルを表示
-
+
-
+
-
+
-
+
-
+
-
+
-
+
ノートブックの管理
-
+
-
+
-
+
-
+
ごみ箱
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
まず、データを保持するノートブックを作成してください。
-
+
インポートするファイルを選択
-
+
ファイル (%1) をノード(%2)として追加できませんでした。
-
+
設定順に表示
-
+
名前順による表示
-
+
名前順による表示(逆順)
-
+
作成日時順の表示
-
+
作成日時順の表示(逆順)
-
+
変更日時順の表示
-
+
変更日時順の表示(逆順)
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -3969,41 +4032,116 @@ Description: %3
vnotex::QuickAccessPage
-
-
+
+
クイックアクセス
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ フォルダ:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
vnotex::RenameTagDialog
@@ -4337,7 +4475,7 @@ Description: %3
vnotex::SelectDialog
-
+
キャンセル
@@ -5038,12 +5176,11 @@ Description: %3
プレビューがありません
-
- 優先スタイル
+ 優先スタイル
-
+
テーマ
@@ -5203,7 +5340,7 @@ Description: %3
vnotex::ViewArea
-
+
@@ -5219,152 +5356,152 @@ Description: %3
ワークスペースと分割
-
+
-
+
メニュー
-
+
-
+
ワークスペース
-
+
ワークスペース%1
-
+
新しいワークスペース
-
+
ワークスペースを削除
-
+
分割
-
+
垂直分割
-
+
水平分割
-
+
分割の最大化
-
+
分割を整列する
-
+
分割終了
-
+
分割とワークスペースを削除
-
+
タブを閉じる
-
+
-
+
他のタブを閉じる
-
+
-
+
右側のタブを閉じる
-
+
-
+
-
+
パスをコピー
-
+
コピーされたファイルパス: %1
-
+
場所を開く
-
+
ノードの検索
-
+
-
+
-
+
-
+
-
+
diff --git a/src/data/core/translations/vnote_zh_CN.qm b/src/data/core/translations/vnote_zh_CN.qm
index e61e8cdeda..b32336e02a 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 feb13aec26..b97fe20851 100644
--- a/src/data/core/translations/vnote_zh_CN.ts
+++ b/src/data/core/translations/vnote_zh_CN.ts
@@ -826,23 +826,23 @@
外部程序
-
+
文件关联
-
-
+
+
由;分隔的后缀
-
+
该文件类型的后缀列表
-
+
需要使用外部程序打开的后缀列表(或者系统默认程序)
@@ -1367,54 +1367,54 @@
vnotex::HistoryPanel
-
+
清空
-
+
打开(&O)
-
+
定位节点(&L)
-
+
清空所有历史?
-
+
更早
-
+
今天
-
+
昨天
-
+
过去7天
-
+
%1
%2
-
+
[%1] %2
@@ -1442,82 +1442,82 @@
新建图床
-
+
通用
-
+
默认图床:
-
+
清空无用图片
-
+
清空图床中无用的图片(仅基于当前文件)
-
+
本地
-
+
无法重命名图床(%1)为(%2)。
-
+
图床
-
+
测试
-
+
删除
-
+
类型:
-
+
名字:
-
+
%1:
-
+
删除图床(%1)?
-
+
测试%1。
-
+
成功
-
+
失败
@@ -1802,12 +1802,12 @@
vnotex::MainWindow
-
+
无法检查更新(%1)
-
+
有可用更新: %1
@@ -1817,40 +1817,40 @@
正在初始化核心组件...
-
+
关闭时,是否将%1最小化到系统托盘而非退出?
-
+
稍后可以在设置里面更改。
-
+
%1仍然在此运行。
-
-
+
+
全局
-
+
已有导出对话框运行。请先将其关闭。
-
+
无法加载 %n 个笔记本。
-
+
这些笔记本可能已被移动或者删除。推荐将其从配置中移除并稍后使用正确的根文件夹路径重新打开。
@@ -1863,7 +1863,7 @@ Remove them from the configuration?
-
+
退出
@@ -1894,23 +1894,23 @@ Remove them from the configuration?
新建笔记
-
+
新建文件夹
-
-
+
+
打开文件
-
+
导入文件
-
+
导入文件夹
@@ -1925,73 +1925,78 @@ Remove them from the configuration?
打开VNote 2的遗留笔记本
-
+
+
+ 新建快速笔记
+
+
+
导出(转换格式)
-
-
+
+
快速访问
-
+
灵犀页
-
+
请先在设置对话框中设置灵犀页位置。
-
+
灵犀页是一个用于记录一闪而过的灵感的临时页面。
-
+
请先将文件固定到快速访问。
-
+
文件可以通过上下文菜单固定到快速访问。
-
+
可以在设置对话框中管理快速访问。
-
+
添加任务
-
+
重新加载
-
+
任务
-
+
菜单
-
+
文档
-
+
贡献者
@@ -2000,38 +2005,38 @@ Remove them from the configuration?
配置
-
+
编辑用户配置文件
-
+
编辑Markdown用户样式
-
+
编辑Markdown编辑器阅读模式的用户样式
-
+
快速访问未设置
-
-
+
+
设置
-
+
扩展内容区
-
+
按%1退出全屏
@@ -2041,42 +2046,42 @@ Remove them from the configuration?
管理笔记本
-
+
导入
-
+
置顶
-
+
窗口
-
+
打开用户配置文件夹
-
+
打开默认配置文件夹
-
+
重置主窗口布局
-
+
重启
-
+
帮助
@@ -2089,43 +2094,43 @@ Remove them from the configuration?
进入WhatsThis模式,点击某处以显示帮助信息
-
+
快捷键帮助
-
+
Markdown指南
-
+
查看日志
-
+
主页
-
+
反馈和讨论
-
+
检查更新
-
-
+
+
关于
-
+
@@ -2134,7 +2139,7 @@ Remove them from the configuration?
-
+
关于Qt
@@ -2251,7 +2256,7 @@ Remove them from the configuration?
vnotex::MarkdownEditor
-
+
插入链接
@@ -2265,176 +2270,207 @@ Remove them from the configuration?
插入表格
+
+
+
+
+ 无法读取本地图片文件(%1)(%2)。
+
+
+
+
+ 无法从本地文件(%1)插入图片(%2)。
+
+
+
+
+ 无法从数据插入图片(%1)。
+
更多高级粘贴,请尝试编辑器上下文菜单中的“多功能粘贴”和“解析为Markdown并粘贴”功能
-
-
-
+
+
+
从剪切板插入
-
+
从URL插入
-
+
从图片数据插入
-
-
-
+
+
+
插入为图片链接
-
-
+
+
+
插入为图片
-
-
+
+
插入为文本
-
+
插入为相对图片链接
-
+
插入为链接
-
+
插入为相对链接
-
+
+
添加为附件并插入链接
-
+
插入文件内容
+
+
+
+
+ 从剪切板插入(%n项)
+
+
-
+
从剪切板插入图片
-
+
从URL插入图片
-
+
阅读(&R)
-
+
多功能粘贴
-
+
粘贴为纯文本
-
+
解析为Markodwn并粘贴
-
+
插入片段
-
+
+
+
+ 无法上传图片为(%2)到图床(%1)中。
+
+
+
查看图片
-
+
复制图片地址
-
+
复制图片
-
+
复制原地预览
-
+
打开链接
-
+
复制链接
-
+
正在获取图片到本地...
-
-
+
+
终止
-
+
获取图片到本地
-
+
正在获取图片(%1)
-
-
+
+
上传图片到图床
-
+
无
-
+
正在上传本地图片...
-
+
上传图片(%1)
@@ -2442,252 +2478,252 @@ Remove them from the configuration?
vnotex::MarkdownEditorPage
-
+
将文件名作为标题
-
+
创建笔记时将文件名作为标题插入
-
-
+
+
阅读
-
+
限制图片宽度
-
+
将图片宽度限制在窗口内
-
+
图片居中
-
+
居中显示图片
-
+
阅读模式缩放
-
+
缩放:
-
+
HTML标签
-
+
源文件中允许HTML标签
-
+
自动换行
-
+
遇到'\n'则自动换行
-
+
链接化
-
+
转换类URL的文本为链接
-
+
首行缩进
-
+
缩进每个段落的第一行
-
+
代码块行号
-
+
为代码块添加行号
-
-
+
+
编辑
-
+
限制原地预览宽度
-
+
将原地预览宽度限制在窗口内
-
+
原地预览源:
-
+
图片链接
-
+
代码块
-
+
数学公式
-
+
在解析并粘贴时,获取图片到本地
-
+
在解析为Markdown并粘贴时,获取图片到本地
-
+
智能表格
-
+
智能表格格式化
-
+
拼写检查
-
+
覆盖字体
-
+
覆盖主题中的编辑器字体
-
+
默认使用多功能粘贴
-
+
当粘贴文本时默认使用多功能粘贴
-
+
通用
-
+
小节序号模式
-
+
无
-
+
编辑模式中开始小节序号计数的基础层级
-
+
小节序号样式
-
+
1.1.
-
+
1.1
-
+
小节序号:
-
+
使用网页服务或者本地JAR文件来渲染PlantUml图表
-
-
+
+
网页服务
-
+
覆盖用于渲染PlantUml图表的网页服务
-
-
+
+
留空则使用默认值
-
+
覆盖PlantUml网页服务:
-
+
覆盖MathJax脚本:
@@ -2696,7 +2732,7 @@ Remove them from the configuration?
PlantUml网页服务:
-
+
使用网页服务或者本地可执行文件来渲染Graphviz图表
@@ -2709,61 +2745,61 @@ Remove them from the configuration?
在线服务
-
+
本地JAR
-
+
PlantUml:
-
+
用于渲染PlantUml图表的本地JAR文件
-
+
选择PlantUml JAR文件
-
-
+
+
测试
-
+
测试PlantUml JAR以及Java运行时环境
-
+
指定的JAR文件(%1)不存在。
-
-
+
+
测试%1。
-
-
+
+
成功
-
-
+
+
失败
-
+
PlantUml JAR文件:
@@ -2772,42 +2808,42 @@ Remove them from the configuration?
使用在线服务或者本地可执行文件来渲染Graphviz图表
-
+
本地可执行文件
-
+
Graphviz:
-
+
用于渲染Graphviz图表的本地可执行文件
-
+
选择Graphviz可执行文件
-
+
测试Graphviz可执行文件
-
+
指定的可执行文件(%1)不存在。
-
+
Graphviz可执行文件:
-
+
覆盖用于渲染数学公式的MathJax脚本
@@ -2816,7 +2852,7 @@ Remove them from the configuration?
MathJax脚本:
-
+
Markdown编辑器
@@ -3010,49 +3046,46 @@ Remove them from the configuration?
vnotex::NewNoteDialog
-
+
新建笔记
-
+
模板:
-
- 管理
+ 管理
-
+
请为笔记指定一个有效名字。
-
+
名字和已有或内建笔记冲突。
-
+
无法在笔记本(%2)中文件夹(%1)下创建笔记(%3)。
-
+
笔记
-
- 无
+ 无
-
- 无法加载模板(%1)(%2)。
+ 无法加载模板(%1)(%2)。
@@ -3316,20 +3349,38 @@ Remove them from the configuration?
无法保存笔记本(%2)中的笔记(%1)(%3)。
+
+ vnotex::NoteTemplateSelector
+
+
+
+ 管理
+
+
+
+
+ 无
+
+
+
+
+ 无法加载模板(%1)(%2)。
+
+
vnotex::NotebookExplorer
-
+
从全部笔记本中选择一个作为当前笔记本。<br/>移动鼠标到某个项目上查看详情。
-
+
笔记本
-
+
该标题栏包含管理笔记本和笔记的按钮和菜单。
@@ -3338,211 +3389,231 @@ Remove them from the configuration?
查看
-
+
外部文件
-
+
显示外部文件
-
+
扫描并导入
-
+
请先选择一个笔记本。
-
+
扫描整个笔记本(%1)并自动导入外部文件?
-
+
该操作帮助导入在VNote外添加的外部文件。可能会导入不想要的文件。
-
+
推荐总是在VNote中管理文件。
-
+
已导入 %n 个文件。
-
+
管理笔记本
-
+
重建笔记本数据库
-
+
激活时自动导入外部文件
-
+
以外部程序打开前关闭文件
-
+
回收站
-
+
笔记本
-
+
笔记
-
+
查看方式
-
+
+
+ 请先在设置对话框中设置快速笔记方案。
+
+
+
+
+ 新建快速笔记
+
+
+
+
+ 快速笔记应该在一个笔记本内进行创建。
+
+
+
+
+ 无法从方案(%1)中新建快速笔记(%2)
+
+
+
请先创建一个笔记本来保存数据。
-
+
选择文件导入
-
+
无法添加文件 (%1) 为节点 (%2)。
-
+
按配置查看
-
+
按名字查看
-
+
按名字倒序查看
-
+
按创建时间查看
-
+
按创建时间倒序查看
-
+
按修改时间查看
-
+
按修改时间倒序查看
-
+
打开回收站
-
+
清空回收站
-
+
清空笔记本(%1)的回收站?
-
+
注意!回收站文件夹下面的所有文件都会被删除且不可恢复!
-
+
回收站文件夹: %1
-
+
浏览模式
-
+
合并
-
+
独立,单列
-
+
独立,双列
-
+
重建笔记本(%1)的数据库?
-
+
该操作会根据配置文件重建笔记本数据库。可能会需要一定时间。
-
+
一个笔记本可能会使用一个数据库作为缓存,例如节点的标识号和标签。
-
+
正在重建笔记本数据库...
-
+
笔记本数据库已重建。
-
+
无法重建笔记本数据库。
@@ -4033,41 +4104,120 @@ Description: %3
vnotex::QuickAccessPage
-
-
+
+
快速访问
-
+
灵犀页
-
+
灵犀页位置(用户可以复制笔记的路径并粘贴在此)
-
+
灵犀页:
-
+
选择灵犀页文件
-
+
编辑固定到快速访问的文件(一行一个文件)
-
+
快速访问:
+
+
+
+ 快速笔记
+
+
+
+
+ 没有可以展示的方案
+
+
+
+
+ 新建
+
+
+
+
+ 删除
+
+
+
+
+ 方案:
+
+
+
+
+ 文件夹:
+
+
+
+ 文件夹路径
+
+
+
+
+ 如为空则动态使用创建笔记时当前浏览文件夹
+
+
+
+
+ 选择快速笔记文件夹
+
+
+
+
+ 文件名:
+
+
+
+
+ 笔记模板:
+
+
+
+
+ 快速笔记方案
+
+
+
+
+ 方案名字已存在!请重试:
+
+
+
+
+ 方案名字:
+
+
+
+
+ 快速笔记_%da%.md
+
+
+
+
+ 删除快速笔记方案(%1)?
+
vnotex::RenameTagDialog
@@ -4401,7 +4551,7 @@ Description: %3
vnotex::SelectDialog
-
+
取消
@@ -5106,12 +5256,11 @@ Description: %3
没有可用预览
-
- 样式覆盖
+ 样式覆盖
-
+
主题
@@ -5287,7 +5436,7 @@ Description: %3
vnotex::ViewArea
-
+
没有最近关闭文件
@@ -5303,152 +5452,152 @@ Description: %3
工作空间和拆分
-
+
已打开窗口
-
+
菜单
-
+
没有可以展示的窗口
-
+
工作空间
-
+
工作空间%1
-
+
新建工作空间
-
+
移除工作空间
-
+
拆分
-
+
竖直拆分
-
+
水平拆分
-
+
最大化拆分
-
+
平均分配拆分
-
+
移除拆分
-
+
移除拆分和工作空间
-
+
关闭标签页
-
+
关闭所有标签页
-
+
关闭其他标签页
-
+
关闭左侧标签页
-
+
关闭右侧标签页
-
+
自动重新加载
-
+
当发生外部修改时,自动从磁盘重新加载文件
-
+
复制路径
-
+
已复制路径: %1
-
+
打开路径
-
+
定位节点
-
+
固定到快速访问
-
+
向左移动一个拆分
-
+
向右移动一个拆分
-
+
向上移动一个拆分
-
+
向下移动一个拆分
diff --git a/src/data/core/vnotex.json b/src/data/core/vnotex.json
index 5e9ea2494d..29300e95b0 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.16.0"
+ "version" : "3.17.0"
},
"core" : {
"theme" : "pure",
@@ -14,6 +14,7 @@
"ExpandContentArea" : "Ctrl+G, E",
"Settings" : "Ctrl+Alt+P",
"NewNote" : "Ctrl+Alt+N",
+ "NewQuickNote" : "Ctrl+Alt+Q",
"NewFolder" : "Ctrl+Alt+S",
"CloseTab" : "Ctrl+G, X",
"CloseAllTabs": "",
diff --git a/src/widgets/dialogs/settings/quickaccesspage.cpp b/src/widgets/dialogs/settings/quickaccesspage.cpp
index c7bf55f6c8..d97cacbc22 100644
--- a/src/widgets/dialogs/settings/quickaccesspage.cpp
+++ b/src/widgets/dialogs/settings/quickaccesspage.cpp
@@ -214,7 +214,7 @@ QGroupBox *QuickAccessPage::setupQuickNoteGroup()
auto infoLayout = WidgetsFactory::createFormLayout(m_quickNoteInfoGroupBox);
{
- const QString label(tr("Folder path:"));
+ const QString label(tr("Folder:"));
m_quickNoteFolderPathInput = new LocationInputWithBrowseButton(m_quickNoteInfoGroupBox);
m_quickNoteFolderPathInput->setPlaceholderText(tr("Empty to use current explored folder dynamically"));
infoLayout->addRow(label, m_quickNoteFolderPathInput);
diff --git a/src/widgets/notebookexplorer.cpp b/src/widgets/notebookexplorer.cpp
index 387e7778aa..18c7b9f5fa 100644
--- a/src/widgets/notebookexplorer.cpp
+++ b/src/widgets/notebookexplorer.cpp
@@ -343,7 +343,10 @@ void NotebookExplorer::newQuickNote()
return;
}
- m_nodeExplorer->setCurrentNode(newNode.data());
+ if (notebook == m_currentNotebook.data()) {
+ m_nodeExplorer->setCurrentNode(newNode.data());
+ }
+
// Open it right now.
auto paras = QSharedPointer::create();
paras->m_mode = ViewWindowMode::Edit;
diff --git a/src/widgets/toolbarhelper.cpp b/src/widgets/toolbarhelper.cpp
index cf444765a0..747149e9a4 100644
--- a/src/widgets/toolbarhelper.cpp
+++ b/src/widgets/toolbarhelper.cpp
@@ -128,6 +128,16 @@ QToolBar *ToolBarHelper::setupFileToolBar(MainWindow *p_win, QToolBar *p_toolBar
// To hide the shortcut text shown in button.
newBtn->setText(MainWindow::tr("New Note"));
+ // New quick note.
+ auto newQuickNoteAct = newMenu->addAction(generateIcon("new_note.svg"),
+ MainWindow::tr("New Quick Note"),
+ newMenu,
+ []() {
+ emit VNoteX::getInst().newQuickNoteRequested();
+ });
+ WidgetUtils::addActionShortcut(newQuickNoteAct,
+ coreConfig.getShortcut(CoreConfig::Shortcut::NewQuickNote));
+
// New folder.
auto newFolderAct = newMenu->addAction(generateIcon("new_folder.svg"),
MainWindow::tr("New Folder"),