diff --git a/web/i18n/en/button.json b/web/i18n/en/button.json
index 1ea7fb41..f066049e 100644
--- a/web/i18n/en/button.json
+++ b/web/i18n/en/button.json
@@ -16,5 +16,6 @@
"save": "save",
"export": "export",
"yes": "yes",
- "no": "no"
+ "no": "no",
+ "clear": "clear"
}
diff --git a/web/i18n/en/queue.json b/web/i18n/en/queue.json
new file mode 100644
index 00000000..f709b44b
--- /dev/null
+++ b/web/i18n/en/queue.json
@@ -0,0 +1,6 @@
+{
+ "title": "processing queue",
+ "stub": "nothing in the queue yet, only two of us.\ntry {{ value }} something!",
+ "stub.download": "downloading",
+ "stub.remux": "remuxing"
+}
diff --git a/web/src/components/queue/ProcessingQueue.svelte b/web/src/components/queue/ProcessingQueue.svelte
index 05ed6db7..9609ad5f 100644
--- a/web/src/components/queue/ProcessingQueue.svelte
+++ b/web/src/components/queue/ProcessingQueue.svelte
@@ -1,14 +1,15 @@
-
+
- {#each processingQueue as item}
+ {#each queueItems as [id, item]}
{/each}
- {#if processingQueue.length === 0}
-
-
- downloads will appear here!
-
+ {#if queueLength === 0}
+
{/if}
@@ -137,9 +121,10 @@
}
#processing-manager :global(#processing-popover) {
- padding: 16px;
max-width: 425px;
gap: 12px;
+ padding: 16px;
+ padding-bottom: 0;
}
#processing-header {
@@ -153,21 +138,30 @@
font-weight: 500;
}
- .clear-button {
+ .header-buttons {
+ display: flex;
+ flex-direction: row;
+ gap: var(--padding);
+ }
+
+ .header-buttons button {
font-size: 13px;
font-weight: 500;
- color: var(--red);
-
padding: 0;
background: none;
box-shadow: none;
+ text-align: left;
}
- .clear-button :global(svg) {
+ .header-buttons button :global(svg) {
height: 16px;
width: 16px;
}
+ .clear-button {
+ color: var(--red);
+ }
+
#processing-list {
display: flex;
flex-direction: column;
@@ -176,23 +170,6 @@
overflow: scroll;
}
- .list-stub {
- font-size: 13px;
- font-weight: 500;
- color: var(--gray);
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 25px;
- text-align: center;
- gap: var(--padding);
- }
-
- .list-stub :global(.meowbalt) {
- height: 120px;
- }
-
@media screen and (max-width: 535px) {
#processing-manager {
top: calc(env(safe-area-inset-top) - var(--padding) + 4px);
diff --git a/web/src/components/queue/ProcessingQueueItem.svelte b/web/src/components/queue/ProcessingQueueItem.svelte
index c0bc0e0f..a9114f7f 100644
--- a/web/src/components/queue/ProcessingQueueItem.svelte
+++ b/web/src/components/queue/ProcessingQueueItem.svelte
@@ -1,7 +1,9 @@
+
+
+
+
+ {$t("queue.stub", {
+ value: $t(`queue.stub.${randomAction()}`),
+ })}
+
+
+
+