From 4ab2033a81ee43e2a4b836b235153e20456fffea Mon Sep 17 00:00:00 2001 From: Le Tan Date: Sun, 27 Aug 2023 23:03:19 +0800 Subject: [PATCH] release v3.17.0 --- .github/workflows/ci-linux.yml | 2 +- .github/workflows/ci-macos.yml | 2 +- .github/workflows/ci-win.yml | 2 +- changes.md | 6 + src/core/coreconfig.h | 1 + src/data/core/Info.plist | 4 +- src/data/core/translations/vnote_ja.ts | 761 +++++++++++------- src/data/core/translations/vnote_zh_CN.qm | Bin 97942 -> 100375 bytes src/data/core/translations/vnote_zh_CN.ts | 761 +++++++++++------- src/data/core/vnotex.json | 3 +- .../dialogs/settings/quickaccesspage.cpp | 2 +- src/widgets/notebookexplorer.cpp | 5 +- src/widgets/toolbarhelper.cpp | 10 + 13 files changed, 933 insertions(+), 626 deletions(-) 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 @@ - + File Associations - - + + Suffixes separated by ; - + List of suffixes for this file type - + List of suffixes to open with external program (or system default program) @@ -1350,53 +1350,53 @@ vnotex::HistoryPanel - + Clear クリア - + &Open 開く(&O) - + &Locate Node - + Clear all the history? - + Older - + Today - + Yesterday - + Last 7 Days - + %1 %2 - + [%1] %2 %3 @@ -1423,82 +1423,82 @@ - + General 一般 - + Default image host: - + Clear obsolete images - + Clear unused images at image host (based on current file only) - + Local - + Failed to rename image host (%1) to (%2). - + Image Host - + Test - + Delete - + Type: 種類: - + Name: 名前: - + %1: - + Delete image host (%1)? - + Test %1. - + succeeded - + failed @@ -1832,12 +1832,12 @@ 設定マネージャの初期化に失敗しました。すべてのファイルが正常かどうかを確認するか、アプリケーションを再インストールしてください。 - + Failed to check for updates (%1) - + Updates available: %1 @@ -1847,40 +1847,40 @@ - + Do you want to minimize %1 to system tray instead of quitting when closed? 終了する代わりに、%1をシステムトレイに最小化しますか? - + You could change the option in Settings later. 設定の選択肢は、後で変更することができます。 - + %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? @@ -1892,7 +1892,7 @@ Remove them from the configuration? - + Quit 終了 @@ -1923,23 +1923,23 @@ Remove them from the configuration? 新規ノート - + New Folder 新規フォルダ - - + + Open File ファイルを開く - + Import File ファイルをインポート - + Import Folder フォルダをインポート @@ -1954,114 +1954,119 @@ Remove them from the configuration? - + + New Quick Note + + + + Export (Convert Format) - - + + Quick Access クイックアクセス - + Flash Page - + Please set the Flash Page location in the Settings dialog first. - + Flash Page is a temporary page for a flash of inspiration. - + Please pin files to Quick Access first. - + Files could be pinned to Quick Access via context menu. - + Quick Access could be managed in the Settings dialog. - + Add Task - + Reload - + Task - + Menu メニュー - + Home Page - + Documentation - + Contributors - + Edit User Configuration File - + Edit Markdown User Styles - + Edit the user styles of Markdown editor read mode - + Quick Access Not Set - - + + Settings 設定 - + Expand Content Area コンテンツ領域の拡大 - + Press %1 To Exit Full Screen %1 を押して全画面表示を終了する @@ -2071,42 +2076,42 @@ Remove them from the configuration? ノートブックの管理 - + Import - + Stay on Top - + Windows ウインドウ - + Open User Configuration Folder ユーザー設定フォルダを開く - + Open Default Configuration Folder 既定の設定フォルダを開く - + Reset Main Window Layout メインウィンドウのレイアウトをリセット - + Restart 再起動 - + Help ヘルプ @@ -2119,38 +2124,38 @@ Remove them from the configuration? [これは何]モードに入り、ヘルプ情報を表示する場所をクリックします - + Shortcuts Help ショートカットヘルプ - + Markdown Guide Markdown ガイド - + View Logs ログの表示 - + Feedback and Discussions - + Check for Updates - - + + About バージョン情報 - + <h3>%1</h3> <span>%2</span> @@ -2159,7 +2164,7 @@ Remove them from the configuration? - + About Qt Qtについて @@ -2227,7 +2232,7 @@ Remove them from the configuration? vnotex::MarkdownEditor - + Insert Link リンクを挿入 @@ -2241,176 +2246,207 @@ Remove them from the configuration? Insert Table 表を挿入 + + + + Failed to read local image file (%1) (%2). + + + + + Failed to insert image from local file (%1) (%2). + + + + + Failed to insert image from data (%1). + + For advanced paste, try the "Rich Paste" and "Parse to Markdown and Paste" on the editor's context menu - - - + + + Insert From Clipboard クリップボードから挿入 - + Insert From URL URLから挿入 - + Insert From Image Data イメージデータから挿入 - - - + + + Insert As Image Link イメージリンクとして挿入 - - + + + Insert As Image イメージとして挿入 - - + + Insert As Text テキストとして挿入 - + Insert As Relative Image Link 相対イメージリンクとして挿入 - + Insert As Link リンクとして挿入 - + Insert As Relative Link 相対リンクとして挿入 - + + Attach And Insert Link リンクを添付して挿入 - + Insert File Content ファイルの内容を挿入 + + + Insert From Clipboard (%n items) + + + + - + Insert Image From Clipboard クリップボードからイメージを挿入 - + Insert Image From URL URLからイメージを挿入 - + &Read 読み取り(&R) - + Rich Paste リッチ貼り付け - + Paste as Plain Text - + Parse to Markdown and Paste - + Insert Snippet - + + + Failed to upload image to image host (%1) as (%2). + + + + 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) @@ -2418,361 +2454,361 @@ Remove them from the configuration? vnotex::MarkdownEditorPage - + Markdown Editor Markdownエディタ - - + + Read 読み取り - + Constrain image width イメージの幅を制限する - + Constrain image width to the window イメージの幅をウィンドウに制限する - + Center image - + Center images - + Zoom factor in read mode 読み取りモードのズーム倍率 - + Zoom factor: ズーム倍率: - + HTML tag HTMLタグ - + Allow HTML tags in source ソース内のHTMLタグを許可 - + Auto break 自動ブレーク - + Automatically break a line with '\n' '\n' で自動的に改行する - + Linkify リンク変換 - + Convert URL-like text to links URLに似たテキストをリンクに変換する - + Indent first line 最初の行をインデント - + Indent the first line of each paragraph 各段落の最初の行をインデントする - + Code block line number - + Add line number to code block - - + + Edit 編集 - + Insert file name as title ファイル名をタイトルとして挿入 - + Insert file name as title when creating note ノート作成時にファイル名をタイトルとして挿入 - + Constrain in-place preview width インプレイスプレビューの幅を制約する - + Constrain in-place preview width to the window インプレイスプレビューをウインドウ幅に制約する - + In-place preview sources: - + Image link - + Code block - + Math 数式 - + Fetch images to local in Parse And Paste [解析と貼り付け]でイメージをローカルに取得 - + Fetch images to local in Parse To Markdown And Paste [Markdown解析と貼り付け]でイメージをローカルに取得 - + Smart table スマートテーブル - + Smart table formation スマートテーブルにフォーマット - + Spell check スペルチェック - + Override font - + Override editor font family of theme - + Use Rich Paste by default - + Use Rich Paste by default when pasting text - + General 一般 - + Section number mode セクション番号モード - + None なし - + Base level to start section numbering in edit mode 編集モードでセクション番号付けを開始するベースレベル - + Section number style セクション番号スタイル - + 1.1. 1.1. - + 1.1 1.1 - + Section number: セクション番号: - + Use Web service or local JAR file to render PlantUml graphs - - + + Web Service - + Override the Web service used to render PlantUml graphs - - + + Empty to use default one - + Override MathJax script: - + Use Web service or local executable file to render Graphviz graphs - + Local JAR - + PlantUml: - + Local JAR file to render PlantUml graphs - + Select PlantUml JAR File - - + + Test - + Test PlantUml JAR and Java Runtime Environment - + The JAR file (%1) specified does not exist. - - + + Test %1. - - + + succeeded - - + + failed - + PlantUml JAR file: - + Override PlantUml Web service: - + Local Executable - + Graphviz: - + Local executable file to render Graphviz graphs - + Select Graphviz Executable File - + Test Graphviz executable file - + The executable file (%1) specified does not exist. - + Graphviz executable file: - + Override the MathJax script used to render math formulas @@ -2966,49 +3002,38 @@ Remove them from the configuration? vnotex::NewNoteDialog - + New Note 新規ノート - + Template: - - Manage - - - - + Please specify a valid name for the note. - + Name conflicts with existing or built-in note. - + Failed to create note under (%1) in (%2) (%3). (%2)(%3)の(%1)の下にノートを作成できませんでした。 - + note ノート - None - なし - - - - Failed to load template (%1) (%2). - + なし @@ -3272,20 +3297,38 @@ Remove them from the configuration? ノート(%1)を(%2)(%3)に保存できませんでした。 + + vnotex::NoteTemplateSelector + + + Manage + + + + + None + なし + + + + Failed to load template (%1) (%2). + + + 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. このタイトルバーには、ノートブックとノートを管理するためのボタンとメニューが含まれています。 @@ -3294,211 +3337,231 @@ Remove them from the configuration? 表示 - + 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 set up quick note schemes in the Settings dialog first. + + + + + New Quick Note + + + + + The quick note should be created within a notebook. + + + + + Failed to create quick note from scheme (%1) (%2) + + + + 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. @@ -3969,41 +4032,116 @@ Description: %3 vnotex::QuickAccessPage - - + + Quick Access クイックアクセス - + Flash Page - + Flash Page location (user could copy the path of one note and paste it here) - + Flash Page: - + Select Flash Page File - + Edit the files pinned to Quick Access (one file per line) - + Quick Access: + + + Quick Note + + + + + No scheme to show + + + + + New + + + + + Delete + + + + + Scheme: + + + + + Folder: + フォルダ: + + + + Empty to use current explored folder dynamically + + + + + Select Quick Note Folder + + + + + Note name: + + + + + Note template: + + + + + Quick Note Scheme + + + + + Scheme name already exists! Try again: + + + + + Scheme name: + + + + + quick_note_%da%.md + + + + + Delete quick note scheme (%1)? + + vnotex::RenameTagDialog @@ -4337,7 +4475,7 @@ Description: %3 vnotex::SelectDialog - + Cancel キャンセル @@ -5038,12 +5176,11 @@ Description: %3 プレビューがありません - Style Override - 優先スタイル + 優先スタイル - + Theme テーマ @@ -5203,7 +5340,7 @@ Description: %3 vnotex::ViewArea - + No recently closed file @@ -5219,152 +5356,152 @@ Description: %3 ワークスペースと分割 - + Open Windows - + Menu メニュー - + No Window To Show - + Workspaces ワークスペース - + Workspace %1 ワークスペース%1 - + New Workspace 新しいワークスペース - + Remove Workspace ワークスペースを削除 - + Split 分割 - + Vertical Split 垂直分割 - + Horizontal Split 水平分割 - + Maximize Split 分割の最大化 - + Distribute Splits 分割を整列する - + Remove Split 分割終了 - + Remove Split And Workspace 分割とワークスペースを削除 - + Close Tab タブを閉じる - + Close All Tabs - + Close Other Tabs 他のタブを閉じる - + Close Tabs To The Left - + Close Tabs To The Right 右側のタブを閉じる - + Auto Reload - + Reload file from disk automatically if it is changed outside - + Copy Path パスをコピー - + Copied path: %1 コピーされたファイルパス: %1 - + Open Location 場所を開く - + Locate Node ノードの検索 - + Pin To Quick Access - + Move One Split Left - + Move One Split Right - + Move One Split Up - + Move One Split Down diff --git a/src/data/core/translations/v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r|DKG0W>%6C*+_=1y zsw2w0(x1DWQ|z4B%ECs@%!Q>ab72cpX1KDxh4F4|TY$4>jQ>zW(vlgsh;>L-(4Rhh c+U(!rocqj(i;o{WGG+NtR=?0@7*l%uAAn%0d;kCd 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 @@ 外部程序 - + File Associations 文件关联 - - + + Suffixes separated by ; 由;分隔的后缀 - + List of suffixes for this file type 该文件类型的后缀列表 - + List of suffixes to open with external program (or system default program) 需要使用外部程序打开的后缀列表(或者系统默认程序) @@ -1367,54 +1367,54 @@ vnotex::HistoryPanel - + Clear 清空 - + &Open 打开(&O) - + &Locate Node 定位节点(&L) - + Clear all the history? 清空所有历史? - + Older 更早 - + Today 今天 - + Yesterday 昨天 - + Last 7 Days 过去7天 - + %1 %2 %1 %2 - + [%1] %2 %3 [%1] %2 @@ -1442,82 +1442,82 @@ 新建图床 - + General 通用 - + Default image host: 默认图床: - + Clear obsolete images 清空无用图片 - + Clear unused images at image host (based on current file only) 清空图床中无用的图片(仅基于当前文件) - + Local 本地 - + Failed to rename image host (%1) to (%2). 无法重命名图床(%1)为(%2)。 - + Image Host 图床 - + Test 测试 - + Delete 删除 - + Type: 类型: - + Name: 名字: - + %1: %1: - + Delete image host (%1)? 删除图床(%1)? - + Test %1. 测试%1。 - + succeeded 成功 - + failed 失败 @@ -1802,12 +1802,12 @@ vnotex::MainWindow - + Failed to check for updates (%1) 无法检查更新(%1) - + Updates available: %1 有可用更新: %1 @@ -1817,40 +1817,40 @@ 正在初始化核心组件... - + Do you want to minimize %1 to system tray instead of quitting when closed? 关闭时,是否将%1最小化到系统托盘而非退出? - + You could change the option in Settings later. 稍后可以在设置里面更改。 - + %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? 这些笔记本可能已被移动或者删除。推荐将其从配置中移除并稍后使用正确的根文件夹路径重新打开。 @@ -1863,7 +1863,7 @@ Remove them from the configuration? - + Quit 退出 @@ -1894,23 +1894,23 @@ Remove them from the configuration? 新建笔记 - + New Folder 新建文件夹 - - + + Open File 打开文件 - + Import File 导入文件 - + Import Folder 导入文件夹 @@ -1925,73 +1925,78 @@ Remove them from the configuration? 打开VNote 2的遗留笔记本 - + + New Quick Note + 新建快速笔记 + + + Export (Convert Format) 导出(转换格式) - - + + Quick Access 快速访问 - + Flash Page 灵犀页 - + Please set the Flash Page location in the Settings dialog first. 请先在设置对话框中设置灵犀页位置。 - + Flash Page is a temporary page for a flash of inspiration. 灵犀页是一个用于记录一闪而过的灵感的临时页面。 - + Please pin files to Quick Access first. 请先将文件固定到快速访问。 - + Files could be pinned to Quick Access via context menu. 文件可以通过上下文菜单固定到快速访问。 - + Quick Access could be managed in the Settings dialog. 可以在设置对话框中管理快速访问。 - + Add Task 添加任务 - + Reload 重新加载 - + Task 任务 - + Menu 菜单 - + Documentation 文档 - + Contributors 贡献者 @@ -2000,38 +2005,38 @@ Remove them from the configuration? 配置 - + Edit User Configuration File 编辑用户配置文件 - + Edit Markdown User Styles 编辑Markdown用户样式 - + Edit the user styles of Markdown editor read mode 编辑Markdown编辑器阅读模式的用户样式 - + Quick Access Not Set 快速访问未设置 - - + + Settings 设置 - + Expand Content Area 扩展内容区 - + Press %1 To Exit Full Screen 按%1退出全屏 @@ -2041,42 +2046,42 @@ Remove them from the configuration? 管理笔记本 - + Import 导入 - + Stay on Top 置顶 - + Windows 窗口 - + Open User Configuration Folder 打开用户配置文件夹 - + Open Default Configuration Folder 打开默认配置文件夹 - + Reset Main Window Layout 重置主窗口布局 - + Restart 重启 - + Help 帮助 @@ -2089,43 +2094,43 @@ Remove them from the configuration? 进入WhatsThis模式,点击某处以显示帮助信息 - + Shortcuts Help 快捷键帮助 - + Markdown Guide Markdown指南 - + View Logs 查看日志 - + Home Page 主页 - + Feedback and Discussions 反馈和讨论 - + Check for Updates 检查更新 - - + + About 关于 - + <h3>%1</h3> <span>%2</span> @@ -2134,7 +2139,7 @@ Remove them from the configuration? - + About Qt 关于Qt @@ -2251,7 +2256,7 @@ Remove them from the configuration? vnotex::MarkdownEditor - + Insert Link 插入链接 @@ -2265,176 +2270,207 @@ Remove them from the configuration? Insert Table 插入表格 + + + + Failed to read local image file (%1) (%2). + 无法读取本地图片文件(%1)(%2)。 + + + + Failed to insert image from local file (%1) (%2). + 无法从本地文件(%1)插入图片(%2)。 + + + + Failed to insert image from data (%1). + 无法从数据插入图片(%1)。 + For advanced paste, try the "Rich Paste" and "Parse to Markdown and Paste" on the editor's context menu 更多高级粘贴,请尝试编辑器上下文菜单中的“多功能粘贴”和“解析为Markdown并粘贴”功能 - - - + + + Insert From Clipboard 从剪切板插入 - + Insert From URL 从URL插入 - + Insert From Image Data 从图片数据插入 - - - + + + Insert As Image Link 插入为图片链接 - - + + + Insert As Image 插入为图片 - - + + Insert As Text 插入为文本 - + Insert As Relative Image Link 插入为相对图片链接 - + Insert As Link 插入为链接 - + Insert As Relative Link 插入为相对链接 - + + Attach And Insert Link 添加为附件并插入链接 - + Insert File Content 插入文件内容 + + + Insert From Clipboard (%n items) + + 从剪切板插入(%n项) + + - + Insert Image From Clipboard 从剪切板插入图片 - + Insert Image From URL 从URL插入图片 - + &Read 阅读(&R) - + Rich Paste 多功能粘贴 - + Paste as Plain Text 粘贴为纯文本 - + Parse to Markdown and Paste 解析为Markodwn并粘贴 - + Insert Snippet 插入片段 - + + + Failed to upload image to image host (%1) as (%2). + 无法上传图片为(%2)到图床(%1)中。 + + + 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) @@ -2442,252 +2478,252 @@ Remove them from the configuration? vnotex::MarkdownEditorPage - + Insert file name as title 将文件名作为标题 - + Insert file name as title when creating note 创建笔记时将文件名作为标题插入 - - + + Read 阅读 - + Constrain image width 限制图片宽度 - + Constrain image width to the window 将图片宽度限制在窗口内 - + Center image 图片居中 - + Center images 居中显示图片 - + Zoom factor in read mode 阅读模式缩放 - + Zoom factor: 缩放: - + HTML tag HTML标签 - + Allow HTML tags in source 源文件中允许HTML标签 - + Auto break 自动换行 - + Automatically break a line with '\n' 遇到'\n'则自动换行 - + Linkify 链接化 - + Convert URL-like text to links 转换类URL的文本为链接 - + Indent first line 首行缩进 - + Indent the first line of each paragraph 缩进每个段落的第一行 - + Code block line number 代码块行号 - + Add line number to code block 为代码块添加行号 - - + + Edit 编辑 - + Constrain in-place preview width 限制原地预览宽度 - + Constrain in-place preview width to the window 将原地预览宽度限制在窗口内 - + In-place preview sources: 原地预览源: - + Image link 图片链接 - + Code block 代码块 - + Math 数学公式 - + Fetch images to local in Parse And Paste 在解析并粘贴时,获取图片到本地 - + Fetch images to local in Parse To Markdown And Paste 在解析为Markdown并粘贴时,获取图片到本地 - + Smart table 智能表格 - + Smart table formation 智能表格格式化 - + Spell check 拼写检查 - + Override font 覆盖字体 - + Override editor font family of theme 覆盖主题中的编辑器字体 - + Use Rich Paste by default 默认使用多功能粘贴 - + Use Rich Paste by default when pasting text 当粘贴文本时默认使用多功能粘贴 - + General 通用 - + Section number mode 小节序号模式 - + None - + Base level to start section numbering in edit mode 编辑模式中开始小节序号计数的基础层级 - + Section number style 小节序号样式 - + 1.1. 1.1. - + 1.1 1.1 - + Section number: 小节序号: - + Use Web service or local JAR file to render PlantUml graphs 使用网页服务或者本地JAR文件来渲染PlantUml图表 - - + + Web Service 网页服务 - + Override the Web service used to render PlantUml graphs 覆盖用于渲染PlantUml图表的网页服务 - - + + Empty to use default one 留空则使用默认值 - + Override PlantUml Web service: 覆盖PlantUml网页服务: - + Override MathJax script: 覆盖MathJax脚本: @@ -2696,7 +2732,7 @@ Remove them from the configuration? PlantUml网页服务: - + Use Web service or local executable file to render Graphviz graphs 使用网页服务或者本地可执行文件来渲染Graphviz图表 @@ -2709,61 +2745,61 @@ Remove them from the configuration? 在线服务 - + Local JAR 本地JAR - + PlantUml: PlantUml: - + Local JAR file to render PlantUml graphs 用于渲染PlantUml图表的本地JAR文件 - + Select PlantUml JAR File 选择PlantUml JAR文件 - - + + Test 测试 - + Test PlantUml JAR and Java Runtime Environment 测试PlantUml JAR以及Java运行时环境 - + The JAR file (%1) specified does not exist. 指定的JAR文件(%1)不存在。 - - + + Test %1. 测试%1。 - - + + succeeded 成功 - - + + failed 失败 - + PlantUml JAR file: PlantUml JAR文件: @@ -2772,42 +2808,42 @@ Remove them from the configuration? 使用在线服务或者本地可执行文件来渲染Graphviz图表 - + Local Executable 本地可执行文件 - + Graphviz: Graphviz: - + Local executable file to render Graphviz graphs 用于渲染Graphviz图表的本地可执行文件 - + Select Graphviz Executable File 选择Graphviz可执行文件 - + Test Graphviz executable file 测试Graphviz可执行文件 - + The executable file (%1) specified does not exist. 指定的可执行文件(%1)不存在。 - + Graphviz executable file: Graphviz可执行文件: - + Override the MathJax script used to render math formulas 覆盖用于渲染数学公式的MathJax脚本 @@ -2816,7 +2852,7 @@ Remove them from the configuration? MathJax脚本: - + Markdown Editor Markdown编辑器 @@ -3010,49 +3046,46 @@ Remove them from the configuration? vnotex::NewNoteDialog - + New Note 新建笔记 - + Template: 模板: - Manage - 管理 + 管理 - + Please specify a valid name for the note. 请为笔记指定一个有效名字。 - + Name conflicts with existing or built-in note. 名字和已有或内建笔记冲突。 - + Failed to create note under (%1) in (%2) (%3). 无法在笔记本(%2)中文件夹(%1)下创建笔记(%3)。 - + note 笔记 - None - + - Failed to load template (%1) (%2). - 无法加载模板(%1)(%2)。 + 无法加载模板(%1)(%2)。 @@ -3316,20 +3349,38 @@ Remove them from the configuration? 无法保存笔记本(%2)中的笔记(%1)(%3)。 + + vnotex::NoteTemplateSelector + + + Manage + 管理 + + + + None + + + + + Failed to load template (%1) (%2). + 无法加载模板(%1)(%2)。 + + 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. 该标题栏包含管理笔记本和笔记的按钮和菜单。 @@ -3338,211 +3389,231 @@ Remove them from the configuration? 查看 - + 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 set up quick note schemes in the Settings dialog first. + 请先在设置对话框中设置快速笔记方案。 + + + + New Quick Note + 新建快速笔记 + + + + The quick note should be created within a notebook. + 快速笔记应该在一个笔记本内进行创建。 + + + + Failed to create quick note from scheme (%1) (%2) + 无法从方案(%1)中新建快速笔记(%2) + + + 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. 无法重建笔记本数据库。 @@ -4033,41 +4104,120 @@ Description: %3 vnotex::QuickAccessPage - - + + Quick Access 快速访问 - + Flash Page 灵犀页 - + Flash Page location (user could copy the path of one note and paste it here) 灵犀页位置(用户可以复制笔记的路径并粘贴在此) - + Flash Page: 灵犀页: - + Select Flash Page File 选择灵犀页文件 - + Edit the files pinned to Quick Access (one file per line) 编辑固定到快速访问的文件(一行一个文件) - + Quick Access: 快速访问: + + + Quick Note + 快速笔记 + + + + No scheme to show + 没有可以展示的方案 + + + + New + 新建 + + + + Delete + 删除 + + + + Scheme: + 方案: + + + + Folder: + 文件夹: + + + Folder path: + 文件夹路径 + + + + Empty to use current explored folder dynamically + 如为空则动态使用创建笔记时当前浏览文件夹 + + + + Select Quick Note Folder + 选择快速笔记文件夹 + + + + Note name: + 文件名: + + + + Note template: + 笔记模板: + + + + Quick Note Scheme + 快速笔记方案 + + + + Scheme name already exists! Try again: + 方案名字已存在!请重试: + + + + Scheme name: + 方案名字: + + + + quick_note_%da%.md + 快速笔记_%da%.md + + + + Delete quick note scheme (%1)? + 删除快速笔记方案(%1)? + vnotex::RenameTagDialog @@ -4401,7 +4551,7 @@ Description: %3 vnotex::SelectDialog - + Cancel 取消 @@ -5106,12 +5256,11 @@ Description: %3 没有可用预览 - Style Override - 样式覆盖 + 样式覆盖 - + Theme 主题 @@ -5287,7 +5436,7 @@ Description: %3 vnotex::ViewArea - + No recently closed file 没有最近关闭文件 @@ -5303,152 +5452,152 @@ Description: %3 工作空间和拆分 - + Open Windows 已打开窗口 - + Menu 菜单 - + No Window To Show 没有可以展示的窗口 - + Workspaces 工作空间 - + Workspace %1 工作空间%1 - + New Workspace 新建工作空间 - + Remove Workspace 移除工作空间 - + Split 拆分 - + Vertical Split 竖直拆分 - + Horizontal Split 水平拆分 - + Maximize Split 最大化拆分 - + Distribute Splits 平均分配拆分 - + Remove Split 移除拆分 - + Remove Split And Workspace 移除拆分和工作空间 - + Close Tab 关闭标签页 - + Close All Tabs 关闭所有标签页 - + Close Other Tabs 关闭其他标签页 - + Close Tabs To The Left 关闭左侧标签页 - + Close Tabs To The Right 关闭右侧标签页 - + Auto Reload 自动重新加载 - + Reload file from disk automatically if it is changed outside 当发生外部修改时,自动从磁盘重新加载文件 - + Copy Path 复制路径 - + Copied path: %1 已复制路径: %1 - + Open Location 打开路径 - + Locate Node 定位节点 - + Pin To Quick Access 固定到快速访问 - + Move One Split Left 向左移动一个拆分 - + Move One Split Right 向右移动一个拆分 - + Move One Split Up 向上移动一个拆分 - + Move One Split Down 向下移动一个拆分 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"),