Skip to content

Conversation

@sekrett
Copy link

@sekrett sekrett commented Feb 23, 2011

Hi!

Now it supports i18n translations. I also removed some lines, but all tests pass.


This change is Reviewable

@sekrett
Copy link
Author

sekrett commented Feb 23, 2011

Here is an i18n example:

ru:
  activerecord:
    errors:
      models:
        page:
          attributes:
            from_email:
              invalid_email: "некорректный e-mail"

I don't know, why do I have to write translation for every model I have, but it works the same way on validates_as_email_address and validates_email_format_of.

@kritik
Copy link
Member

kritik commented Oct 30, 2013

If you update code I'll merge your request. Anyway thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants