diff options
Diffstat (limited to 'client-web/source/resource/file.ts')
-rw-r--r-- | client-web/source/resource/file.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client-web/source/resource/file.ts b/client-web/source/resource/file.ts index 4bd92ed..6d6b218 100644 --- a/client-web/source/resource/file.ts +++ b/client-web/source/resource/file.ts @@ -53,7 +53,7 @@ export const resource_file: ResourceHandlerDecl = { }, cancel() { channel.close() - log({ scope: "*", warn: true }, "download stream aborted") + log({ scope: "*", warn: true }, tr("res.file.download_aborted")) reset() } } @@ -70,7 +70,7 @@ export const resource_file: ResourceHandlerDecl = { channel.onclose = _ev => { log("dc", `${user.display_name}: channel closed`); if (!finished) { - log({ warn: true, scope: "dc" }, "transfer failed"); + log({ warn: true, scope: "dc" }, tr("res.file.download_failed")); download.abort() } else { download.close() |