Skip to content

Commit ded0569

Browse files
authored
[frontend]Remove unnecessary spaces in en.json
Closes #2526
1 parent 408f0bd commit ded0569

File tree

7 files changed

+14
-19
lines changed

7 files changed

+14
-19
lines changed

openbas-front/src/admin/components/assets/endpoints/EndpointPopover.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const EndpointPopover: FunctionComponent<EndpointPopoverProps> = ({
164164
open={deletion}
165165
handleClose={() => setDeletion(false)}
166166
handleSubmit={submitDelete}
167-
text={`${t('Do you want to delete the endpoint:')} ${endpoint.asset_name} ?`}
167+
text={`${t('Do you want to delete the endpoint:')} ${endpoint.asset_name}?`}
168168
/>
169169
</>
170170
);

openbas-front/src/admin/components/components/reports/ReportPopover.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const ReportPopover: FunctionComponent<Props> = ({
6464
open={openDelete}
6565
handleClose={() => setOpenDelete(false)}
6666
handleSubmit={submitDelete}
67-
text={t('Do you want to delete this report ?')}
67+
text={t('Do you want to delete this report?')}
6868
/>
6969
</>
7070
);

openbas-front/src/admin/components/settings/data_ingestion/XlsMapperPopover.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const XlsMapperPopover: FunctionComponent<Props> = ({
122122
open={openDelete}
123123
handleClose={handleCloseDelete}
124124
handleSubmit={submitDelete}
125-
text={t('Do you want to delete this XLS mapper ?')}
125+
text={t('Do you want to delete this XLS mapper?')}
126126
/>
127127
</>
128128
);

openbas-front/src/components/common/DialogApplyTagRule.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ const DialogApplyTagRule: FunctionComponent<DialogDeleteProps> = ({
3737
{t('ASSET RULE DETECTED')}
3838
</DialogTitle>
3939
<DialogContentText>
40-
{t('We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects ?',
41-
{ assetrule: <Link to="/admin/settings/asset_rules" target="_blank" rel="noreferrer">{t('asset rule')}</Link> }) }
40+
{t('We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects?',
41+
{ assetrule: <Link to="/admin/settings/asset_rules" target="_blank" rel="noreferrer">{t('asset rule')}</Link> })}
4242
</DialogContentText>
4343
</DialogContent>
4444
<DialogActions>

openbas-front/src/utils/lang/en.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
"Do you want to browse this external link?": "Do you want to browse this external link?",
333333
"Do you want to change the status of this simulation?": "Do you want to change the status of this simulation?",
334334
"Do you want to delete the asset group ?": "Do you want to delete the asset group ?",
335-
"Do you want to delete the endpoint ?": "Do you want to delete the endpoint ?",
335+
"Do you want to delete the endpoint?": "Do you want to delete the endpoint?",
336336
"Do you want to delete the endpoint:": "Do you want to delete the endpoint:",
337337
"Do you want to delete the scenario?": "Do you want to delete the scenario?",
338338
"Do you want to delete the security platform?": "Do you want to delete the security platform ?",
@@ -362,7 +362,6 @@
362362
"Do you want to delete this payload: ": "Do you want to delete this payload: ",
363363
"Do you want to delete this player?": "Do you want to delete this player?",
364364
"Do you want to delete this poll?": "Do you want to delete this poll?",
365-
"Do you want to delete this report ?": "Do you want to delete this report ?",
366365
"Do you want to delete this report?": "Do you want to delete this report?",
367366
"Do you want to delete this representation?": "Do you want to delete this representation?",
368367
"Do you want to delete this scenario:": "Do you want to delete this scenario:",
@@ -372,7 +371,7 @@
372371
"Do you want to delete this team?": "Do you want to delete this team?",
373372
"Do you want to delete this test?": "Do you want to delete this test?",
374373
"Do you want to delete this user?": "Do you want to delete this user?",
375-
"Do you want to delete this XLS mapper ?": "Do you want to delete this XLS mapper ?",
374+
"Do you want to delete this XLS mapper?": "Do you want to delete this XLS mapper?",
376375
"Do you want to disable this inject:": "Do you want to disable this inject: ",
377376
"Do you want to disable this inject?": "Do you want to disable this inject?",
378377
"Do you want to disable this team?": "Do you want to disable this team?",
@@ -1388,7 +1387,7 @@
13881387
"vulnerability-exploitation": "Vulnerability Exploitation",
13891388
"Waiting Response": "Waiting Response",
13901389
"Warning": "Warning",
1391-
"We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects ?": "We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects ?",
1390+
"We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects?": "We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects?",
13921391
"We would like thank your for your participation in this simulation. You are kindly requested to fill this lessons learned questionnaire: <a href='${lessons_uri}'>${lessons_uri}</a>.": "We would like thank your for your participation in this simulation. You are kindly requested to fill this lessons learned questionnaire: <a href='${lessons_uri}'>${lessons_uri}</a>.",
13931392
"Web Filtering": "Web Filtering",
13941393
"web-filtering": "Web Filtering",

openbas-front/src/utils/lang/fr.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
"Do you want to browse this external link?": "Voulez-vous consulter ce lien externe ?",
333333
"Do you want to change the status of this simulation?": "Souhaitez-vous changer le statut de cette simulation ?",
334334
"Do you want to delete the asset group ?": "Voulez-vous supprimer le groupe d'actifs ?",
335-
"Do you want to delete the endpoint ?": "Souhaitez-vous supprimer cet endpoint ?",
335+
"Do you want to delete the endpoint?": "Voulez-vous supprimer le point final ?",
336336
"Do you want to delete the endpoint:": "Voulez-vous supprimer le point de terminaison ?",
337337
"Do you want to delete the scenario?": "Voulez-vous supprimer ce scénario?",
338338
"Do you want to delete the security platform?": "Voulez-vous supprimer cette plateforme de sécurité ?",
@@ -362,7 +362,6 @@
362362
"Do you want to delete this payload: ": "Voulez-vous supprimer cette charge utile: ",
363363
"Do you want to delete this player?": "Souhaitez-vous supprimer ce joueur ?",
364364
"Do you want to delete this poll?": "Souhaitez-vous supprimer ce sondage ?",
365-
"Do you want to delete this report ?": "Voulez-vous supprimer ce rapport ?",
366365
"Do you want to delete this report?": "Souhaitez-vous supprimer ce rapport ?",
367366
"Do you want to delete this representation?": "Voulez-vous supprimer cette représentation ?",
368367
"Do you want to delete this scenario:": "Voulez-vous supprimer ce scénario : ",
@@ -372,7 +371,7 @@
372371
"Do you want to delete this team?": "Souhaitez-vous supprimer cette team ?",
373372
"Do you want to delete this test?": "Souhaitez-vous supprimer ce test?",
374373
"Do you want to delete this user?": "Souhaitez-vous supprimer cet utilisateur ?",
375-
"Do you want to delete this XLS mapper ?": "Voulez-vous supprimer ce mappage XLS ?",
374+
"Do you want to delete this XLS mapper?": "Voulez-vous supprimer ce mappeur XLS ?",
376375
"Do you want to disable this inject:": "Voulez-vous désactiver ce stimuli : ",
377376
"Do you want to disable this inject?": "Souhaitez-vous désactiver ce stimuli ?",
378377
"Do you want to disable this team?": "Souhaitez-vous désactiver cette équipe ?",
@@ -849,7 +848,6 @@
849848
"Obfuscator": "Obfuscateur",
850849
"Obfuscators": "Obfuscateurs",
851850
"Objective achievement evaluation": "Evaluation de l'atteinte de l'objectif",
852-
"Objective achievement evalution": "Evaluation de l'atteinte de l'objectif",
853851
"Objectives": "Objectifs",
854852
"of which": "dont",
855853
"on": "le",
@@ -1389,7 +1387,7 @@
13891387
"vulnerability-exploitation": "Exploitation des vulnérabilités",
13901388
"Waiting Response": "En attente",
13911389
"Warning": "Avertissement",
1392-
"We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects ?": "Nous avons détecté que votre changement déclenchera un {assetrule}. Souhaitez-vous appliquer les groupes d'actifs définis à vos injections existantes ?",
1390+
"We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects?": "Nous avons détecté que votre changement déclenchera un {assetrule}. Souhaitez-vous appliquer les groupes d'actifs définis à vos injections existantes ?",
13931391
"We would like thank your for your participation in this simulation. You are kindly requested to fill this lessons learned questionnaire: <a href='${lessons_uri}'>${lessons_uri}</a>.": "Nous souhaitons vous remercier pour votre participation à la simulation. Vous êtes cordialement invités à remplir le formulaire de retour d'expérience : <a href='${lessons_uri}'>${lessons_uri}</a>.",
13941392
"Web Filtering": "Filtrage web",
13951393
"web-filtering": "Filtrage web",

openbas-front/src/utils/lang/zh.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
"Do you want to browse this external link?": "您想浏览这个外部链接吗?",
333333
"Do you want to change the status of this simulation?": "你想要改变这个模拟状态么?",
334334
"Do you want to delete the asset group ?": "是否要刪除資產組?",
335-
"Do you want to delete the endpoint ?": "你想删除终端么?",
335+
"Do you want to delete the endpoint?": "您要删除端点吗?",
336336
"Do you want to delete the endpoint:": "你想删除端点吗?",
337337
"Do you want to delete the scenario?": "你想要删除场景么?",
338338
"Do you want to delete the security platform?": "是否要刪除安全平台?",
@@ -362,7 +362,6 @@
362362
"Do you want to delete this payload: ": "您要删除此有效负载吗:",
363363
"Do you want to delete this player?": "你想要删除这个选手么?",
364364
"Do you want to delete this poll?": "是否要删除此投票?",
365-
"Do you want to delete this report ?": "您想删除此报告吗?",
366365
"Do you want to delete this report?": "你想要删除这份报告么?",
367366
"Do you want to delete this representation?": "你想要删除这个代表么?",
368367
"Do you want to delete this scenario:": "你想删除这个场景么: ",
@@ -372,7 +371,7 @@
372371
"Do you want to delete this team?": "你想要删除这个团队么 ?",
373372
"Do you want to delete this test?": "是否要刪除此測試?",
374373
"Do you want to delete this user?": "你想要删除这个用户么 ?",
375-
"Do you want to delete this XLS mapper ?": "你想要删除 XLS映射么 ?",
374+
"Do you want to delete this XLS mapper?": "你想删除这个 XLS 映射器吗?",
376375
"Do you want to disable this inject:": "是否要禁用此注入:",
377376
"Do you want to disable this inject?": "你想要禁用这个注入么 ?",
378377
"Do you want to disable this team?": "你想要禁用这个团队么?",
@@ -849,7 +848,6 @@
849848
"Obfuscator": "混淆器",
850849
"Obfuscators": "混淆器",
851850
"Objective achievement evaluation": "目标完成评估",
852-
"Objective achievement evalution": "目标完成评估",
853851
"Objectives": "目标",
854852
"of which": "其中",
855853
"on": "关于",
@@ -1389,7 +1387,7 @@
13891387
"vulnerability-exploitation": "漏洞利用",
13901388
"Waiting Response": "等待响应",
13911389
"Warning": "警告",
1392-
"We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects ?": "我们检测到您的更改将触发 {assetrule}。您想在现有注入上应用已定义的资产组吗?",
1390+
"We detected that your change will trigger an {assetrule}. Would you like to apply the defined asset groups on your current existing injects?": "我们检测到您的更改将触发 {assetrule}。您想在现有注入上应用已定义的资产组吗?",
13931391
"We would like thank your for your participation in this simulation. You are kindly requested to fill this lessons learned questionnaire: <a href='${lessons_uri}'>${lessons_uri}</a>.": "感谢您参与此次模拟活动.请您填写这份经验教训调查问卷 : <a href='${lessons_uri}'>${lessons_uri}</a>.",
13941392
"Web Filtering": "web过滤",
13951393
"web-filtering": "web过滤",

0 commit comments

Comments
 (0)