From f67006e526bd11a5b717ce91813fea5be4479a5e Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Thu, 19 Sep 2019 09:41:02 +0200 Subject: [PATCH] changed fiscal name translation --- loopback/locale/es.json | 2 +- modules/client/back/models/client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/loopback/locale/es.json b/loopback/locale/es.json index 43b3c8177..b6c70be3a 100644 --- a/loopback/locale/es.json +++ b/loopback/locale/es.json @@ -103,7 +103,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", - "Value has an invalid format": "El valor tiene un formato incorrecto", + "The socialName 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 a85ef4751..49ab954d8 100644 --- a/modules/client/back/models/client.js +++ b/modules/client/back/models/client.js @@ -152,7 +152,7 @@ module.exports = Self => { } Self.validateBinded('socialName', isAlpha, { - message: 'Value has an invalid format' + message: 'The socialName has an invalid format' }); function isAlpha(value) {