From dc572a6e2e5b9ddce37362b8fcbdf6f39a4907cf Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 5 Jan 2022 16:23:58 +0100 Subject: [PATCH] Updated translations --- loopback/locale/es.json | 2 +- modules/client/back/models/client.js | 2 +- modules/supplier/back/models/supplier.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/loopback/locale/es.json b/loopback/locale/es.json index 2611ee0dd..3fdbd43d8 100644 --- a/loopback/locale/es.json +++ b/loopback/locale/es.json @@ -104,7 +104,7 @@ "Weekday cannot be blank": "El día de la semana no puede quedar en blanco", "You can't delete a confirmed order": "No puedes borrar un pedido confirmado", "Can't create stowaway for this ticket": "No se puede crear un polizon para este ticket", - "The socialName has an invalid format": "El nombre fiscal tiene un formato incorrecto", + "The social name has an invalid format": "El nombre fiscal tiene un formato incorrecto", "Invalid quantity": "Cantidad invalida", "This postal code is not valid": "This postal code is not valid", "is invalid": "is invalid", diff --git a/modules/client/back/models/client.js b/modules/client/back/models/client.js index bb6a8d863..3dc1e1f8d 100644 --- a/modules/client/back/models/client.js +++ b/modules/client/back/models/client.js @@ -223,7 +223,7 @@ module.exports = Self => { && orgData.isTaxDataChecked != isTaxDataChecked; if ((socialNameChanged || dataCheckedChanged) && !isAlpha(socialName)) - throw new UserError(`The socialName has an invalid format`); + throw new UserError(`The social name has an invalid format`); if (changes.salesPerson === null) { changes.credit = 0; diff --git a/modules/supplier/back/models/supplier.js b/modules/supplier/back/models/supplier.js index 1ac6e3bd2..c5c79f079 100644 --- a/modules/supplier/back/models/supplier.js +++ b/modules/supplier/back/models/supplier.js @@ -97,6 +97,6 @@ module.exports = Self => { && orgData.socialName != socialName; if ((socialNameChanged) && !isAlpha(socialName)) - throw new UserError('The socialName has an invalid format'); + throw new UserError('The social name has an invalid format'); }); };