better english
Massimo Melina committed
Mar 18, 2023 at 18:33 UTC
24cd7633ed5154b6fb6569d88b64001f4d452f86
4 files changed
+10
-5
frontend/src/upload.ts
+7
-2
@@ -315,8 +315,13 @@ async function startUpload(f: File, to: string, resume=0) {
315
setTimeout(reloadList, 500) // workaround: reloading too quickly can meet the new file still with its temp name
316
reloadOnClose = false
317
if (!uploadDialogIsOpen)
318
- alertDialog(h('div', {}, t`Upload terminated`, h('div', {}, h(UploadStatus))), 'info')
319
- .finally(resetCounters)
318
+ alertDialog(
319
+ h('div', {},
320
+ t(['upload_concluded', "Upload terminated"], "Upload concluded:"),
321
+ h('div', {}, h(UploadStatus))
322
+ ),
323
+ 'info'
324
+ ).finally(resetCounters)
325
}
326
}
327
langs/hfs-lang-en.json
+1
-1
@@ -97,7 +97,7 @@
97
"Server error": "Server error",
98
99
"Upload": "Upload",
100
- "Upload terminated": "Upload terminated",
100
+ "upload_concluded": "Upload concluded:",
101
"upload_finished": "{n} finished ({size})",
102
"upload_errors": "{n} failed",
103
langs/hfs-lang-it.json
+1
-1
@@ -91,7 +91,7 @@
91
"Not found": "Non trovato",
92
"Server error": "Errore del server",
93
94
- "Upload terminated": "Upload concluso",
94
+ "upload_concluded": "Upload concluso",
95
"upload_finished": "{n,plural, one{# riuscito} other{# riusciti}} ({size})",
96
"upload_errors": "{n,plural, one{# fallito} other{# falliti}}",
97
langs/hfs-lang-ru.json
+1
-1
@@ -96,7 +96,7 @@
96
"Server error": "Ошибка сервера",
97
98
"Upload": "Загрузить",
99
- "Upload terminated": "Загрузка отменена",
99
+ "upload_concluded": "Загрузка отменена",
100
"upload_finished": "{n,plural, one{Загружен # файл} few{Загружено # файла} other{Загружено # файлов}} ({size})",
101
"upload_errors": "Не удалось загрузить {n,plural, one{# файл} few{# файла} other{# файлов}}",
102