diff --git a/src/lib/components/workspace/Knowledge/Collection.svelte b/src/lib/components/workspace/Knowledge/Collection.svelte index 4dd029040..641e5f643 100644 --- a/src/lib/components/workspace/Knowledge/Collection.svelte +++ b/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; }