aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/translation.rb
Commit message (Collapse)AuthorAgeFilesLines
* Better formatting on ActiveModel::TranslationSebastian Martinez2011-04-261-2/+2
|
* Bring back AMo#i18n_key methodSantiago Pastorino2011-03-301-1/+1
|
* Revert "Properly interpolate i18n keys in modules [#5572 state:resolved]"Santiago Pastorino2011-02-271-1/+1
| | | | | | | This breaks #6448, you should use :"module/class" as key for namespacing [#6448 state:committed] This reverts commit 8d30193b08bd2321a7a78a1f481bd5e4d4d45557.
* Properly interpolate i18n keys in modules [#5572 state:resolved]Rodrigo Rosenfeld Rosas2010-09-241-1/+1
|
* Remove deprecations in ActiveModel.José Valim2010-08-291-6/+0
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-7/+7
| | | | 's/[ \t]*$//' -i {} \;)
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-301-1/+1
|
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-151-1/+1
|\
| * Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-1/+1
| |
* | Revised the rest of the files from ActiveModel.Rizwan Reza2010-06-141-6/+10
|/
* Adding documentation for ActiveModel::TranslationMikel Lindsaar2010-01-181-2/+17
|
* Allow to specify default attributes names translation in I18n yml files.José Valim2010-01-071-2/+3
| | | | | | | | | | | | 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).
* Small clean up in Naming and TTranslation tests.José Valim2009-12-231-21/+1
|
* Uses Hash#reverse_mergeJeremy Kemper2009-11-131-0/+2
|
* Fix error_messages_for when instance variable names are given.José Valim2009-10-211-0/+3
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Move validator, human_name and human_attribute_name to ActiveModel, remove ↵José Valim2009-10-201-0/+59
deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com>