Skip to content

Commit

Permalink
[email protected] Adding ES, IE and IT translations (#2164)
Browse files Browse the repository at this point in the history
* [email protected] Adding ES, IE and IT translations

* [email protected] Rename it-it to it-IT

* [email protected] Rename it-it.js to it-IT.js

* [email protected] Update translations for ES and IT

* [email protected] Remove brackets in ES

Co-authored-by: Adam <[email protected]>
  • Loading branch information
adammorr and Adam authored Oct 21, 2022
1 parent 3219260 commit 39be219
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/components/pages/f-registration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

v3.7.2
------------------------------
*October 13, 2022*

### Changed
- Added translations for es-ES, en-IE and it-IT.

v3.7.1
------------------------------
*October 03, 2022*
Expand Down
2 changes: 1 addition & 1 deletion packages/components/pages/f-registration/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@justeat/f-registration",
"description": "Fozzie Registration Form Component",
"version": "3.7.1",
"version": "3.7.2",
"main": "dist/f-registration.umd.min.js",
"maxBundleSize": "70kB",
"files": [
Expand Down
62 changes: 62 additions & 0 deletions packages/components/pages/f-registration/src/tenants/en-IE.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
export default {
locale: 'en-IE',
genericErrorMessage: 'Unable to Create Account at this time',

navLinks: {
termsAndConditions: {
prefix: 'By creating an account you agree to our ',
suffix: '.',
text: 'Terms and Conditions',
url: '/info/terms-and-conditions'
},
privacyPolicy: {
prefix: 'Please read our ',
text: 'Privacy Policy',
url: '/info/privacy-policy'
},
cookiesPolicy: {
prefix: ' and ',
text: 'Cookie Policy',
url: '/info/cookies-policy',
suffix: '.'
},
login: {
text: 'Already on Just Eat?'
}
},

labels: {
createAccountTitle: 'Create account',
createAccountBtn: 'Create account',
firstName: 'First name',
lastName: 'Last name',
email: 'Email',
password: 'Password'
},

validationMessages: {
firstName: {
requiredError: 'Please include your first name',
maxLengthError: 'First name exceeds 50 characters',
invalidCharError: 'Your name can only contain letters, hyphens or apostrophes'
},

lastName: {
requiredError: 'Please include your last name',
maxLengthError: 'Last name exceeds 50 characters',
invalidCharError: 'Your last name can only contain letters, hyphens or apostrophes'
},

email: {
requiredError: 'Please include your email address',
maxLengthError: 'Email address exceeds 50 characters',
invalidEmailError: 'Please enter your email address correctly',
alreadyExistsError: 'Email address is already registered'
},

password: {
requiredError: 'Please enter a password',
minLengthError: 'Password is less than ten characters'
}
}
};
62 changes: 62 additions & 0 deletions packages/components/pages/f-registration/src/tenants/es-ES.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
export default {
locale: 'es-ES',
genericErrorMessage: 'No es posible crear una cuenta en este momento',

navLinks: {
termsAndConditions: {
prefix: 'Al crear una cuenta, aceptas nuestros ',
suffix: '.',
text: 'Términos y Condiciones',
url: '/info/terms-and-conditions'
},
privacyPolicy: {
prefix: 'Por favor, lee nuestra ',
text: 'Política de Privacidad',
url: '/info/privacy-policy'
},
cookiesPolicy: {
prefix: ' y ',
text: 'Política de Cookie',
url: '/info/cookies-policy',
suffix: '.'
},
login: {
text: '¿Ya formas parte de Just Eat?'
}
},

labels: {
createAccountTitle: 'Crear cuenta',
createAccountBtn: 'Crear cuenta',
firstName: 'Nombre',
lastName: 'Apellido',
email: 'Correo electrónico',
password: 'Contraseña'
},

validationMessages: {
firstName: {
requiredError: 'Por favor, introduce tu nombre',
maxLengthError: 'El nombre supera los 50 caracteres',
invalidCharError: 'Tu nombre solo puede tener letras, guiones o apóstrofes'
},

lastName: {
requiredError: 'Por favor, introduce tu apellido',
maxLengthError: 'El apellido supera los 50 caracteres',
invalidCharError: 'Tu apellido solo puede tener letras, guiones o apóstrofes'
},

email: {
requiredError: 'Por favor, introduce tu correo electrónico',
maxLengthError: 'El correo electrónico supera los 50 caracteres',
invalidEmailError: 'Por favor, introduce un correo electrónico válido',
alreadyExistsError: 'Este correo electrónico ya está registrado'
},

password: {
requiredError: 'Por favor, introduce una contraseña',
minLengthError: 'Tu contraseña debe tener al menos 10 caracteres'
}
}
};
62 changes: 62 additions & 0 deletions packages/components/pages/f-registration/src/tenants/it-IT.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
export default {
locale: 'it-IT',
genericErrorMessage: 'Al momento non è possibile creare un account',

navLinks: {
termsAndConditions: {
prefix: 'Creando un account, accetti i nostri ',
suffix: '.',
text: 'Termini e condizioni d\'uso',
url: '/info/terms-and-conditions'
},
privacyPolicy: {
prefix: 'Leggi la nostra informativa sulla ',
text: 'Privacy',
url: '/info/privacy-policy'
},
cookiesPolicy: {
prefix: ' e sui ',
text: 'Cookie',
url: '/info/cookies-policy',
suffix: '.'
},
login: {
text: 'Hai già un account?'
}
},

labels: {
createAccountTitle: 'Crea un account',
createAccountBtn: 'Crea un account',
firstName: 'Nome',
lastName: 'Cognome',
email: 'Email',
password: 'Password'
},

validationMessages: {
firstName: {
requiredError: 'Inserisci il tuo nome',
maxLengthError: 'Il nome supera 50 caratteri',
invalidCharError: 'Il tuo nome può contenere solo lettere, trattini o apostrofi'
},

lastName: {
requiredError: 'Inserisci il tuo cognome',
maxLengthError: 'Il cognome supera i 50 caratteri',
invalidCharError: 'Il tuo cognome può contenere solo lettere, trattini o apostrofi'
},

email: {
requiredError: 'Inserisci la tua email',
maxLengthError: 'L\'indirizzo email supera i 50 caratteri',
invalidEmailError: 'Si prega di inserire un indirizzo email valido',
alreadyExistsError: 'Indirizzo email già registrato'
},

password: {
requiredError: 'Inserisci una password',
minLengthError: 'La password deve essere composta da almeno 10 caratteri'
}
}
};

0 comments on commit 39be219

Please sign in to comment.