Fix typos on customer details page (#1659)

* Fix typos on customer details page

* update tests

* Update tests
This commit is contained in:
Wojciech Mista 2021-12-08 12:20:59 +01:00 committed by GitHub
parent f78d5fcc5d
commit e875b02adc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 27 deletions

View file

@ -2701,13 +2701,13 @@
"context": "note about customer",
"string": "Note"
},
"src_dot_customers_dot_components_dot_CustomerInfo_dot_252313757": {
"context": "customer informations, header",
"string": "Personal Informations"
},
"src_dot_customers_dot_components_dot_CustomerInfo_dot_778526801": {
"src_dot_customers_dot_components_dot_CustomerInfo_dot_2312694610": {
"context": "customer contact section, header",
"string": "Contact Informations"
"string": "Contact Information"
},
"src_dot_customers_dot_components_dot_CustomerInfo_dot_4121042904": {
"context": "account information, header",
"string": "Account Information"
},
"src_dot_customers_dot_components_dot_CustomerListPage_dot_1643417013": {
"string": "Search Customer"

View file

@ -49,8 +49,8 @@ const CustomerInfo: React.FC<CustomerInfoProps> = props => {
<CardTitle
title={
<FormattedMessage
defaultMessage="Personal Informations"
description="customer informations, header"
defaultMessage="Account Information"
description="account information, header"
/>
}
/>
@ -85,7 +85,7 @@ const CustomerInfo: React.FC<CustomerInfoProps> = props => {
<Hr className={classes.hr} />
<Typography className={classes.sectionHeader}>
<FormattedMessage
defaultMessage="Contact Informations"
defaultMessage="Contact Information"
description="customer contact section, header"
/>
</Typography>

View file

@ -47164,6 +47164,7 @@ exports[`Storyshots Views / Authentication / Log in default 1`] = `
Forgot password?
<a
class="LoginCard-link-id"
data-test-id="reset-password-link"
>
Use this link to recover it
</a>
@ -47320,6 +47321,7 @@ exports[`Storyshots Views / Authentication / Log in disabled 1`] = `
Forgot password?
<a
class="LoginCard-link-id"
data-test-id="reset-password-link"
>
Use this link to recover it
</a>
@ -47484,6 +47486,7 @@ exports[`Storyshots Views / Authentication / Log in error 1`] = `
Forgot password?
<a
class="LoginCard-link-id"
data-test-id="reset-password-link"
>
Use this link to recover it
</a>
@ -47623,6 +47626,7 @@ exports[`Storyshots Views / Authentication / Reset password default 1`] = `
/>
<button
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id ResetPasswordPage-submit-id MuiButton-containedPrimary-id"
data-test="submit"
tabindex="0"
type="submit"
>
@ -47708,6 +47712,7 @@ exports[`Storyshots Views / Authentication / Reset password error 1`] = `
/>
<button
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id ResetPasswordPage-submit-id MuiButton-containedPrimary-id"
data-test="submit"
tabindex="0"
type="submit"
>
@ -47785,6 +47790,7 @@ exports[`Storyshots Views / Authentication / Reset password loading 1`] = `
/>
<button
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id ResetPasswordPage-submit-id MuiButton-containedPrimary-id MuiButton-disabled-id MuiButtonBase-disabled-id"
data-test="submit"
disabled=""
tabindex="-1"
type="submit"
@ -77160,7 +77166,7 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<span
class="MuiTypography-root-id CardTitle-title-id MuiTypography-h5-id"
>
Personal Informations
Account Information
</span>
<div
class="CardTitle-toolbar-id"
@ -77256,7 +77262,7 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<div
class="MuiTypography-root-id CustomerInfo-sectionHeader-id MuiTypography-body1-id"
>
Contact Informations
Contact Information
</div>
<div
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
@ -77851,7 +77857,7 @@ exports[`Storyshots Views / Customers / Customer details different addresses 1`]
<span
class="MuiTypography-root-id CardTitle-title-id MuiTypography-h5-id"
>
Personal Informations
Account Information
</span>
<div
class="CardTitle-toolbar-id"
@ -77947,7 +77953,7 @@ exports[`Storyshots Views / Customers / Customer details different addresses 1`]
<div
class="MuiTypography-root-id CustomerInfo-sectionHeader-id MuiTypography-body1-id"
>
Contact Informations
Contact Information
</div>
<div
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
@ -78582,7 +78588,7 @@ exports[`Storyshots Views / Customers / Customer details form errors 1`] = `
<span
class="MuiTypography-root-id CardTitle-title-id MuiTypography-h5-id"
>
Personal Informations
Account Information
</span>
<div
class="CardTitle-toolbar-id"
@ -78688,7 +78694,7 @@ exports[`Storyshots Views / Customers / Customer details form errors 1`] = `
<div
class="MuiTypography-root-id CustomerInfo-sectionHeader-id MuiTypography-body1-id"
>
Contact Informations
Contact Information
</div>
<div
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
@ -79303,7 +79309,7 @@ exports[`Storyshots Views / Customers / Customer details loading 1`] = `
<span
class="MuiTypography-root-id CardTitle-title-id MuiTypography-h5-id"
>
Personal Informations
Account Information
</span>
<div
class="CardTitle-toolbar-id"
@ -79401,7 +79407,7 @@ exports[`Storyshots Views / Customers / Customer details loading 1`] = `
<div
class="MuiTypography-root-id CustomerInfo-sectionHeader-id MuiTypography-body1-id"
>
Contact Informations
Contact Information
</div>
<div
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
@ -79903,7 +79909,7 @@ exports[`Storyshots Views / Customers / Customer details never logged 1`] = `
<span
class="MuiTypography-root-id CardTitle-title-id MuiTypography-h5-id"
>
Personal Informations
Account Information
</span>
<div
class="CardTitle-toolbar-id"
@ -79999,7 +80005,7 @@ exports[`Storyshots Views / Customers / Customer details never logged 1`] = `
<div
class="MuiTypography-root-id CustomerInfo-sectionHeader-id MuiTypography-body1-id"
>
Contact Informations
Contact Information
</div>
<div
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
@ -80588,7 +80594,7 @@ exports[`Storyshots Views / Customers / Customer details never placed order 1`]
<span
class="MuiTypography-root-id CardTitle-title-id MuiTypography-h5-id"
>
Personal Informations
Account Information
</span>
<div
class="CardTitle-toolbar-id"
@ -80684,7 +80690,7 @@ exports[`Storyshots Views / Customers / Customer details never placed order 1`]
<div
class="MuiTypography-root-id CustomerInfo-sectionHeader-id MuiTypography-body1-id"
>
Contact Informations
Contact Information
</div>
<div
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
@ -81273,7 +81279,7 @@ exports[`Storyshots Views / Customers / Customer details no address at all 1`] =
<span
class="MuiTypography-root-id CardTitle-title-id MuiTypography-h5-id"
>
Personal Informations
Account Information
</span>
<div
class="CardTitle-toolbar-id"
@ -81369,7 +81375,7 @@ exports[`Storyshots Views / Customers / Customer details no address at all 1`] =
<div
class="MuiTypography-root-id CustomerInfo-sectionHeader-id MuiTypography-body1-id"
>
Contact Informations
Contact Information
</div>
<div
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
@ -81936,7 +81942,7 @@ exports[`Storyshots Views / Customers / Customer details no default billing addr
<span
class="MuiTypography-root-id CardTitle-title-id MuiTypography-h5-id"
>
Personal Informations
Account Information
</span>
<div
class="CardTitle-toolbar-id"
@ -82032,7 +82038,7 @@ exports[`Storyshots Views / Customers / Customer details no default billing addr
<div
class="MuiTypography-root-id CustomerInfo-sectionHeader-id MuiTypography-body1-id"
>
Contact Informations
Contact Information
</div>
<div
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
@ -82627,7 +82633,7 @@ exports[`Storyshots Views / Customers / Customer details no default shipping add
<span
class="MuiTypography-root-id CardTitle-title-id MuiTypography-h5-id"
>
Personal Informations
Account Information
</span>
<div
class="CardTitle-toolbar-id"
@ -82723,7 +82729,7 @@ exports[`Storyshots Views / Customers / Customer details no default shipping add
<div
class="MuiTypography-root-id CustomerInfo-sectionHeader-id MuiTypography-body1-id"
>
Contact Informations
Contact Information
</div>
<div
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"