]> git.openstreetmap.org Git - rails.git/blobdiff - config/locales/en.yml
Converted invalid_chars validator to use locale
[rails.git] / config / locales / en.yml
index d0b5596e875732388b6617001d9f9a1dc6166e17..112f3a207a56e3496a4d91418b24a5abe4a326a9 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_chars: "contains invalid chars"
+    invalid_url_chars: "must not contain an invalid char: %{invalid_url_chars}"