Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/17373

Daniel8021e42ece6c
diff --git a/app/src/protyle/upload/index.ts b/app/src/protyle/upload/index.ts
index 91097d35d7..c6da29a5a2 100644
--- a/app/src/protyle/upload/index.ts
+++ b/app/src/protyle/upload/index.ts
@@ -389,7 +389,7 @@ export const uploadFiles = (protyle: IProtyle, files: FileList | DataTransferIte
genUploadedLabel(responseText, protyle);
}
} else if (xhr.status === 0) {
- showMessage(window.siyuan.languages.fileTypeError);
+ showMessage(window.siyuan.languages["_kernel"][28]);
} else {
if (protyle.options.upload.error) {
protyle.options.upload.error(xhr.responseText);