Skip to content

Commit

Permalink
fix(storefront): BCTHEME-1185 fixed escaping on created store account…
Browse files Browse the repository at this point in the history
… confirm message (#2265)
  • Loading branch information
yurytut1993 authored Oct 25, 2022
1 parent 9fc6637 commit c54624b
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 19 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Draft
- Fixed escaping on created store account confirm message. [#2265]https://github.com/bigcommerce/cornerstone/pull/2265
- Migrate Cornerstone to new "Hide Price From Guests" functionality [#2262](https://github.com/bigcommerce/cornerstone/pull/2262)
- Add Accelerated buttons container into 'add to cart' popup on product details page [#2264](https://github.com/bigcommerce/cornerstone/pull/2264)
- Made PDP wallet buttons container hidden in cases when the product is not purchasable or out of stock [#2267](https://github.com/bigcommerce/cornerstone/pull/2267)
Expand Down
2 changes: 1 addition & 1 deletion lang/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Ny konto",
"created": {
"heading": "Din konto er blevet oprettet",
"intro": "Tak, fordi du oprettede din konto på {store_name}. Dine kontooplysninger er blevet sendt til <strong>{email}</strong>",
"intro": "Tak, fordi du oprettede din konto på {store_name}. Dine kontooplysninger er blevet sendt til {email}",
"continue": "Fortsæt med at handle"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Neues Konto",
"created": {
"heading": "Ihr Konto wurde erstellt",
"intro": "Vielen Dank, dass Sie ein Konto bei {store_name} erstellt haben. Ihre Kontodaten wurden per E-Mail an <strong>{email}</strong> geschickt",
"intro": "Vielen Dank, dass Sie ein Konto bei {store_name} erstellt haben. Ihre Kontodaten wurden per E-Mail an {email} geschickt",
"continue": "Weiter einkaufen"
},
"recaptcha_title": "Google reCAPTCHA"
Expand Down
2 changes: 1 addition & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
"heading": "New Account",
"created": {
"heading": "Your account has been created",
"intro": "Thank you for creating your account at {store_name}. Your account details have been emailed to <strong>{email}</strong>",
"intro": "Thank you for creating your account at {store_name}. Your account details have been emailed to {email}",
"continue": "Continue Shopping"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/es-419.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Cuenta nueva",
"created": {
"heading": "Se creó tu cuenta.",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a <strong>{email}</strong>",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a {email}",
"continue": "Seguir comprando"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/es-AR.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Cuenta nueva",
"created": {
"heading": "Se creó tu cuenta.",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a <strong>{email}</strong>",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a {email}",
"continue": "Seguir comprando"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/es-CL.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Cuenta nueva",
"created": {
"heading": "Se creó tu cuenta.",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a <strong>{email}</strong>",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a {email}",
"continue": "Seguir comprando"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/es-CO.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Cuenta nueva",
"created": {
"heading": "Se creó tu cuenta.",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a <strong>{email}</strong>",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a {email}",
"continue": "Seguir comprando"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/es-LA.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Cuenta nueva",
"created": {
"heading": "Se creó tu cuenta.",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a <strong>{email}</strong>",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a {email}",
"continue": "Seguir comprando"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/es-MX.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Cuenta nueva",
"created": {
"heading": "Se creó tu cuenta.",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a <strong>{email}</strong>",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a {email}",
"continue": "Seguir comprando"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/es-PE.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Cuenta nueva",
"created": {
"heading": "Se creó tu cuenta.",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a <strong>{email}</strong>",
"intro": "Gracias por crear su cuenta en {store_name}. Los detalles de su cuenta se enviaron por correo electrónico a {email}",
"continue": "Seguir comprando"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Cuenta nueva",
"created": {
"heading": "Se ha creado su cuenta",
"intro": "Gracias por crear su cuenta en {store_name}. Hemos enviado un correo electrónico con los detalles de su cuenta a <strong>{email}</strong>",
"intro": "Gracias por crear su cuenta en {store_name}. Hemos enviado un correo electrónico con los detalles de su cuenta a {email}",
"continue": "Seguir comprando"
},
"recaptcha_title": "reCAPTCHA de Google"
Expand Down
2 changes: 1 addition & 1 deletion lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Nouveau compte",
"created": {
"heading": "Votre compte a été créé",
"intro": "Nous vous remercions d'avoir créé un compte sur {store_name}. Les informations de votre compte ont été envoyées par e-mail à <strong>{email}</strong>",
"intro": "Nous vous remercions d'avoir créé un compte sur {store_name}. Les informations de votre compte ont été envoyées par e-mail à {email}",
"continue": "Continuer mes achats"
},
"recaptcha_title": "reCAPTCHA Google"
Expand Down
2 changes: 1 addition & 1 deletion lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Nuovo account",
"created": {
"heading": "Il tuo account è stato creato",
"intro": "Grazie per aver creato un account su {store_name}. I dettagli del tuo account sono stati inviati a <strong>{email}</strong>",
"intro": "Grazie per aver creato un account su {store_name}. I dettagli del tuo account sono stati inviati a {email}",
"continue": "Continua a fare acquisti"
},
"recaptcha_title": "Google reCAPTCHA"
Expand Down
2 changes: 1 addition & 1 deletion lang/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Nieuw account",
"created": {
"heading": "Uw account is aangemaakt",
"intro": "Bedankt voor het aanmaken van uw account bij {store_name}. Er is een e-mail met uw accountgegevens verstuurd naar <strong>{email}</strong>",
"intro": "Bedankt voor het aanmaken van uw account bij {store_name}. Er is een e-mail met uw accountgegevens verstuurd naar {email}",
"continue": "Verdergaan met winkelen"
},
"recaptcha_title": "Google-recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Ny konto",
"created": {
"heading": "Kontoen din er opprettet",
"intro": "Takk for at du opprettet en konto hos {store_name}. Kontodetaljene dine har blitt sendt til <strong>{email}</strong>",
"intro": "Takk for at du opprettet en konto hos {store_name}. Kontodetaljene dine har blitt sendt til {email}",
"continue": "Fortsett å handle"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion lang/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Nova conta",
"created": {
"heading": "Sua conta foi criada",
"intro": "Obrigado por criar sua conta em {store_name}. Os detalhes da sua conta foram enviados para o email <strong>{email}</strong>",
"intro": "Obrigado por criar sua conta em {store_name}. Os detalhes da sua conta foram enviados para o email {email}",
"continue": "Continuar comprando"
},
"recaptcha_title": "Recaptcha do Google"
Expand Down
2 changes: 1 addition & 1 deletion lang/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Nova conta",
"created": {
"heading": "Sua conta foi criada",
"intro": "Obrigado por criar sua conta em {store_name}. Os detalhes da sua conta foram enviados para o email <strong>{email}</strong>",
"intro": "Obrigado por criar sua conta em {store_name}. Os detalhes da sua conta foram enviados para o email {email}",
"continue": "Continuar comprando"
},
"recaptcha_title": "Recaptcha do Google"
Expand Down
2 changes: 1 addition & 1 deletion lang/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"heading": "Nytt konto",
"created": {
"heading": "Ditt konto har skapats",
"intro": "Tack för att du skapade ett konto på {store_name}. Dina kontouppgifter har skickats till <strong>{email}</strong>",
"intro": "Tack för att du skapade ett konto på {store_name}. Dina kontouppgifter har skickats till {email}",
"continue": "Fortsätt handla"
},
"recaptcha_title": "Google recaptcha"
Expand Down
2 changes: 1 addition & 1 deletion templates/pages/auth/account-created.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<section class="page">
<div class="page-content page-content--textCenter">
<h1 class="page-heading">{{lang 'create_account.created.heading'}}</h1>
<p>{{{lang 'create_account.created.intro' store_name=settings.store_name email=customer.email}}}</p>
<p>{{lang 'create_account.created.intro' store_name=settings.store_name email=customer.email}}</p>
<a class="button button--primary" href="{{create_account.continue_url}}">{{lang 'create_account.created.continue'}}</a>
</div>
</section>
Expand Down

0 comments on commit c54624b

Please sign in to comment.