浏览代码

refac: wording

Timothy J. Baek 6 月之前
父节点
当前提交
145a7bbda5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib/components/workspace/Knowledge/Collection.svelte

+ 1 - 1
src/lib/components/workspace/Knowledge/Collection.svelte

@@ -125,7 +125,7 @@
 		};
 
 		if (fileItem.size == 0) {
-			toast.error($i18n.t('File must have content to be uploaded'));
+			toast.error($i18n.t('You cannot upload an empty file.'));
 			return null;
 		}