]> git.openstreetmap.org Git - rails.git/blobdiff - config/locales/en.yml
Improve character validator error messages
[rails.git] / config / locales / en.yml
index d0b5596e875732388b6617001d9f9a1dc6166e17..a9370018aabba1ad6ddecff6fdd0f786c208f044 100644 (file)
@@ -2134,7 +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."
-      invalid_chars: "cannot contain invalid chars: %{invalid_chars}"
     confirm:
       heading: Check your email!
       introduction_1: |
@@ -2563,3 +2562,8 @@ 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_characters: "contains invalid characters"
+    url_characters: "contains special URL characters (%{characters})"