- Run Detail
+ {t("runDetail")}
Run ID: {run._id}
- Workflow: {run.workflowName ?? run.workflowDefinitionId}
- Status: {run.status}
+ {t("workflow")}: {run.workflowName ?? run.workflowDefinitionId}
+ {t("status")}: {translateStatus(run.status, t)}
- Input assets:{" "}
+ {t("inputAssets")}:{" "}
{(run.assetIds ?? []).length > 0
? run.assetIds.map((assetId: string) => assetId).join(", ")
- : "none"}
+ : t("none")}
- Started at: {run.startedAt ?? "n/a"}
- Finished at: {run.finishedAt ?? "n/a"}
- Run duration: {typeof run.durationMs === "number" ? `${run.durationMs} ms` : "n/a"}
- Run summary: {formatRunSummary(run)}
+ {t("startedAt")}: {run.startedAt ?? t("notAvailable")}
+ {t("finishedAt")}: {run.finishedAt ?? t("notAvailable")}
+ {t("runDuration")}: {typeof run.durationMs === "number" ? `${run.durationMs} ms` : t("notAvailable")}
+ {t("runSummary")}: {formatRunSummary(run, t)}
{run.status === "queued" || run.status === "running" ? (
) : null}
{run.status !== "queued" && run.status !== "running" ? (
@@ -879,18 +1061,18 @@ function RunDetailPage(props: {
window.history.pushState({}, "", `/runs/${retriedRun._id}`);
window.dispatchEvent(new PopStateEvent("popstate"));
} catch (actionError) {
- setError(actionError instanceof Error ? actionError.message : "Failed to retry run");
+ setError(actionError instanceof Error ? actionError.message : t("failedRetryRun"));
}
}}
>
- Retry Run
+ {t("retryRun")}
) : null}
-
Run Graph
+
{t("runGraph")}
{tasks.map((task) => (
{task.nodeId}
- {task.status}
+ {translateStatus(task.status, t)}
-
Node type: {task.nodeType}
-
Bound assets: {(task.assetIds ?? []).join(", ") || "none"}
+
{t("type")}: {task.nodeType}
+
{t("boundAssets")}: {(task.assetIds ?? []).join(", ") || t("none")}
))}