mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-29 13:00:12 +02:00
web/ProcessingQueueStub: static stub text
This commit is contained in:
parent
1ef8391639
commit
c9dfd60068
@ -1,19 +1,16 @@
|
|||||||
{
|
{
|
||||||
"title": "processing queue",
|
"title": "processing queue",
|
||||||
"stub": "nothing here yet, just the two of us.\ntry {{ value }} something!",
|
"stub": "nothing here yet, just the two of us.\ntry downloading something!",
|
||||||
"stub.fetch": "downloading",
|
|
||||||
"stub.remux": "remuxing",
|
|
||||||
|
|
||||||
"state.waiting": "queued",
|
"state.waiting": "queued",
|
||||||
"state.retrying": "retrying",
|
"state.retrying": "retrying",
|
||||||
|
|
||||||
"state.starting": "starting",
|
"state.starting": "starting",
|
||||||
|
|
||||||
"state.starting.fetch": "starting downloading",
|
"state.starting.fetch": "starting downloading",
|
||||||
"state.starting.remux": "starting remuxing",
|
"state.starting.remux": "starting remuxing",
|
||||||
"state.starting.encode": "starting transcoding",
|
"state.starting.encode": "starting transcoding",
|
||||||
|
|
||||||
"state.running.remux": "remuxing",
|
"state.running.remux": "remuxing",
|
||||||
"state.running.fetch": "downloading",
|
"state.running.fetch": "downloading",
|
||||||
"state.running.encode": "transcoding",
|
"state.running.encode": "transcoding"
|
||||||
"estimated_storage_usage": "estimated storage usage:"
|
|
||||||
}
|
}
|
||||||
|
@ -1,19 +1,13 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { t } from "$lib/i18n/translations";
|
import { t } from "$lib/i18n/translations";
|
||||||
import Meowbalt from "$components/misc/Meowbalt.svelte";
|
import Meowbalt from "$components/misc/Meowbalt.svelte";
|
||||||
|
|
||||||
const stubActions = ["fetch", "remux"];
|
|
||||||
|
|
||||||
const randomAction = () => {
|
|
||||||
return stubActions[Math.floor(Math.random() * stubActions.length)];
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="queue-stub">
|
<div class="queue-stub">
|
||||||
<Meowbalt emotion="think" />
|
<Meowbalt emotion="think" />
|
||||||
<span class="subtext stub-text">
|
<span class="subtext stub-text">
|
||||||
{$t("queue.stub", {
|
{$t("queue.stub", {
|
||||||
value: $t(`queue.stub.${randomAction()}`),
|
value: $t("queue.stub"),
|
||||||
})}
|
})}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user