From a2a0054dccff118535c4051213f5351d257e8724 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 5 Jan 2023 11:45:28 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=A1=8C=E9=9D=A2=E7=AB=AF=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=90=8C=E6=97=B6=E6=89=93=E5=BC=80=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=A9=BA=E9=97=B4=20https://github.com/siyua?= =?UTF-8?q?n-note/siyuan/issues/4567?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron/main.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/electron/main.js b/app/electron/main.js index 68b716bd4..5ae5e785d 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -468,6 +468,16 @@ const initKernel = (workspace, lang) => { '⚠️ 无法读写块树文件 Failed to access blocktree file', `
块树文件正在被其他程序锁定或者已经损坏,请删除 工作空间/temp/ 文件夹后重启
The block tree file is being locked by another program or is corrupted, please delete the workspace/temp/ folder and restart.
`) break + case 24: + showErrorWindow( + '⚠️ 工作空间已被锁定 The workspace is locked', + `
该工作空间正在被使用。
The workspace is in use.
`) + break + case 25: + showErrorWindow( + '⚠️ 创建工作空间目录失败 Failed to create workspace directory', + `
创建工作空间目录失败。
Failed to create workspace directory.
`) + break case 0: case 1: // Fatal error break