diff options
author | Iain Hecker <github@iain.nl> | 2008-08-19 23:19:57 +0200 |
---|---|---|
committer | Sven Fuchs <svenfuchs@artweb-design.de> | 2008-08-20 18:01:12 +0200 |
commit | febe2ea9775c863cb9744c6343291e550e4628b8 (patch) | |
tree | 388ec212d245bb9bbfc40be5f402ac626bff64da /activerecord/lib/active_record/locale | |
parent | a6a62004c93d792c230d80f8a65da0bb45cb369f (diff) | |
download | rails-febe2ea9775c863cb9744c6343291e550e4628b8.tar.gz rails-febe2ea9775c863cb9744c6343291e550e4628b8.tar.bz2 rails-febe2ea9775c863cb9744c6343291e550e4628b8.zip |
Locale file changed to yaml
Diffstat (limited to 'activerecord/lib/active_record/locale')
-rw-r--r-- | activerecord/lib/active_record/locale/en-US.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/locale/en-US.yml b/activerecord/lib/active_record/locale/en-US.yml new file mode 100644 index 0000000000..8148f31a81 --- /dev/null +++ b/activerecord/lib/active_record/locale/en-US.yml @@ -0,0 +1,33 @@ +en-US: + activerecord: + errors: + # The values :model, :attribute and :value are always available for interpolation + # The value :count is available when applicable. Can be used for pluralization. + 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" + # Append your own errors here or at the model/attributes scope. + + models: + # Overrides default messages + + attributes: + # Overrides model and default messages. + |