Created
March 31, 2013 16:15
-
-
Save lastcanal/5281134 to your computer and use it in GitHub Desktop.
Padrino Admin ORM locale with Ohm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
activemodel: &activemodel | |
errors: | |
messages: | |
inclusion: "is not included in the list" | |
exclusion: "is reserved" | |
invalid: "is invalid" | |
confirmation: "doesn't match confirmation" | |
accepted: "must be accepted" | |
empty: "can't be empty" | |
blank: "can't be blank" | |
too_long: "is too long (maximum is %{count} characters)" | |
too_short: "is too short (minimum is %{count} characters)" | |
wrong_length: "is the wrong length (should be %{count} characters)" | |
taken: "has already been taken" | |
not_a_number: "is not a number" | |
greater_than: "must be greater than %{count}" | |
greater_than_or_equal_to: "must be greater than or equal to %{count}" | |
equal_to: "must be equal to %{count}" | |
less_than: "must be less than %{count}" | |
less_than_or_equal_to: "must be less than or equal to %{count}" | |
odd: "must be odd" | |
even: "must be even" | |
record_invalid: "Validation failed: %{errors}" | |
content_type: "file format not supported" | |
activerecord: *activemodel | |
ohm: | |
errors: | |
messages: | |
format: "is invalid" | |
not_present: "can't be blank" | |
not_numeric: "is not a number" | |
not_url: "is invalid" | |
not_email: "is invalid" | |
not_valid: "is not included in the list" | |
not_in_range: "is not included in the list" | |
not_decimal: "is invalid" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment