aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/locale
Commit message (Collapse)AuthorAgeFilesLines
* Use %{} syntax in I18n (faster) instead of {{}}.José Valim2010-05-011-2/+2
|
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-301-12/+12
|
* Allow to specify default attributes names translation in I18n yml files.José Valim2010-01-071-0/+5
| | | | | | | | | | | | For example, you could easily specify :created_at and :updated_at translations as: en: attributes: created_at: "Created at" updated_at: "Updated at" This configuration is built on ActiveModel, so it means those translations are shared between different ORMs as well (but always as a fallback).
* Errors messages are now moved from :activerecord.errors to simply :errors on ↵José Valim2010-01-071-31/+8
| | | | I18n yml files.
* Use activerecord.errors.format as in Rails 2.3.5.José Valim2010-01-021-0/+3
|
* allow ActiveRecord#RecordInvalid exception message to be localizedSven Fuchs2009-08-261-0/+1
| | | | | | [#2754 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge docrailsPratik Naik2009-01-181-1/+1
|
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-181-1/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Merge docrailsPratik Naik2008-09-131-4/+25
|
* Removed en-US ruby locale in favor of yamlIain Hecker2008-08-201-28/+0
|
* Locale file changed to yamlIain Hecker2008-08-201-0/+33
|
* Cleaned up ActiveRecord i18n scopingIain Hecker2008-08-141-23/+25
|
* switch to using I18n.load_translations instead of requiring plain ruby filesSven Fuchs2008-08-131-23/+24
|
* Renamed lang/ to locale/ because that's what we seem toSven Fuchs2008-06-211-0/+25
standarize on. Also, in future this place can be used for data/code that's not literally translations but conceptually belongs to the locale (like custom pluralization algorithms etc.).