Skip to content

Commit

Permalink
add missing spanish translations and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cdOut committed Mar 7, 2024
1 parent 0bb4372 commit 241fb85
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ export default {
},
error: {
requiredFirstName: 'Please input your first name to continue',
requiredLasttName: 'Please input your last name to continue',
requiredLastName: 'Please input your last name to continue',
},
},
personalDetails: {
Expand Down
23 changes: 15 additions & 8 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1253,10 +1253,24 @@ export default {
},
onboarding: {
welcome: '¡Bienvenido!',
welcomeVideo: {
title: 'Bienvenido a Expensify',
description: 'Recibir pago es tan fácil como enviar un mensaje.',
button: 'Vamos',
},
whatsYourName: '¿Cómo te llamas?',
purpose: {
title: "¿Qué quieres hacer hoy?",
[CONST.ONBOARDING_CHOICES.TRACK]: "Seguimiento del gasto empresarial en materia de impuestos",
[CONST.ONBOARDING_CHOICES.EMPLOYER]: "Que mi empleador me pague",
[CONST.ONBOARDING_CHOICES.MANAGE_TEAM]: "Gestionar los gastos de mi equipo",
[CONST.ONBOARDING_CHOICES.PERSONAL_SPEND]: "Seguimiento y presupuesto del gasto personal",
[CONST.ONBOARDING_CHOICES.CHAT_SPLIT]: "Chatea y divide facturas con amigos",
[CONST.ONBOARDING_CHOICES.LOOKING_AROUND]: "Estoy viendo solamente"
},
error: {
requiredFirstName: 'Por favor, ingresa tu primer nombre para continuar',
requiredLasttName: 'Por favor, ingresa tu apellido para continuar',
requiredLastName: 'Por favor, ingresa tu apellido para continuar',
},
},
personalDetails: {
Expand Down Expand Up @@ -2782,13 +2796,6 @@ export default {
selectSuggestedAddress: 'Por favor, selecciona una dirección sugerida o usa la ubicación actual.',
},
},
onboarding: {
welcomeVideo: {
title: 'Bienvenido a Expensify',
description: 'Recibir pago es tan fácil como enviar un mensaje.',
button: 'Vamos',
},
},
reportCardLostOrDamaged: {
report: 'Notificar la pérdida / daño de la tarjeta física',
screenTitle: 'Notificar la pérdida o deterioro de la tarjeta',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/OnboardingPersonalDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function OnboardingPersonalDetails({currentUserPersonalDetails}: OnboardingPerso

// Then we validate the last name field
if (values.lastName.length === 0) {
ErrorUtils.addErrorMessage(errors, 'lastName', 'onboarding.error.requiredLasttName');
ErrorUtils.addErrorMessage(errors, 'lastName', 'onboarding.error.requiredLastName');
}
if (!ValidationUtils.isValidDisplayName(values.lastName)) {
ErrorUtils.addErrorMessage(errors, 'lastName', 'personalDetails.error.hasInvalidCharacter');
Expand Down

0 comments on commit 241fb85

Please sign in to comment.