aboutsummaryrefslogtreecommitdiff
path: root/client-web/source/download_stream.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-22 14:27:25 +0100
committermetamuffin <metamuffin@disroot.org>2025-03-22 14:27:25 +0100
commit5d4cb7864dc3ca19669877def6c298eb96d19b16 (patch)
tree92444bfd31c9080e8c09aa7368e3f6cb4156ed35 /client-web/source/download_stream.ts
parent2f5d47d21dfc308c1b930cf45e13b34445d3a8e5 (diff)
downloadkeks-meet-5d4cb7864dc3ca19669877def6c298eb96d19b16.tar
keks-meet-5d4cb7864dc3ca19669877def6c298eb96d19b16.tar.bz2
keks-meet-5d4cb7864dc3ca19669877def6c298eb96d19b16.tar.zst
new translation system
Diffstat (limited to 'client-web/source/download_stream.ts')
-rw-r--r--client-web/source/download_stream.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client-web/source/download_stream.ts b/client-web/source/download_stream.ts
index 330fcb2..cc8c16c 100644
--- a/client-web/source/download_stream.ts
+++ b/client-web/source/download_stream.ts
@@ -4,12 +4,12 @@
Copyright (C) 2023 metamuffin <metamuffin.org>
*/
/// <reference lib="dom" />
-import { PO } from "./locale/mod.ts";
+import { tr } from "./locale.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 }, PO.warn_mem_download)
+ log({ scope: "*", warn: true }, tr("warn.mem_download"))
let position = 0
let buffer = new Uint8Array(size)
return {