better english
Massimo Melina committed
Feb 20, 2026 at 10:28 UTC
c4f2b2bdda5a6a0a9a3d577438a4079fac930147
6 files changed
+11
-11
admin/src/FileForm.ts
+4
-4
@@ -169,7 +169,7 @@ export default function FileForm({ file, addToBar, statusApi, accounts, saved, i
169
: isDir ? "Files from this path on disk will be listed, but you can add more" : undefined,
170
},
171
{ k: 'id', comp: LinkField, statusApi, xs: 12 },
172
- { k: 'order', comp: NumberField, min: -1E5, max: 1E5, placeholder: 'default', sm: 4, helperText: wikiLink('Virtual-file-system#order', "To force position") },
172
+ { k: 'order', comp: NumberField, min: -1E5, max: 1E5, label: "Priority (order in the frontend)", placeholder: 'default', sm: 4, helperText: wikiLink('Virtual-file-system#order', "To force position") },
173
{
174
k: 'iconType',
175
comp: SelectField,
@@ -189,9 +189,9 @@ export default function FileForm({ file, addToBar, statusApi, accounts, saved, i
189
label: "Icon file", placeholder: "default", comp: FileField, fileMask: IMAGE_FILEMASK,
190
}
191
},
192
- perm('can_read', "Who can see but not download will be asked to login"),
192
+ perm('can_read', "Who can see but not download will be asked to log in"),
193
perm('can_archive', "Should this be included when user downloads as ZIP"),
194
- perm('can_list', "Permission to requests the list of a folder. The list will include only things you can see.", { contentText: "subfolders" }),
194
+ perm('can_list', "Permission to request the list of a folder. The list will include only things you can see.", { contentText: "subfolders" }),
195
perm('can_delete', [needSourceWarning, "Those who can delete can also rename and cut/move"]),
196
perm('can_upload', needSourceWarning, { contentText: "subfolders" }),
197
perm('can_see', ["See this item in the list. ", wikiLink('Permissions', "More help.")]),
@@ -349,7 +349,7 @@ function WhoField({ value, onChange, parent, inherit, accounts, helperText, othe
349
function who2desc(who: any) {
350
return who === false ? "No one"
351
: who === true ? "Anyone"
352
- : who === '*' ? "Any account login"
352
+ : who === '*' ? "Any logged-in account"
353
: Array.isArray(who) ? who.join(', ')
354
: typeof who === 'string' ? `As "can ${perm2word(who)}"`
355
: "*UNKNOWN*" + JSON.stringify(who)
admin/src/LogsPage.ts
+2
-2
@@ -93,7 +93,7 @@ export default function LogsPage({ setTitleSide }: PageProps) {
93
{ k: CFG.log_gui, sm: 6, comp: BoolField, label: "Log interface loading", helperText: "Some requests are necessary to load the interface" },
94
{ k: CFG.log_api, sm: 6, comp: BoolField, label: "Log API requests", helperText: "Requests for commands" },
95
{ k: CFG.log_ua, sm: 6, comp: BoolField, label: "Log User-Agent", helperText: "Contains browser and possibly OS information. Can double the size of your logs on disk." },
96
- { k: CFG.log_spam, sm: 6, comp: BoolField, label: "Log spam requests", helperText: md`Spam are *failed* requests that are considered attacks aimed *not* to HFS and therefore harmless` },
96
+ { k: CFG.log_spam, sm: 6, comp: BoolField, label: "Log spam requests", helperText: md`Spam requests are *failed* requests that you probably don't want to see` },
97
{ k: CFG.track_ips, sm: 6, comp: BoolField, label: "Keep track of IPs",
98
parentProps: { display: 'flex', gap: 1 },
99
after: h(Btn, {
@@ -430,4 +430,4 @@ function parseLogLine(line: string, id: number) {
430
length: length === '-' ? undefined : Number(length),
431
extra: tryJson(tryJson(extra)) || undefined,
432
}
433
-}
\ No newline at end of file
433
+}
admin/src/VfsPage.ts
+1
-1
@@ -70,7 +70,7 @@ export default function VfsPage({ setTitleSide }: PageProps) {
70
}), [nothingShared, urls])
71
72
setTitleSide(useMemo(() => h(Box, { sx: { display: { xs: 'none', md: 'block' } } },
73
- h(Alert, { severity: 'info' }, "If you rename or delete here, it's virtual, and only affects what is presented to the users"),
73
+ h(Alert, { severity: 'info' }, "This is what your users will see. Edit it freely – files on disk won’t be changed."),
74
hintElement,
75
), [hintElement]))
76
frontend/src/UserPanel.ts
+1
-1
@@ -49,7 +49,7 @@ export async function changePassword(required=false) {
49
helperText: required && t('required_change_password', "You are required to change your password")
50
})
51
if (!pwd) return
52
- const check = await promptDialog(t('enter_pass2', "RE-enter same new password"), { type: 'password' })
52
+ const check = await promptDialog(t('enter_pass2', "Re-enter the same new password"), { type: 'password' })
53
if (!check) return
54
if (check !== pwd)
55
return alertDialog(t('pass2_mismatch', "The second password you entered did not match the first. Procedure aborted."), 'warning')
frontend/src/show.ts
+1
-1
@@ -411,7 +411,7 @@ function showHelp() {
411
"A": t`Auto-play`,
412
}, (v,k) => h('div', { key: k }, h('kbd', {}, t('showHelp_' + k, k)), ' ', v) ),
413
h('div', { style: { marginTop: '1em' } },
414
- t('showHelpListShortcut', { key: isMac ? 'SHIFT' : 'WIN' }, "From the file list, click holding {key} to show")
414
+ t('showHelpListShortcut', { key: isMac ? 'SHIFT' : 'WIN' }, "From the file list, click while holding {key} to Show")
415
)
416
)
417
})
src/langs/hfs-lang-en.json
+2
-2
@@ -44,7 +44,7 @@
44
"User panel": "User panel",
45
"Change password": "Change password",
46
"enter_pass": "Enter new password",
47
- "enter_pass2": "RE-enter same new password",
47
+ "enter_pass2": "Re-enter the same new password",
48
"pass2_mismatch": "The second password you entered did not match the first. Procedure aborted.",
49
"password_changed": "Password changed",
50
"Logout": "Logout",
@@ -156,7 +156,7 @@
156
"go_last": "Go to last item",
157
"Shuffle": "Shuffle",
158
"Repeat": "Repeat",
159
- "showHelpListShortcut": "From the file list, click holding {key} to Show quickly",
159
+ "showHelpListShortcut": "From the file list, click while holding {key} to Show",
160
"Invalid value": "Invalid value",
161
"upload_skipped": "{n} skipped",
162
"Overwrite policy": "Overwrite policy",