diff options
author | metamuffin <metamuffin@disroot.org> | 2024-04-01 16:48:57 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-04-01 16:48:57 +0200 |
commit | 45529def628fd1562bef262312649b428bbdb0f7 (patch) | |
tree | 4d7e54e9d45bbf91c1fe2247bf379e0e879cd89b /client-web/source/download_stream.ts | |
parent | 5cd88136c70dc3aae12778180b7f1c2c568a00fc (diff) | |
download | keks-meet-45529def628fd1562bef262312649b428bbdb0f7.tar keks-meet-45529def628fd1562bef262312649b428bbdb0f7.tar.bz2 keks-meet-45529def628fd1562bef262312649b428bbdb0f7.tar.zst |
localization
Diffstat (limited to 'client-web/source/download_stream.ts')
-rw-r--r-- | client-web/source/download_stream.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client-web/source/download_stream.ts b/client-web/source/download_stream.ts index 7159725..330fcb2 100644 --- a/client-web/source/download_stream.ts +++ b/client-web/source/download_stream.ts @@ -4,11 +4,12 @@ Copyright (C) 2023 metamuffin <metamuffin.org> */ /// <reference lib="dom" /> +import { PO } from "./locale/mod.ts"; import { log } from "./logger.ts" import { send_sw_message, SW_ENABLED } from "./sw/client.ts" function FallbackStreamDownload(size: number, filename?: string, progress?: (position: number) => void) { - log({ scope: "*", warn: true }, "downloading to memory because serviceworker is not available") + log({ scope: "*", warn: true }, PO.warn_mem_download) let position = 0 let buffer = new Uint8Array(size) return { |