Skip to content

Commit ead65c9

Browse files
authored
Swaped 'Yes / Cancel' to 'No / Yes' (#949)
1 parent 0f3aa94 commit ead65c9

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

packages/common-ui-web/src/components/BackdropDialog/BackdropDialog.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,6 @@ export function BackdropDialog({
4141
)}
4242
<div style={styles['message']}>{message}</div>
4343
<div style={styles['buttonsContainer']}>
44-
<Button
45-
variant='outline'
46-
primaryColor='primary-xlight'
47-
secondaryColor='background-dark'
48-
icon={confirmIcon}
49-
style={style.confirmButton}
50-
onClick={onConfirm}
51-
>
52-
{confirmLabel}
53-
</Button>
5444
<Button
5545
variant='outline'
5646
primaryColor='alert-light'
@@ -61,6 +51,16 @@ export function BackdropDialog({
6151
>
6252
{cancelLabel}
6353
</Button>
54+
<Button
55+
variant='outline'
56+
primaryColor='primary-xlight'
57+
secondaryColor='background-dark'
58+
icon={confirmIcon}
59+
style={style.confirmButton}
60+
onClick={onConfirm}
61+
>
62+
{confirmLabel}
63+
</Button>
6464
</div>
6565
</div>
6666
)}

packages/inspection-capture-web/src/translations/de.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"closeConfirm": {
2929
"message": "Sind Sie sicher, dass Sie das Erfassungstool schließen wollen?",
30-
"cancel": "Abbrechen",
30+
"cancel": "Nein",
3131
"confirm": "Ja"
3232
},
3333
"guidelines": {

packages/inspection-capture-web/src/translations/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"closeConfirm": {
2929
"message": "Are you sure you want to close the capture tool?",
30-
"cancel": "Cancel",
30+
"cancel": "No",
3131
"confirm": "Yes"
3232
},
3333
"guidelines": {

packages/inspection-capture-web/src/translations/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"closeConfirm": {
2929
"message": "Êtes-vous sûr(e) de vouloir fermer l'outil de capture ?",
30-
"cancel": "Annuler",
30+
"cancel": "Non",
3131
"confirm": "Oui"
3232
},
3333
"guidelines": {

packages/inspection-capture-web/src/translations/nl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"closeConfirm": {
2929
"message": "Weet je zeker dat je de capture tool wilt sluiten?",
30-
"cancel": "Annuleren",
30+
"cancel": "Nee",
3131
"confirm": "Ja"
3232
},
3333
"guidelines": {

0 commit comments

Comments
 (0)