diff --git a/public/locales/de.json b/public/locales/de.json index 51bbc782..5e6d31bd 100644 --- a/public/locales/de.json +++ b/public/locales/de.json @@ -451,6 +451,7 @@ "log": "Protokoll" }, "empty_output": "Die Ausgabe ist leer.", + "loading": "Ausführung läuft. Extrahierte Daten werden nach Abschluss des Durchlaufs hier angezeigt.", "captured_data": { "title": "Erfasste Daten", "download_json": "Als JSON herunterladen", diff --git a/public/locales/en.json b/public/locales/en.json index a7843bd0..1ce7e920 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -462,6 +462,7 @@ "log": "Log" }, "empty_output": "The output is empty.", + "loading": "Run in progress. Extracted data will appear here once run completes.", "captured_data": { "title": "Captured Data", "download_json": "Download as JSON", diff --git a/public/locales/es.json b/public/locales/es.json index 78e5a9d4..184a9f73 100644 --- a/public/locales/es.json +++ b/public/locales/es.json @@ -452,6 +452,7 @@ "log": "Registro" }, "empty_output": "La salida está vacía.", + "loading": "Ejecución en curso. Los datos extraídos aparecerán aquí una vez que se complete la ejecución.", "captured_data": { "title": "Datos Capturados", "download_json": "Descargar como JSON", diff --git a/public/locales/ja.json b/public/locales/ja.json index fc88abac..313af2e5 100644 --- a/public/locales/ja.json +++ b/public/locales/ja.json @@ -452,6 +452,7 @@ "log": "ログ" }, "empty_output": "出力は空です。", + "loading": "実行中です。実行が完了すると、抽出されたデータがここに表示されます。", "captured_data": { "title": "キャプチャされたデータ", "download_json": "JSONとしてダウンロード", diff --git a/public/locales/zh.json b/public/locales/zh.json index 1c45464b..57bc7945 100644 --- a/public/locales/zh.json +++ b/public/locales/zh.json @@ -452,6 +452,7 @@ "log": "日志" }, "empty_output": "输出为空。", + "loading": "运行中。运行完成后,提取的数据将显示在此处。", "captured_data": { "title": "捕获的数据", "download_json": "下载为JSON", diff --git a/src/components/run/RunContent.tsx b/src/components/run/RunContent.tsx index fa181319..cb3b63a6 100644 --- a/src/components/run/RunContent.tsx +++ b/src/components/run/RunContent.tsx @@ -1,4 +1,4 @@ -import { Box, Tabs, Typography, Tab, Paper, Button } from "@mui/material"; +import { Box, Tabs, Typography, Tab, Paper, Button, CircularProgress } from "@mui/material"; import Highlight from "react-highlight"; import * as React from "react"; import { Data } from "./RunsTable"; @@ -148,9 +148,15 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe : null} - {!row || !row.serializableOutput || !row.binaryOutput + {interpretationInProgress ? ( + + + {t('run_content.loading')} + + ) : (!row || !row.serializableOutput || !row.binaryOutput || (Object.keys(row.serializableOutput).length === 0 && Object.keys(row.binaryOutput).length === 0) - ? {t('run_content.empty_output')} : null} + ? {t('run_content.empty_output')} + : null)} {row.serializableOutput && Object.keys(row.serializableOutput).length !== 0 &&