frontend: better english
Massimo Melina committed
Feb 12, 2023 at 20:40 UTC
9998e0497f5fb0b314585974ccf326ec506edbdc
2 files changed
+4
-4
frontend/src/dialog.ts
+1
-1
@@ -28,7 +28,7 @@ export async function promptDialog(msg: string, { def, type, ...rest }:PromptOpt
28
inp.value = def
29
},[])
30
return h('form', {},
31
- h('label', { htmlFor: 'input' }, msg),
31
+ h('label', { htmlFor: 'input' }, msg),
32
h('input', {
33
ref,
34
type,
frontend/src/menu.ts
+3
-3
@@ -35,7 +35,7 @@ export function MenuPanel() {
35
h(LoginButton),
36
h(MenuButton, {
37
icon: 'filter',
38
- label: "Filter list",
38
+ label: "Filter",
39
tooltip: "Show only elements matching text you type. Works on list already got from the server. Also enables selection of files, for selective \"Download zip\".",
40
toggled: showFilter,
41
onClick() {
@@ -99,9 +99,9 @@ export function MenuPanel() {
99
}
100
} : {
101
icon: 'search',
102
- label: "Search deep",
102
+ label: "Search",
103
async onClick() {
104
- state.remoteSearch = await promptDialog('Search for...') || ''
104
+ state.remoteSearch = await promptDialog("Search this folder and sub-folders") || ''
105
}
106
}
107
}