Add validations for changing votation type
This commit is contained in:
@@ -629,6 +629,10 @@ en:
|
||||
attributes:
|
||||
code:
|
||||
invalid: "must start with the same code as its target followed by a dot and end with a number"
|
||||
votation_type:
|
||||
attributes:
|
||||
vote_type:
|
||||
cannot_change_to_open_ended: "can't change to open-ended type because you've already defined possible valid answers for this question"
|
||||
messages:
|
||||
translations_too_short: Is mandatory to provide one translation at least
|
||||
record_invalid: "Validation failed: %{errors}"
|
||||
|
||||
@@ -629,6 +629,10 @@ es:
|
||||
attributes:
|
||||
code:
|
||||
invalid: "debe empezar con el código de su meta seguido de un punto y terminar con un número"
|
||||
votation_type:
|
||||
attributes:
|
||||
vote_type:
|
||||
cannot_change_to_open_ended: "no se puede cambiar a respuesta abierta el tipo de votación porque ya has definido posibles respuestas válidas para esta pregunta"
|
||||
messages:
|
||||
translations_too_short: El obligatorio proporcionar una traducción como mínimo
|
||||
record_invalid: "Error de validación: %{errors}"
|
||||
|
||||
Reference in New Issue
Block a user