mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-25 02:52:11 +02:00
web/ProcessingQueueItem: localize the error code
& fix status text line break
This commit is contained in:
parent
bb177d8c81
commit
68e8b3369d
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user