Bug #353 El error de usuario web repetido es confuso
This commit is contained in:
parent
66a7cbb998
commit
4044b13175
|
@ -7,7 +7,7 @@
|
|||
"Can't be blank": "Can't be blank",
|
||||
"Invalid TIN": "Invalid TIN",
|
||||
"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",
|
||||
"Quantity cannot be zero": "Quantity cannot be zero",
|
||||
"Enter an integer different to zero": "Enter an integer different to zero",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"Can't be blank": "No puede estar en blanco",
|
||||
"Invalid TIN": "DNI Incorrecto",
|
||||
"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",
|
||||
"Quantity cannot be zero": "La cantidad no puede ser cero",
|
||||
"Enter an integer different to zero": "Introduce un entero distinto de cero",
|
||||
|
|
|
@ -4,7 +4,7 @@ module.exports = Self => {
|
|||
// Validations
|
||||
|
||||
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) => {
|
||||
|
|
Loading…
Reference in New Issue