diff --git a/src/data/core/translations/vnote_ja.ts b/src/data/core/translations/vnote_ja.ts index 20ef3ae7..d2adb8c8 100644 --- a/src/data/core/translations/vnote_ja.ts +++ b/src/data/core/translations/vnote_ja.ts @@ -117,7 +117,7 @@ - + Appearance 外観 @@ -275,7 +275,7 @@ スペルチェック辞書: - + Editor エディタ @@ -611,27 +611,27 @@ vnotex::FileSystemViewer - + &Open 開く(&O) - + &Delete 削除(&D) - + &Properties 設定(&P) - + Cop&y Path パスをコピー(&Y) - + Copied path: %1 コピーされたファイルパス: %1 @@ -851,11 +851,111 @@ - + General 一般 + + vnotex::GitHubImageHost + + + PersonalAccessToken/UserName/RepositoryName should not be empty. + + + + + Failed to create image with empty path. + + + + + + Invalid GitHub image host configuration. + + + + + The resource already exists at the image host (%1). + + + + + Failed to query the resource at the image host (%1) (%2) (%3). + + + + + + Failed to create resource at the image host (%1) (%2) (%3). + + + + + Failed to fetch information about the resource (%1). + + + + + Failed to fetch SHA about the resource (%1) (%2). + + + + + Failed to delete resource (%1) (%2). + + + + + vnotex::GiteeImageHost + + + PersonalAccessToken/UserName/RepositoryName should not be empty. + + + + + Failed to create image with empty path. + + + + + + Invalid Gitee image host configuration. + + + + + The resource already exists at the image host (%1). + + + + + Failed to query the resource at the image host (%1) (%2) (%3). + + + + + + Failed to create resource at the image host (%1) (%2) (%3). + + + + + Failed to fetch information about the resource (%1). + + + + + Failed to fetch SHA about the resource (%1) (%2). + + + + + Failed to delete resource (%1) (%2). + + + vnotex::HistoryPanel @@ -911,6 +1011,107 @@ + + vnotex::ImageHost + + + GitHub + + + + + Gitee + + + + + vnotex::ImageHostPage + + + New Image Host + + + + + 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 + + + vnotex::ImageInsertDialog @@ -1140,12 +1341,12 @@ テキスト - + Clear クリア - + %n Item(s) %n アイテム @@ -1559,435 +1760,457 @@ Use the "Close" button if you just want to remove it from %2. vnotex::MarkdownEditor - - + + Insert Link リンクを挿入 - + Insert Image 画像を挿入 - + Insert Table 表を挿入 - + 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 Image From Clipboard クリップボードからイメージを挿入 - + Insert Image From URL URLからイメージを挿入 - + &Read 読み取り(&R) - + Rich Paste リッチ貼り付け - + Parse To Markdown And Paste 解析してMarkdown化して貼り付け - + 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) + + vnotex::MarkdownEditorPage - + Markdown Editor Markdownエディタ - - + + Read 読み取り - + Constrain image width イメージの幅を制限する - + Constrain image width to the window イメージの幅をウィンドウに制限する - + 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 各段落の最初の行をインデントする - - + + 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 - + 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 online service or local JAR file to render PlantUml graphs - - + + Online Service - + 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: - + Use online service or local executable file to render Graphviz graphs - + 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: @@ -1995,28 +2218,59 @@ Use the "Close" button if you just want to remove it from %2. vnotex::MarkdownViewWindow - + Markdown Viewer 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 + + + + + These images seems not in use anymore. Please confirm the deletion of them. - これらのイメージはもう使用されていないようです。これらの画像の削除を確認してください。 + これらのイメージはもう使用されていないようです。これらの画像の削除を確認してください。 - Deleted images could be found in the recycle bin of notebook if it is from a bundle notebook. - 削除されたされたイメージは、ノートブックのごみ箱で見つけることができます。 + 削除されたされたイメージは、ノートブックのごみ箱で見つけることができます。 - - + + Replace is not supported in read mode 置換は読み取りモードではサポートされていません @@ -2098,6 +2352,39 @@ Use the "Close" button if you just want to remove it from %2. (%2)(%3)の(%1)の下にフォルダを作成できませんでした。 + + vnotex::NewImageHostDialog + + + Type: + 種類: + + + + Name: + 名前: + + + + New Image Host + + + + + Please specify a valid name for the image host. + + + + + Name conflicts with existing image host. + + + + + Failed to create image host (%1). + + + vnotex::NewNoteDialog @@ -2140,12 +2427,12 @@ Use the "Close" button if you just want to remove it from %2. ノート - + None なし - + Failed to load template (%1) (%2). @@ -2912,38 +3199,38 @@ 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: @@ -3182,41 +3469,46 @@ Description: %3 vnotex::Searcher - + Searching %n buffer(s) %nバッファを検索中 - + Searching folder (%1) フォルダ(%1)を検索しています - + Searching notebook (%1) ノートブック(%1)を検索しています - + Failed to compile tokens (%1) 単語トークンの抽出に失敗しました(%1) - - + + Searching outline is not supported yet アウトラインの検索はサポートされていません - - + + Searching tag is not supported yet 検索タグはまだサポートされていません + + + Failed to load node to search (%1) (%2). + + - + Start second-phase search: %n files(s) @@ -3234,12 +3526,12 @@ Description: %3 vnotex::SettingsDialog - + Settings 設定 - + Search 検索 @@ -3292,22 +3584,27 @@ Description: %3 - + + Nested snippet is supported, like `%time%` to embed the snippet `time` + + + + Content: - + Text テキスト - + Dynamic - + None なし @@ -3315,123 +3612,128 @@ Description: %3 vnotex::SnippetMgr - + the day as number without a leading zero (`1` to `31`) - + the day as number with a leading zero (`01` to `31`) - + the abbreviated localized day name (e.g. `Mon` to `Sun`) - + the long localized day name (e.g. `Monday` to `Sunday`) - + the month as number without a leading zero (`1` to `12`) - + the month as number with a leading zero (`01` to `12`) - + the abbreviated localized month name (e.g. `Jan` to `Dec`) - + the long localized month name (e.g. `January` to `December`) - + the year as two digit numbers (`00` to `99`) - + the year as four digit numbers - - the week number (`1` to `53`) + + the week number without a leading zero (`1` to `53`) - + + the week number with a leading zero (`01` to `53`) + + + + the hour without a leading zero (`0` to `23` even with AM/PM display) - + the hour with a leading zero (`00` to `23` even with AM/PM display) - + the minute without a leading zero (`0` to `59`) - + the minute with a leading zero (`00` to `59`) - + the second without a leading zero (`0` to `59`) - + the second with a leading zero (`00` to `59`) - + date (`2021-02-24`) - + the abbreviated date (`20210224`) - + time (`16:51:02`) - + date and time (`2021-02-24_16:51:02`) - + name of current note - - + + [Value Not Available] - + complete base name of current note @@ -3744,7 +4046,7 @@ Description: %3 スペルチェック - + Text Editor テキストエディタ @@ -3791,7 +4093,7 @@ Description: %3 優先スタイル - + Theme テーマ @@ -3833,6 +4135,24 @@ Description: %3 復元ダウン + + vnotex::ViPage + + + Control-C to copy + + + + + Use Control-C to copy text + + + + + Vi Input Mode + + + vnotex::ViewArea @@ -3998,39 +4318,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 @@ -4041,93 +4361,98 @@ 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 - - + + Pattern not found: %1 パターンが見つかりません:%1 - + Match found: %1/%2 一致が見つかりました: %1/%2 - + Replaced %n match(es) + + + Local + + Save @@ -4309,22 +4634,27 @@ Backup file last modified time: %2 - + + Image Host + + + + Snippet applied: %1 - + Snippet (%1) not found - + Snippet not available - + Select Snippet diff --git a/src/data/core/translations/vnote_zh_CN.qm b/src/data/core/translations/vnote_zh_CN.qm index 03a49f50..3b70f854 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 4f728e73..a03ef9c4 100644 --- a/src/data/core/translations/vnote_zh_CN.ts +++ b/src/data/core/translations/vnote_zh_CN.ts @@ -140,7 +140,7 @@ 扩展内容区时保留停靠部件: - + Appearance 外观 @@ -298,7 +298,7 @@ 拼写检查词典: - + Editor 编辑器 @@ -638,27 +638,27 @@ vnotex::FileSystemViewer - + &Open 打开(&O) - + &Delete 删除(&D) - + &Properties 属性(&P) - + Cop&y Path 复制路径(&Y) - + Copied path: %1 已复制路径: %1 @@ -882,11 +882,111 @@ 启动 VNote 时恢复上次会话(如缓冲区) - + General 通用 + + vnotex::GitHubImageHost + + + PersonalAccessToken/UserName/RepositoryName should not be empty. + 个人令牌/用户名/仓库名不能为空。 + + + + Failed to create image with empty path. + 无法从空路径创建图片。 + + + + + Invalid GitHub image host configuration. + 无效的 GitHub 图床配置。 + + + + The resource already exists at the image host (%1). + 该资源已经存在于图床 (%1)。 + + + + Failed to query the resource at the image host (%1) (%2) (%3). + 无法在图床查询资源 (%1) (%2) (%3)。 + + + + + Failed to create resource at the image host (%1) (%2) (%3). + 无法在图床创建资源 (%1) (%2) (%3)。 + + + + Failed to fetch information about the resource (%1). + 无法获取该资源的信息 (%1)。 + + + + Failed to fetch SHA about the resource (%1) (%2). + 无法获取该资源的 SHA 值 (%1) (%2)。 + + + + Failed to delete resource (%1) (%2). + 无法删除资源 (%1) (%2)。 + + + + vnotex::GiteeImageHost + + + PersonalAccessToken/UserName/RepositoryName should not be empty. + 个人令牌/用户名/仓库名不能为空。 + + + + Failed to create image with empty path. + 无法从空路径创建图片。 + + + + + Invalid Gitee image host configuration. + 无效的码云图床配置。 + + + + The resource already exists at the image host (%1). + 该资源已经存在于图床 (%1)。 + + + + Failed to query the resource at the image host (%1) (%2) (%3). + 无法在图床查询资源 (%1) (%2) (%3)。 + + + + + Failed to create resource at the image host (%1) (%2) (%3). + 无法在图床创建资源 (%1) (%2) (%3)。 + + + + Failed to fetch information about the resource (%1). + 无法获取该资源的信息 (%1)。 + + + + Failed to fetch SHA about the resource (%1) (%2). + 无法获取该资源的 SHA 值 (%1) (%2)。 + + + + Failed to delete resource (%1) (%2). + 无法删除资源 (%1) (%2)。 + + vnotex::HistoryPanel @@ -944,6 +1044,111 @@ %3 + + vnotex::ImageHost + + + GitHub + GitHub + + + + Gitee + 码云 + + + + vnotex::ImageHostPage + + + New Image Host + 新建图床 + + + + General + 通用 + + + + Default image host: + 默认图床: + + + Clear obsolete image + 清空无用图片 + + + + 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 + 失败 + + vnotex::ImageInsertDialog @@ -1173,12 +1378,12 @@ 文本 - + Clear 清空 - + %n Item(s) %n 项 @@ -1608,142 +1813,164 @@ Use the "Close" button if you just want to remove it from %2. vnotex::MarkdownEditor - - + + Insert Link 插入链接 - + Insert Image 插入图片 - + Insert Table 插入表格 - + 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 Image From Clipboard 从剪切板插入图片 - + Insert Image From URL 从URL插入图片 - + &Read 阅读(&R) - + Rich Paste 多功能粘贴 - + Parse To Markdown And Paste 解析为 Markodwn 并粘贴 - + 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) + vnotex::MarkdownEditorPage - + Insert file name as title 将文件名作为标题 - + Insert file name as title when creating note 创建笔记时将文件名作为标题插入 @@ -1756,295 +1983,295 @@ Use the "Close" button if you just want to remove it from %2. 在阅读模式中为标题显示小节序号 - - + + Read 阅读 - + Constrain image width 限制图片宽度 - + Constrain image width to the window 将图片宽度限制在窗口内 - + 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 缩进每个段落的第一行 - - + + 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 覆盖主题编辑器的字体 - + 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 online service or local JAR file to render PlantUml graphs 使用在线服务或者本地 JAR 文件来渲染 PlantUml 图表 - - + + Online Service 在线服务 - + 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 文件: - + Use online service or local executable file to render Graphviz graphs 使用在线服务或者本地可执行文件来渲染 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 可执行文件: - + Markdown Editor Markdown 编辑器 @@ -2056,28 +2283,59 @@ Use the "Close" button if you just want to remove it from %2. Markdown 查看器 - + Markdown Viewer Markdown 查看器 - + + Clear Obsolete Images 清空无用图片 - - These images seems not in use anymore. Please confirm the deletion of them. + + These images seems to be not in use anymore. Please confirm the deletion of them. 这些图片似乎已经不再使用。请确认并删除。 - - Deleted images could be found in the recycle bin of notebook if it is from a bundle notebook. - 如果这是一个自包含笔记本,已删除的图片可以在笔记本回收站中找回。 + + 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 无用图片 + + + + These images seems not in use anymore. Please confirm the deletion of them. + 这些图片似乎已经不再使用。请确认并删除。 + + + Deleted images could be found in the recycle bin of notebook if it is from a bundle notebook. + 如果这是一个自包含笔记本,已删除的图片可以在笔记本回收站中找回。 + + + + Replace is not supported in read mode 阅读模式不支持替换 @@ -2159,6 +2417,39 @@ Use the "Close" button if you just want to remove it from %2. 无法在笔记本 (%2) 中文件夹 (%1) 下创建文件夹 (%3)。 + + vnotex::NewImageHostDialog + + + Type: + 类型: + + + + Name: + 名字: + + + + New Image Host + 新建图床 + + + + Please specify a valid name for the image host. + 请为图床指定一个有效名字。 + + + + Name conflicts with existing image host. + 名字和已有图床冲突。 + + + + Failed to create image host (%1). + 无法创建图床 (%1)。 + + vnotex::NewNoteDialog @@ -2201,12 +2492,12 @@ Use the "Close" button if you just want to remove it from %2. 笔记 - + None - + Failed to load template (%1) (%2). 无法加载模板 (%1) (%2)。 @@ -2985,38 +3276,38 @@ 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: 快速访问: @@ -3255,41 +3546,46 @@ Description: %3 vnotex::Searcher - + Searching %n buffer(s) 正在搜索 %n 缓冲区 - + Searching folder (%1) 正在搜索文件夹 (%1) - + Searching notebook (%1) 正在搜索笔记本 (%1) - + Failed to compile tokens (%1) 无法编译令牌 (%1) - - + + Searching outline is not supported yet 搜索大纲暂不支持 - - + + Searching tag is not supported yet 搜索标签暂不支持 + + + Failed to load node to search (%1) (%2). + 无法加载节点进行搜索 (%1) (%2)。 + - + Start second-phase search: %n files(s) 开始第二阶段搜索: %n 文件 @@ -3307,12 +3603,12 @@ Description: %3 vnotex::SettingsDialog - + Settings 设置 - + Search 查找 @@ -3369,22 +3665,27 @@ Description: %3 与第一行同步缩进 - + + Nested snippet is supported, like `%time%` to embed the snippet `time` + 支持嵌套的片段,如 `%time%` 会内嵌片段 `time` + + + Content: 内容: - + Text 文本 - + Dynamic 动态 - + None @@ -3392,123 +3693,132 @@ Description: %3 vnotex::SnippetMgr - + the day as number without a leading zero (`1` to `31`) 没有前导零的日期数字 (`1` 到 `31`) - + the day as number with a leading zero (`01` to `31`) 带前导零的日期数字 (`01` 到 `31`) - + the abbreviated localized day name (e.g. `Mon` to `Sun`) 缩写的本地化日期名字 (如 `一` 到 `日`) - + the long localized day name (e.g. `Monday` to `Sunday`) 本地化日期名字 (如 `星期一` 到 `星期日`) - + the month as number without a leading zero (`1` to `12`) 没有前导零的月份数字 (如 `1` 到 `12`) - + the month as number with a leading zero (`01` to `12`) 带前导零的月份数字 (`01` 到 `12`) - + the abbreviated localized month name (e.g. `Jan` to `Dec`) 缩写的本地化月份名字 (如 `一` 到 `十二`) - + the long localized month name (e.g. `January` to `December`) 本地化月份名字 (如 `一月` 到 `十二月`) - + the year as two digit numbers (`00` to `99`) 两位数的年份数字 (`00` 到 `99`) - + the year as four digit numbers 四位数的年份数字 - the week number (`1` to `53`) - 星期数字 (`1` 到 `53`) + 星期数字 (`1` 到 `53`) - + + the week number without a leading zero (`1` to `53`) + 没有前导零的星期数字 (`1` 到 `53`) + + + + the week number with a leading zero (`01` to `53`) + 带前导零的星期数字 (`1` 到 `53`) + + + the hour without a leading zero (`0` to `23` even with AM/PM display) 没有前导零的小时 (`0` 到 `23`) - + the hour with a leading zero (`00` to `23` even with AM/PM display) 带前导零的小时 (`00` 到 `23`) - + the minute without a leading zero (`0` to `59`) 没有前导零的分 (`0` 到 `59`) - + the minute with a leading zero (`00` to `59`) 带前导零的分 (`00` 到 `59`) - + the second without a leading zero (`0` to `59`) 没有前导零的秒 (`0` 到 `59`) - + the second with a leading zero (`00` to `59`) 带前导零的秒 (`00` 到 `59`) - + date (`2021-02-24`) 日期 (`2021-02-24`) - + the abbreviated date (`20210224`) 缩写的日期 (`20210224`) - + time (`16:51:02`) 时间 (`16:51:02`) - + date and time (`2021-02-24_16:51:02`) 日期时间 (`2021-02-24_16:51:02`) - + name of current note 当前笔记名字 - - + + [Value Not Available] [没有可用值] - + complete base name of current note 当前笔记的完整基本名字 @@ -3821,7 +4131,7 @@ Description: %3 拼写检查 - + Text Editor 文本编辑器 @@ -3868,7 +4178,7 @@ Description: %3 样式覆盖 - + Theme 主题 @@ -3910,6 +4220,24 @@ Description: %3 向下还原 + + vnotex::ViPage + + + Control-C to copy + Control-C 进行复制 + + + + Use Control-C to copy text + 使用 Control-C 复制文本 + + + + Vi Input Mode + Vi 输入模式 + + vnotex::ViewArea @@ -4075,39 +4403,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 @@ -4118,92 +4446,97 @@ 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? 是否保存缓冲区覆盖到文件,或者放弃缓冲区? + + + Local + 本地 + Do you want to override the file from 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. 请检查文件 (%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 处匹配 @@ -4390,22 +4723,27 @@ Backup file last modified time: %2 启用/关闭原地预览 - + + Image Host + 图床 + + + Snippet applied: %1 片段已应用: %1 - + Snippet (%1) not found 无法找到片段 (%1) - + Snippet not available 没有可用片段 - + Select Snippet 选择片段 diff --git a/src/imagehost/giteeimagehost.cpp b/src/imagehost/giteeimagehost.cpp index bb037351..e8a4d341 100644 --- a/src/imagehost/giteeimagehost.cpp +++ b/src/imagehost/giteeimagehost.cpp @@ -109,7 +109,7 @@ QString GiteeImageHost::create(const QByteArray &p_data, const QString &p_path, } if (!ready()) { - p_msg = tr("Invalid GitHub image host configuration."); + p_msg = tr("Invalid Gitee image host configuration."); return QString(); } @@ -161,7 +161,7 @@ bool GiteeImageHost::remove(const QString &p_url, QString &p_msg) Q_ASSERT(ownsUrl(p_url)); if (!ready()) { - p_msg = tr("Invalid GitHub image host configuration."); + p_msg = tr("Invalid Gitee image host configuration."); return false; } diff --git a/src/snippet/snippetmgr.cpp b/src/snippet/snippetmgr.cpp index 6b7d5c7f..1421645a 100644 --- a/src/snippet/snippetmgr.cpp +++ b/src/snippet/snippetmgr.cpp @@ -346,7 +346,7 @@ QVector> SnippetMgr::loadBuiltInSnippets() const std::bind(formattedDateTime, "yyyy")); addDynamicSnippet(snippets, "w", - tr("the week number (`1` to `53`)"), + tr("the week number without a leading zero (`1` to `53`)"), [](const QString &) { return QString::number(QDate::currentDate().weekNumber()); }); diff --git a/src/widgets/dialogs/settings/imagehostpage.cpp b/src/widgets/dialogs/settings/imagehostpage.cpp index f8ced34e..8bef7829 100644 --- a/src/widgets/dialogs/settings/imagehostpage.cpp +++ b/src/widgets/dialogs/settings/imagehostpage.cpp @@ -66,7 +66,7 @@ QGroupBox *ImageHostPage::setupGeneralBox(QWidget *p_parent) } { - const QString label(tr("Clear obsolete image")); + const QString label(tr("Clear obsolete images")); m_clearObsoleteImageCheckBox = WidgetsFactory::createCheckBox(label, box); m_clearObsoleteImageCheckBox->setToolTip(tr("Clear unused images at image host (based on current file only)")); layout->addRow(m_clearObsoleteImageCheckBox);