web/ProcessingQueueItem: localize the error code
& fix status text line break
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user