fix: import html will delete existed folder, and no Chinese error message

fixes #488
This commit is contained in:
lin onetwo 2023-12-30 15:24:10 +08:00
parent 3aa18be2c5
commit 9c4aa82c8f
6 changed files with 118 additions and 87 deletions

View file

@ -408,7 +408,11 @@
"WikiRuntimeError": "E-13 Wiki Runtime Error",
"WikiRuntimeErrorDescription": "E-13 There is an error while running the wiki. Please check the log file for the reason, and upload and submit an issue for repair.",
"SubWikiSMainWikiNotExistError": "The main wiki to which the child wiki is attached does not exist",
"SubWikiSMainWikiNotExistErrorDescription": "A sub-wiki must choose a main wiki to attach to when it is created, but now the main wiki that this sub-wiki should be attached to cannot be found and cannot be attached."
"SubWikiSMainWikiNotExistErrorDescription": "A sub-wiki must choose a main wiki to attach to when it is created, but now the main wiki that this sub-wiki should be attached to cannot be found and cannot be attached.",
"HTMLCanNotLoadError": "Current HTML file path can't be used.",
"HTMLCanNotLoadErrorDescription": "Please enter a path to a valid tiddlywiki.html file.",
"ALreadyExistErrorDescription": "A folder already exists at this path, and a new knowledge base cannot be created here.",
"AlreadyExistError": "Folder already exist here."
},
"Loading": "Loading",
"Yes": "Yes",

View file

@ -445,7 +445,11 @@
"WikiRuntimeError": "E-13 维基运行时有错误",
"WikiRuntimeErrorDescription": "E-13 维基运行时有错误,原因请查看 log 文件,并上传提交 issue 以便修复。",
"SubWikiSMainWikiNotExistError": "子 Wiki 所附着的主 Wiki 不存在",
"SubWikiSMainWikiNotExistErrorDescription": "子 Wiki 在创建时必须选择一个附着到的主 Wiki但是现在这个子 Wiki 所应该附着的主 Wiki 找不到了,无法附着。"
"SubWikiSMainWikiNotExistErrorDescription": "子 Wiki 在创建时必须选择一个附着到的主 Wiki但是现在这个子 Wiki 所应该附着的主 Wiki 找不到了,无法附着。",
"HTMLCanNotLoadError": "提供的 HTML 文件路径无法使用。",
"HTMLCanNotLoadErrorDescription": "请输入指向可用的 HTML 文件的路径。",
"ALreadyExistErrorDescription": "当前路径已有文件夹,新的知识库无法在此新建。",
"AlreadyExistError": "该处已被文件夹占用"
},
"Loading": "加载中",
"Delete": "删除",