mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-28 04:20:12 +02:00
web/ProcessingQueueStub: static stub text
This commit is contained in:
parent
1ef8391639
commit
c9dfd60068
@ -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"
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user