Skip to content

best way to save what you love

web/ProcessingQueueItem: localize the error code

wukko68e8b3369d46
diff --git a/web/src/components/queue/ProcessingQueueItem.svelte b/web/src/components/queue/ProcessingQueueItem.svelte
index 85d67fa5..b2a50b82 100644
--- a/web/src/components/queue/ProcessingQueueItem.svelte
+++ b/web/src/components/queue/ProcessingQueueItem.svelte
@@ -93,7 +93,7 @@
return formatFileSize(info.resultFile?.size);
case "error":
- return !retrying ? info.errorCode : $t("queue.state.retrying");
+ return !retrying ? $t(`error.${info.errorCode}`) : $t("queue.state.retrying");
case "waiting":
return $t("queue.state.waiting");
@@ -266,6 +266,10 @@
display: flex;
}
+ .status-text {
+ line-break: normal;
+ }
+
/*
margin is used instead of gap cuz queued state doesn't have an icon.
margin is applied only to the visible icon, so there's no awkward gap.