admin/fs: new masks icon and better english

Massimo Melina committed Mar 29, 2022 at 23:59 UTC 55196a17290b21d4091104694f8641b92cdfdfd5
2 files changed +3 -3
admin/src/FileCard.ts
+1 -1
@@ -93,7 +93,7 @@ function FileForm({ file }: { file: ReturnType<typeof useSnapState>['selectedFil
93 },
94 hasSource && { k: 'source', comp: DisplayField, multiline: true },
95 { k: 'can_read', label:"Who can download", xl: showCanSee && 6, comp: WhoField, parent, accounts, inherit: inheritedPerms.can_read,
96 - helperText: "Note: who cannot download also cannot see in list"
96 + helperText: "Note: who can't download won't see it in the list"
97 },
98 showCanSee && { k: 'can_see', label:"Who can see", xl: 6, comp: WhoField, parent, accounts, inherit: inheritedPerms.can_see,
99 helperText: "If you hide this element it will not be listed, but will still be accessible if you have a direct link"
admin/src/VfsTree.ts
+2 -2
@@ -7,7 +7,7 @@ import { TreeItem, TreeView } from '@mui/lab'
7 import {
8 ChevronRight,
9 ExpandMore,
10 - Face,
10 + TheaterComedy,
11 Folder,
12 Home,
13 InsertDriveFileOutlined,
@@ -70,7 +70,7 @@ export default function VfsTree({ id2node }:{ id2node: Map<string, VfsNode> }) {
70 isRestricted(node.can_see) && iconTooltip(RemoveRedEye, "Restrictions on who can see"),
71 isRestricted(node.can_read) && iconTooltip(Lock, "Restrictions on who can download"),
72 node.default && iconTooltip(Web, "Act as website"),
73 - node.masks && iconTooltip(Face, "Masks"),
73 + node.masks && iconTooltip(TheaterComedy, "Masks"),
74 isRoot ? "Home"
75 // special rendering if the whole source is not too long, and the name was not customized
76 : source?.length! < 45 && source?.endsWith(name) ? h('span', {},