]> git.openstreetmap.org Git - rails.git/commitdiff
Copy i18n strings from validates_email_format_of plugin
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Feb 2019 13:20:03 +0000 (14:20 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Feb 2019 13:20:03 +0000 (14:20 +0100)
This allows our translators to work in languages not yet supported
by the upstream plugin. Fixes #2128

config/locales/en.yml

index a81172de2269096fc8d0efc201ae660b6fe339f5..577efd1743eaea53b8e412a6aeb17c6c3dcc9dc2 100644 (file)
@@ -6,6 +6,10 @@ en:
       friendly: "%e %B %Y at %H:%M"
       blog: "%e %B %Y"
   activerecord:
       friendly: "%e %B %Y at %H:%M"
       blog: "%e %B %Y"
   activerecord:
+    errors:
+      messages:
+        invalid_email_address: does not appear to be a valid e-mail address
+        email_address_not_routable: is not routable
     # Translates all the model names, which is used in error handling on the web site
     models:
       acl: "Access Control List"
     # Translates all the model names, which is used in error handling on the web site
     models:
       acl: "Access Control List"