From a20d4d69624fd5b4e76b08d393cb6574569977e7 Mon Sep 17 00:00:00 2001 From: Romuald Lemesle Date: Thu, 28 Nov 2024 10:12:59 +0100 Subject: [PATCH] [frontend] Rename 'Status' for 'Execution status' for the execution of an inject (#1939) --- .../components/atomic_testings/atomic_testing/AtomicTesting.tsx | 2 +- .../atomic_testings/atomic_testing/AtomicTestingDetail.tsx | 2 +- openbas-front/src/admin/components/injects/InjectTestDetail.tsx | 2 +- openbas-front/src/utils/Localization.js | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/openbas-front/src/admin/components/atomic_testings/atomic_testing/AtomicTesting.tsx b/openbas-front/src/admin/components/atomic_testings/atomic_testing/AtomicTesting.tsx index 704ba56d03..4ba01690b8 100644 --- a/openbas-front/src/admin/components/atomic_testings/atomic_testing/AtomicTesting.tsx +++ b/openbas-front/src/admin/components/atomic_testings/atomic_testing/AtomicTesting.tsx @@ -142,7 +142,7 @@ const AtomicTesting = () => { gutterBottom style={{ marginTop: 20 }} > - {t('Status')} + {t('Execution status')} = () => { {injectResultOverviewOutput ? ( - {t('Status')} + {t('Execution status')} {injectResultOverviewOutput.inject_status?.status_name && } diff --git a/openbas-front/src/admin/components/injects/InjectTestDetail.tsx b/openbas-front/src/admin/components/injects/InjectTestDetail.tsx index c6576572a7..e5ea730d35 100644 --- a/openbas-front/src/admin/components/injects/InjectTestDetail.tsx +++ b/openbas-front/src/admin/components/injects/InjectTestDetail.tsx @@ -94,7 +94,7 @@ const InjectTestDetail: FunctionComponent = ({ {test ? ( - {t('Status')} + {t('Execution status')} {test.status_name && } diff --git a/openbas-front/src/utils/Localization.js b/openbas-front/src/utils/Localization.js index bb44d87c3a..1ce570eac8 100644 --- a/openbas-front/src/utils/Localization.js +++ b/openbas-front/src/utils/Localization.js @@ -211,6 +211,7 @@ const i18n = { 'Start': 'Démarrer', 'Start now': 'Démarrer maintenant', 'Status': 'Statut', + 'Execution status': 'Execution statut', 'Information': 'Information', 'Control': 'Contrôle', 'Scheduled': 'Planifié', @@ -1624,6 +1625,7 @@ const i18n = { 'Start': '开始', 'Start now': '现在开始', 'Status': '状态', + 'Execution status': '执行状态', 'Information': '信息', 'Control': '控制', 'Scheduled': '已计划',