web/ProcessingQueueItem: localize the error code

& fix status text line break
This commit is contained in:
wukko 2025-05-14 14:58:22 +06:00
parent bb177d8c81
commit 68e8b3369d
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -93,7 +93,7 @@
return formatFileSize(info.resultFile?.size); return formatFileSize(info.resultFile?.size);
case "error": case "error":
return !retrying ? info.errorCode : $t("queue.state.retrying"); return !retrying ? $t(`error.${info.errorCode}`) : $t("queue.state.retrying");
case "waiting": case "waiting":
return $t("queue.state.waiting"); return $t("queue.state.waiting");
@ -266,6 +266,10 @@
display: flex; display: flex;
} }
.status-text {
line-break: normal;
}
/* /*
margin is used instead of gap cuz queued state doesn't have an icon. 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. margin is applied only to the visible icon, so there's no awkward gap.