Create invalid_char validators and apply to models

This commit is contained in:
J Guthrie 2018-11-04 18:28:27 +00:00
parent 64816e50b5
commit c2f23fea6a
25 changed files with 91 additions and 60 deletions

View file

@ -2134,9 +2134,6 @@ en:
return to profile: Return to profile
flash update success confirm needed: "User information updated successfully. Check your email for a note to confirm your new email address."
flash update success: "User information updated successfully."
leading whitespace: "has leading whitespace"
trailing whitespace: "has trailing whitespace"
invalid chars: "cannot contain invalid chars: %{invalid_chars}"
confirm:
heading: Check your email!
introduction_1: |
@ -2565,3 +2562,7 @@ en:
not_empty: "Redaction is not empty. Please un-redact all versions belonging to this redaction before destroying it."
flash: "Redaction destroyed."
error: "There was an error destroying this redaction."
validations:
leading whitespace: "has leading whitespace"
trailing whitespace: "has trailing whitespace"
invalid chars: "must not contain an invalid char: %{invalid_chars}"