Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General templates fix #143

Merged
merged 1 commit into from
Oct 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/data/beyond/app-language-ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ export const LANGUAGE_CA = {
<strong>{{ replace(languageSheet.premessage, { '{{productLink}}': stockAlert.product.productLink, '{{name}}': stockAlert.product.name }) }}</strong><br><br>
<span style="font-size: 15px;">
{{ replace(languageSheet.messageHeader, { '{{firstName}}': stockAlert.user.firstName, '{{lastName}}': stockAlert.user.lastName }) }}<br><br>
{{ replace(languageSheet.messageBody1. { '{{name}}': stockAlert.product.name }) }}<br>
{{ replace(languageSheet.messageBody1, { '{{name}}': stockAlert.product.name }) }}<br>
{{ languageSheet.messageBody2 }}<br><br>
</span>
</td>
Expand Down
10 changes: 5 additions & 5 deletions src/app/data/beyond/app-language-de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const LANGUAGE_DE = {
<span style="font-size: 15px;">
{{ languageSheet.messageHeader }}<br><br>
{{ replace(languageSheet.messageBody1, { '{{ecommerceName}}': general.ecommerceName }) }}<br>
{{ repalce(languageSheet.messageBody2, { '{{lostPasswordLink}}': user.lostPasswordLink }) }}<br>
{{ replace(languageSheet.messageBody2, { '{{lostPasswordLink}}': user.lostPasswordLink }) }}<br>
{{ languageSheet.messageBody3 }}<br><br>
{{ replace(languageSheet.messageBody4, { '{{ecommerceName}}': general.ecommerceName, '{{ecommerceUrl}}': general.ecommerceUrl }) }}<br><br>
{{ replace(languageSheet.messageSignature, { '{{ecommerceName}}': general.ecommerceName }) }}
Expand All @@ -203,7 +203,7 @@ export const LANGUAGE_DE = {
messageBody1: "Wir bestätigen, dass Ihr Passwort geändert worden ist.",
messageBody2: "Notieren Sie sich Ihre Anmeldedaten an einem sicheren Ort, damit Sie sie bei Bedarf nachlesen können.",
messageBody3: "Wir hoffen, dass wir Sie bald in <a href='{{ecommerceUrl}}' style='color:#000'>{{ecommerceName}}</a>.",
messageSignature: Mit freundlichen Grüßen, das Team von {{ecommerceName}}"
messageSignature: "Mit freundlichen Grüßen, das Team von {{ecommerceName}}"
} %}
<tr>
<td style="padding: 20px 20px 20px 20px; color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 20px; text-align: center;">
Expand Down Expand Up @@ -772,7 +772,7 @@ export const LANGUAGE_DE = {
{% set languageSheet = {
premessage: "Informationen über den Rückgabeantrag",
messageHeader: "Hallo {{firstName}} {{lastName}},",
messageBody1: "Bitte beachten Sie, dass wir Ihren Antrag auf Rückerstattung erhalten haben der Bestellung' ~ first(sales.documentParents).documentNumber ~ '.",
messageBody1: "Bitte beachten Sie, dass wir Ihren Antrag auf Rückerstattung erhalten haben der Bestellung {{documentNumber}}.",
messageBody2: "Wenn Sie Fragen zu Ihrer Rücksendung oder einem anderen Problem haben, können Sie uns kontaktieren.",
messageSignature: "Mit freundlichen Grüßen, das Team von {{ecommerceName}}"
} %}
Expand Down Expand Up @@ -828,7 +828,7 @@ export const LANGUAGE_DE = {
premessage: "Überprüfung per E-Mail",
messageHeader: "Hallo {{firstName}} {{lastName}},",
messageBody1: "Vielen Dank für Ihre Anmeldung bei {{ecommerceUrl}}. Bitte aktivieren Sie Ihr Konto, indem Sie auf <a href='{{verifyAccountLink}}' style='color: #000;'>hier</a>.",
messageBody2: "Wir hoffen, dass wir Sie bald in <a href='{{ecommerceUrl}}' style='color: #000;'>{{ecommerceName}}</a>',
messageBody2: "Wir hoffen, dass wir Sie bald in <a href='{{ecommerceUrl}}' style='color: #000;'>{{ecommerceName}}</a>",
messageSignature: "Mit freundlichen Grüßen, das Team von {{ecommerceName}}"
} %}
<tr>
Expand Down Expand Up @@ -925,7 +925,7 @@ export const LANGUAGE_DE = {
subject: `{{ general.ecommerceName }} - Aktienzeichnung`,
html: `
{% set languageSheet = {
premessage: "Abonnement des Produktbestands <br><a href='{{productLink}}' style='color: #000;'>{{name}}</a>',
premessage: "Abonnement des Produktbestands <br><a href='{{productLink}}' style='color: #000;'>{{name}}</a>",
messageHeader: "Hallo {{firstName}} {{lastName}},",
messageBody1: "Sie haben Aktienwarnungen abonniert von {{name}}",
messageBody2: "Wenn wir diesen Artikel wieder erhalten, werden wir Sie sofort informieren, damit Sie ihn nicht verpassen.",
Expand Down
20 changes: 10 additions & 10 deletions src/app/data/beyond/app-language-en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export const LANGUAGE_EN = {
subject: `{{ general.ecommerceName }} - Thank you for signup`,
html: `
{% set languageSheet = {
premessage: 'Welcome to '{{ecommerceName}}'!',
messageHeader: "Hello {{firstName}} {{lastName}} ,",
premessage: "Welcome to {{ecommerceName}}!",
messageHeader: "Hello {{firstName}} {{lastName}},",
messageBody1: "We are pleased to inform you that your customer account in <a href='{{ecommerceUrl}}' style='color: #000;'>{{ecommerceName}}</a> has been successfully created.",
messageBody2: "Thanks to your customer account now you can update your profile and password, view your order history and other details that may be of your interest.",
messageBody3: "We hope to see you soon in <a href='{{ecommerceUrl}}' style='color: #000;'>{{ecommerceName}}</a>",
Expand All @@ -148,8 +148,8 @@ export const LANGUAGE_EN = {
subject: `{{ general.ecommerceName }} - Account deleted`,
html: `
{% set languageSheet = {
premessage: 'Confirmation deleted account',
messageHeader: "Hello {{firstName}} {{lastName}} ,",
premessage: "Confirmation deleted account",
messageHeader: "Hello {{firstName}} {{lastName}},",
messageBody: "As requested during your recent visit to {{ecommerceName}}, we confirm that your user account {{userEmail}} has been removed from our database.",
messageSignature: "The {{ecommerceName}} Team"
} %}
Expand All @@ -170,8 +170,8 @@ export const LANGUAGE_EN = {
subject: `{{ general.ecommerceName }} - Password recovery`,
html: `
{% set languageSheet = {
premessage: 'Password recovery',
messageHeader: "Hello {{firstName}} {{lastName}} ,",
premessage: "Password recovery",
messageHeader: "Hello {{firstName}} {{lastName}},",
messageBody1: "As requested during your recent visit to {{ecommerceName}}, here's your address to access the password recovery zone:",
messageBody2: "<a href='{{lostPasswordLink}}' style='color:#000'>Click here</a>",
messageBody3: "This link will only be valid for 24 hours from the time it is sent.",
Expand Down Expand Up @@ -199,7 +199,7 @@ export const LANGUAGE_EN = {
html: `
{% set languageSheet = {
premessage: "Password change",
messageHeader: "Hello {{firstName}} {{lastName}} ,",
messageHeader: "Hello {{firstName}} {{lastName}},",
messageBody1: "This email is to inform you that your customer account password has been changed.",
messageBody2: "Be sure to note your credentials in a safe place for future reference.",
messageBody3: "We hope to see you soon in <a href='{{ecommerceUrl}}' style='color:#000'>{{ecommerceName}}</a>.",
Expand Down Expand Up @@ -830,7 +830,7 @@ export const LANGUAGE_EN = {
html: `
{% set languageSheet = {
premessage: "Email verification",
messageHeader: "Hello {{firstName}} {{lastName}} ,",
messageHeader: "Hello {{firstName}} {{lastName}},",
messageBody1: "Thanks for registering on {{ecommerceUrl}}. Please, follow the link in order to verify your e-mail account: <a href='{{verifyAccountLink}}' style='color: #000;'>Click here</a>.",
messageBody2: "We hope to see you soon in <a href='{{ecommerceUrl}}' style='color:#000'>{{ecommerceName}}</a>.",
messageSignature: "The {{ecommerceName}} Team"
Expand All @@ -854,7 +854,7 @@ export const LANGUAGE_EN = {
html: `
{% set languageSheet = {
premessage: "Account activation",
messageHeader: "Hello {{firstName}} {{lastName}} ,",
messageHeader: "Hello {{firstName}} {{lastName}},",
messageBody1: "We are pleased to inform you that your customer account in {{general.ecommerceUrl}} has been successfully activated",
messageBody2: "You can view and modify all your details at any time by accessing this control panel: <a href='{{ecommerceUrl}}' style='color: #000;'>Edit your profile</a>",
messageBody3: "We hope to see you soon in <a href='{{ecommerceUrl}}' style='color:#000'>{{ecommerceName}}</a>.",
Expand Down Expand Up @@ -942,7 +942,7 @@ export const LANGUAGE_EN = {
<strong>{{ replace(languageSheet.premessage, { '{{productLink}}': stockAlert.product.productLink, '{{name}}': stockAlert.product.name }) }}</strong><br><br>
<span style="font-size: 15px;">
{{ replace(languageSheet.messageHeader, { '{{firstName}}': stockAlert.user.firstName, '{{lastName}}': stockAlert.user.lastName }) }}<br><br>
{{ replace(languageSheet.messageBody1. { '{{name}}': stockAlert.product.name }) }}<br>
{{ replace(languageSheet.messageBody1, { '{{name}}': stockAlert.product.name }) }}<br>
{{ languageSheet.messageBody2 }}<br><br>
</span>
</td>
Expand Down
18 changes: 9 additions & 9 deletions src/app/data/beyond/app-language-es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const LANGUAGE_ES = {
html: `
{% set languageSheet = {
premessage: "Confirmación de cuenta eliminada",
messageHeader: "Hola {{firstName}} {{lastName}},"
messageHeader: "Hola {{firstName}} {{lastName}},",
messageBody: "Conforme a lo solicitado durante tu reciente visita a {{ecommerceName}}, confirmamos que tu cuenta de usuario {{email}} ha sido eliminada de nuestra base de datos.",
messageSignature: "Atentamente, el equipo de {{ecommerceName}}"
} %}
Expand All @@ -171,7 +171,7 @@ export const LANGUAGE_ES = {
html: `
{% set languageSheet = {
premessage: "Recordar contraseña",
messageHeader: "Hola {{firstName}} {{lastName}},"
messageHeader: "Hola {{firstName}} {{lastName}},",
messageBody1: "Conforme a lo solicitado durante tu reciente visita a {{ecommerceName}}, aquí tienes tu dirección de acceso a la zona de recuperación de contraseña:",
messageBody2: "<a href='{{lostPasswordLink}}' style='color:#000'>Click aquí para recuperar contraseña</a>",
messageBody3: "Este enlace solamente será válido durante las 24 horas siguientes al momento de su envío.",
Expand Down Expand Up @@ -199,10 +199,10 @@ export const LANGUAGE_ES = {
html: `
{% set languageSheet = {
premessage: "Cambio de contraseña",
messageHeader: "Hola {{firstName}} {{lastName}},"
messageHeader: "Hola {{firstName}} {{lastName}},",
messageBody1: "Te confirmamos que tu contraseña ha sido modificada.",
messageBody2: "Asegúrate de anotar tus credenciales en un lugar seguro para futuras referencias.",
messageBody3: "Esperamos verte pronto en <a href='{{ecommerceUrl}}' style='color:#000'>{{ecommerceName}}</a>."
messageBody3: "Esperamos verte pronto en <a href='{{ecommerceUrl}}' style='color:#000'>{{ecommerceName}}</a>.",
messageSignature: "Atentamente, el equipo de {{ecommerceName}}"
} %}
<tr>
Expand Down Expand Up @@ -322,7 +322,7 @@ export const LANGUAGE_ES = {
{% set languageSheet = {
premessage: "Recomendación de producto",
messageHeader1: "Tu amigo/a {{name}} ({{email}}) te envía este producto que puede resultarte de interés.",
messageBody: "Si necesitas más información acerca de este producto puedes contactar con nosotros en <a href='{{ecommerceUrl}}' style='color: #000;'>"{{ecommerceName}}"</a>",
messageBody: "Si necesitas más información acerca de este producto puedes contactar con nosotros en <a href='{{ecommerceUrl}}' style='color: #000;'>{{ecommerceName}}</a>",
messageSignature: "Atentamente, el equipo de {{ecommerceName}}",
recommendedProducts: "Productos recomendados",
product: "Producto",
Expand Down Expand Up @@ -830,7 +830,7 @@ export const LANGUAGE_ES = {
html: `
{% set languageSheet = {
premessage: "Verificación de correo",
messageHeader: "Hola {{firstName}} {{lastName}},"
messageHeader: "Hola {{firstName}} {{lastName}},",
messageBody1: "Gracias por registrarte en {{ecommerceUrl}}. Por favor activa tu cuenta clicando <a href='{{verifyAccountLink}}' style='color: #000;'>aquí</a>.",
messageBody2: "Esperamos verte pronto en <a href='{{ecommerceUrl}}' style='color: #000;'>{{ecommerceName}}</a>",
messageSignature: "Atentamente, el equipo de {{ecommerceName}}"
Expand All @@ -854,7 +854,7 @@ export const LANGUAGE_ES = {
html: `
{% set languageSheet = {
premessage: "Activación de cuenta",
messageHeader: "Hola {{firstName}} {{lastName}},"
messageHeader: "Hola {{firstName}} {{lastName}},",
messageBody1: "Te notificamos que tu cuenta en {{ecommerceUrl}} ha sido activada correctamente.",
messageBody2: "Para ver tus datos y toda la información referente a tu cuenta accede a través del panel de control: <a href='{{ecommerceUrl}}' style='color: #000;'>Editar tu perfil</a>",
messageBody3: "Esperamos verte pronto en <a href='{{ecommerceUrl}}' style='color: #000;'>{{ecommerceName}}</a>",
Expand Down Expand Up @@ -924,7 +924,7 @@ export const LANGUAGE_ES = {
html: `
{% set languageSheet = {
premessage: "¡Bienvenido/a a <a href='{{blogLink}}' style='color: #000;'>{{blogName}}</a>!",
messageHeader: "Hola {{firstName}} {{lastName}},"
messageHeader: "Hola {{firstName}} {{lastName}},",
messageBody1: "Gracias por suscribirte a nuestro blog. Pronto recibirás los nuevos artículos por email, información sobre descuentos, promociones, regalos y datos de interés relativos a la actividad de la tienda online.",
messageBody2: "Esperamos verte pronto en <a href='{{ecommerceUrl}}' style='color: #000;'>{{ecommerceName}}</a>",
messageSignature: "Atentamente, el equipo de {{ecommerceName}}"
Expand Down Expand Up @@ -1060,7 +1060,7 @@ export const LANGUAGE_ES = {
<strong>{{ replace(languageSheet.premessage, { '{{productLink}}': stockAlert.product.productLink, '{{name}}': stockAlert.product.name }) }}</strong><br><br>
<span style="font-size: 15px;">
{{ replace(languageSheet.messageHeader, { '{{firstName}}': stockAlert.user.firstName, '{{lastName}}': stockAlert.user.lastName }) }}<br><br>
{{ replace(languageSheet.messageBody1. { '{{name}}': stockAlert.product.name }) }}<br>
{{ replace(languageSheet.messageBody1, { '{{name}}': stockAlert.product.name }) }}<br>
{{ languageSheet.messageBody2 }}<br><br>
</span>
</td>
Expand Down
4 changes: 2 additions & 2 deletions src/app/data/beyond/app-language-fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ export const LANGUAGE_FR = {
subject: `{{ general.ecommerceName }} - Souscription d\\'actions`,
html: `
{% set languageSheet = {
premessage: "Abonnement au stock de produits <br><a href='{{productLink}}' style='color: #000;'>{{name}}</a>,
premessage: "Abonnement au stock de produits <br><a href='{{productLink}}' style='color: #000;'>{{name}}</a>",
messageHeader: "Bonjour {{firstName}} {{lastName}},",
messageBody1: "Vous vous êtes abonné aux alertes boursières de {{name}}",
messageBody2: "Si nous recevons à nouveau cet article, nous vous en informerons immédiatement afin que vous ne le manquiez pas.",
Expand All @@ -942,7 +942,7 @@ export const LANGUAGE_FR = {
<strong>{{ replace(languageSheet.premessage, { '{{productLink}}': stockAlert.product.productLink, '{{name}}': stockAlert.product.name }) }}</strong><br><br>
<span style="font-size: 15px;">
{{ replace(languageSheet.messageHeader, { '{{firstName}}': stockAlert.user.firstName, '{{lastName}}': stockAlert.user.lastName }) }}<br><br>
{{ replace(languageSheet.messageBody1. { '{{name}}': stockAlert.product.name }) }}<br>
{{ replace(languageSheet.messageBody1, { '{{name}}': stockAlert.product.name }) }}<br>
{{ languageSheet.messageBody2 }}<br><br>
</span>
</td>
Expand Down
2 changes: 1 addition & 1 deletion src/app/data/beyond/app-language-it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ export const LANGUAGE_IT = {
<strong>{{ replace(languageSheet.premessage, { '{{productLink}}': stockAlert.product.productLink, '{{name}}': stockAlert.product.name }) }}</strong><br><br>
<span style="font-size: 15px;">
{{ replace(languageSheet.messageHeader, { '{{firstName}}': stockAlert.user.firstName, '{{lastName}}': stockAlert.user.lastName }) }}<br><br>
{{ replace(languageSheet.messageBody1. { '{{name}}': stockAlert.product.name }) }}<br>
{{ replace(languageSheet.messageBody1, { '{{name}}': stockAlert.product.name }) }}<br>
{{ languageSheet.messageBody2 }}<br><br>
</span>
</td>
Expand Down
8 changes: 4 additions & 4 deletions src/app/data/beyond/app-language-pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const LANGUAGE_PT = {
messageBody1: "Como solicitado durante a sua recente visita a {{ecommerceName}}, aqui está o seu endereço de acesso à área de recuperação de senha:",
messageBody2: "<a href='{{lostPasswordLink}}'style='color:#000'>Clique aqui para recuperar a senha</a>",
messageBody3: "Este link só será válido por 24 horas após o momento de sua entrega.",
messageBody4: "Esperamos vê-lo em breve em <a href='{{ecommerceUrl}}' style='color:#000'>"{{ecommerceName}}"</a>.",
messageBody4: "Esperamos vê-lo em breve em <a href='{{ecommerceUrl}}' style='color:#000'>{{ecommerceName}}</a>.",
messageSignature: "A equipa de {{ecommerceName}}"
} %}
<tr>
Expand All @@ -202,7 +202,7 @@ export const LANGUAGE_PT = {
messageHeader: "Olá {{firstName}} {{lastName}},",
messageBody1: "Confirmamos que a sua password foi modificada.",
messageBody2: "Recomendamos-lhe que conserve este email com os seus dados para que a sua futura compra seja mais fácil e rápida.",
messageBody3: "Esperamos vê-lo em breve em <a href='{{ecommerceUrl}}' style='color:#000'>"{{ecommerceName}}"</a>.",
messageBody3: "Esperamos vê-lo em breve em <a href='{{ecommerceUrl}}' style='color:#000'>{{ecommerceName}}</a>.",
messageSignature: "A equipa de {{ecommerceName}}"
} %}
<tr>
Expand Down Expand Up @@ -930,7 +930,7 @@ export const LANGUAGE_PT = {
html: `
{% set languageSheet = {
premessage: "Assinatura de estoque de produtos <br><a href='{{productLink}}' style='color: #000;'>{{name}}</a>",
messageHeader: 'Olá {{firstName}} {{lastName}},',
messageHeader: "Olá {{firstName}} {{lastName}},",
messageBody1: "Você se inscreveu nos anúncios de ações da {{name}}",
messageBody2: "Caso recebamos este artigo novamente iremos notificá-lo imediatamente para que ele não escape.",
product: "Produto",
Expand All @@ -942,7 +942,7 @@ export const LANGUAGE_PT = {
<strong>{{ replace(languageSheet.premessage, { '{{productLink}}': stockAlert.product.productLink, '{{name}}': stockAlert.product.name }) }}</strong><br><br>
<span style="font-size: 15px;">
{{ replace(languageSheet.messageHeader, { '{{firstName}}': stockAlert.user.firstName, '{{lastName}}': stockAlert.user.lastName }) }}<br><br>
{{ replace(languageSheet.messageBody1. { '{{name}}': stockAlert.product.name }) }}<br>
{{ replace(languageSheet.messageBody1, { '{{name}}': stockAlert.product.name }) }}<br>
{{ languageSheet.messageBody2 }}<br><br>
</span>
</td>
Expand Down
Loading