@samitouri / QOSami-HFS / commits / a9bd4aef

better english

Massimo Melina committed Nov 1, 2023 at 19:11 UTC a9bd4aef0b375b4cd07a26ba7caed1a0d913ce14
1 file changed +4 -2
admin/src/FileForm.ts
+4 -2
@@ -128,8 +128,10 @@ export default function FileForm({ file, anyMask, addToBar, statusApi }: FileFor
128 isRoot ? h(Alert,{ severity: 'info' }, "This is Home, the root of your shared files. Options set here will be applied to all files.")
129 : { k: 'name', required: true, xl: true, helperText: hasSource && "You can decide a name that's different from the one on your disk" },
130 isLink ? { k: 'url', label: "URL", lg: 12, required: true }
131 - : { k: 'source', label: "Source on disk", xl: true, comp: FileField, files: !isDir, folders: isDir,
132 - helperText: !values.source && "Not on disk, this is a virtual folder",
131 + : { k: 'source', label: "Load content from disk", xl: true, comp: FileField, files: !isDir, folders: isDir,
132 + placeholder: "no",
133 + helperText: values.source ? "Content from this path will be listed, but you can also add more"
134 + : "This field is empty, and thus this element is a virtual-folder. You can set this field, pointing at any folder/file on disk.",
135 },
136 !isLink && { k: 'id', comp: LinkField, statusApi, xs: 12 },
137 !isLink && perm('can_read', "Who can see but not download will be asked to login"),