Skip to content

Commit

Permalink
[frontend] Rename 'Status' for 'Execution status' for the execution o…
Browse files Browse the repository at this point in the history
…f an inject (#1939)
  • Loading branch information
RomuDeuxfois authored Nov 28, 2024
1 parent eb0d6aa commit a20d4d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const AtomicTesting = () => {
gutterBottom
style={{ marginTop: 20 }}
>
{t('Status')}
{t('Execution status')}
</Typography>
<ItemStatus
isInject={true}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const AtomicTestingDetail: FunctionComponent<Props> = () => {
{injectResultOverviewOutput ? (
<Paper variant="outlined" classes={{ root: classes.paper }}>
<Typography variant="subtitle1" className={classes.header} gutterBottom>
{t('Status')}
{t('Execution status')}
</Typography>
{injectResultOverviewOutput.inject_status?.status_name
&& <ItemStatus isInject={true} status={injectResultOverviewOutput.inject_status?.status_name} label={t(injectResultOverviewOutput.inject_status?.status_name)} />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const InjectTestDetail: FunctionComponent<Props> = ({
{test ? (
<Paper variant="outlined" classes={{ root: classes.paper }}>
<Typography variant="subtitle1" className={classes.header} gutterBottom>
{t('Status')}
{t('Execution status')}
</Typography>
{test.status_name
&& <ItemStatus isInject={true} status={test.status_name} label={t(test.status_name)} />}
Expand Down
2 changes: 2 additions & 0 deletions openbas-front/src/utils/Localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -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é',
Expand Down Expand Up @@ -1624,6 +1625,7 @@ const i18n = {
'Start': '开始',
'Start now': '现在开始',
'Status': '状态',
'Execution status': '执行状态',
'Information': '信息',
'Control': '控制',
'Scheduled': '已计划',
Expand Down

0 comments on commit a20d4d6

Please sign in to comment.