Bug #353 El error de usuario web repetido es confuso

This commit is contained in:
gerard 2018-07-06 08:18:55 +02:00
parent 66a7cbb998
commit 4044b13175
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
"Can't be blank": "Can't be blank", "Can't be blank": "Can't be blank",
"Invalid TIN": "Invalid TIN", "Invalid TIN": "Invalid TIN",
"TIN must be unique": "TIN must be unique", "TIN must be unique": "TIN must be unique",
"A user with that name already exists": "A user with that name already exists", "A client with that Web User name already exists": "A client with that Web User name already exists",
"Is invalid": "Is invalid", "Is invalid": "Is invalid",
"Quantity cannot be zero": "Quantity cannot be zero", "Quantity cannot be zero": "Quantity cannot be zero",
"Enter an integer different to zero": "Enter an integer different to zero", "Enter an integer different to zero": "Enter an integer different to zero",

View File

@ -7,7 +7,7 @@
"Can't be blank": "No puede estar en blanco", "Can't be blank": "No puede estar en blanco",
"Invalid TIN": "DNI Incorrecto", "Invalid TIN": "DNI Incorrecto",
"TIN must be unique": "El NIF/CIF debe ser único", "TIN must be unique": "El NIF/CIF debe ser único",
"A user with that name already exists": "Ya existe un usuario con ese nombre", "A client with that Web User name already exists": "Ya existe un cliente con ese Usuario Web",
"Is invalid": "Is invalid", "Is invalid": "Is invalid",
"Quantity cannot be zero": "La cantidad no puede ser cero", "Quantity cannot be zero": "La cantidad no puede ser cero",
"Enter an integer different to zero": "Introduce un entero distinto de cero", "Enter an integer different to zero": "Introduce un entero distinto de cero",

View File

@ -4,7 +4,7 @@ module.exports = Self => {
// Validations // Validations
Self.validatesUniquenessOf('name', { Self.validatesUniquenessOf('name', {
message: 'A user with that name already exists' message: `A client with that Web User name already exists`
}); });
Self.observe('before save', (ctx, next) => { Self.observe('before save', (ctx, next) => {