This commit is contained in:
dominik-zeglen 2019-10-21 16:32:35 +02:00
parent 64d448b9aa
commit 8e250348b8
3 changed files with 8 additions and 3 deletions

View file

@ -60,7 +60,7 @@ const ActionDialog = withStyles(styles, { name: "ActionDialog" })(
<DialogContent>{children}</DialogContent>
<DialogActions>
<Button onClick={onClose}>
<FormattedMessage {...buttonMessages.cancel} />
<FormattedMessage {...buttonMessages.back} />
</Button>
<ConfirmButton
transitionState={confirmButtonState}

View file

@ -121,7 +121,7 @@ export const SaveButtonBar = withStyles(styles, { name: "SaveButtonBar" })(
>
{maybe(
() => labels.cancel,
intl.formatMessage(buttonMessages.cancel)
intl.formatMessage(buttonMessages.back)
)}
</Button>
<ConfirmButton

View file

@ -69,6 +69,7 @@ const OrderCancelDialog = withStyles(styles, { name: "OrderCancelDialog" })(
<FormattedMessage
defaultMessage="Cancel Order"
description="dialog header"
id="OrderCancelDialogHeader"
/>
</DialogTitle>
<DialogContent>
@ -101,7 +102,11 @@ const OrderCancelDialog = withStyles(styles, { name: "OrderCancelDialog" })(
variant="contained"
type="submit"
>
<FormattedMessage {...buttonMessages.cancel} />
<FormattedMessage
defaultMessage="Cancel Order"
description="button"
id="OrderCancelDialogButton"
/>
</ConfirmButton>
</DialogActions>
</>