Skip to content

best way to save what you love

web/ProcessingQueueStub: static stub text

wukkoc9dfd6006822
diff --git a/web/i18n/en/queue.json b/web/i18n/en/queue.json
index f33aada8..0943ba6b 100644
--- a/web/i18n/en/queue.json
+++ b/web/i18n/en/queue.json
@@ -1,19 +1,16 @@
{
"title": "processing queue",
- "stub": "nothing here yet, just the two of us.\ntry {{ value }} something!",
- "stub.fetch": "downloading",
- "stub.remux": "remuxing",
+ "stub": "nothing here yet, just the two of us.\ntry downloading something!",
"state.waiting": "queued",
"state.retrying": "retrying",
-
"state.starting": "starting",
+
"state.starting.fetch": "starting downloading",
"state.starting.remux": "starting remuxing",
"state.starting.encode": "starting transcoding",
"state.running.remux": "remuxing",
"state.running.fetch": "downloading",
- "state.running.encode": "transcoding",
- "estimated_storage_usage": "estimated storage usage:"
+ "state.running.encode": "transcoding"
}
diff --git a/web/src/components/queue/ProcessingQueueStub.svelte b/web/src/components/queue/ProcessingQueueStub.svelte
index eb39dffa..82648491 100644
--- a/web/src/components/queue/ProcessingQueueStub.svelte
+++ b/web/src/components/queue/ProcessingQueueStub.svelte
@@ -1,19 +1,13 @@
<script lang="ts">
import { t } from "$lib/i18n/translations";
import Meowbalt from "$components/misc/Meowbalt.svelte";
-
- const stubActions = ["fetch", "remux"];
-
- const randomAction = () => {
- return stubActions[Math.floor(Math.random() * stubActions.length)];
- };
</script>
<div class="queue-stub">
<Meowbalt emotion="think" />
<span class="subtext stub-text">
{$t("queue.stub", {
- value: $t(`queue.stub.${randomAction()}`),
+ value: $t("queue.stub"),
})}
</span>
</div>