better code
Massimo Melina committed
Mar 15, 2023 at 11:29 UTC
e77155b057ae7a7a7322d549bea4ea8452af3295
2 files changed
+4
-4
frontend/src/menu.ts
+3
-3
@@ -56,7 +56,7 @@ export function MenuPanel() {
56
id: 'select-button',
57
icon: 'check',
58
label: t`Select`,
59
- tooltip: t('select_tooltip', 0, `Selection applies to "Zip" and "Delete" (when available), but you can also filter the list`),
59
+ tooltip: t('select_tooltip', `Selection applies to "Zip" and "Delete" (when available), but you can also filter the list`),
60
toggled: showFilter,
61
onClick() {
62
state.showFilter = !showFilter
@@ -135,7 +135,7 @@ export function MenuPanel() {
135
label: t`Search`,
136
onClickAnimation: false,
137
async onClick() {
138
- state.remoteSearch = await promptDialog(t('search_msg', 0, `Search this folder and sub-folders`)) || ''
138
+ state.remoteSearch = await promptDialog(t('search_msg', "Search this folder and sub-folders")) || ''
139
}
140
}
141
}
@@ -200,7 +200,7 @@ function LoginButton() {
200
async function deleteFiles(uris: string[], root: string) {
201
const n = uris.length
202
if (!n) {
203
- alertDialog(t('delete_select', 0, `Select something to delete`)).then()
203
+ alertDialog(t('delete_select', "Select something to delete")).then()
204
return
205
}
206
if (!await confirmDialog(t('delete_confirm', {n}, "Delete {n,plural, one{# item} other{# items}}?"))) return
langs/hfs-lang-it.json
+1
-1
@@ -36,7 +36,7 @@
36
"Login": "Entra",
37
"Username": "Nome utente",
38
"Continue": "Avanti",
39
- "login_untrusted": "Login interrotto: il server non è affidabile",
39
+ "login_untrusted": "Login interrotto: server non affidabile",
40
"login_bad_credentials": "Nome utente o password non validi",
41
"login_bad_cookies": "Login interrotto: non funzionano i cookies",
42
"User panel": "Pannello utente",