Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move relevant validation tests from Active Record to Active Model | Pratik Naik | 2009-03-20 | 1 | -915/+0 |
| | |||||
* | Move all the Active Record validations to Active Model | Pratik Naik | 2009-03-19 | 1 | -4/+4 |
| | |||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -293/+287 |
| | |||||
* | Fix test names collision. | Emilio Tagua | 2008-12-10 | 1 | -4/+4 |
| | | | | | | [#1549 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | use :en as a default locale (in favor of :en-US) | Sven Fuchs | 2008-11-18 | 1 | -48/+48 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Update AR tests | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | I18n: Introduce I18n.load_path in favor of I18n.load_translations and change ↵ | Sven Fuchs | 2008-09-20 | 1 | -1/+5 |
| | | | | | | Simple backend to load translations lazily. [#1048 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | add activerecord tests to make sure the deprecated %s and %d interpolation ↵ | Sven Fuchs | 2008-09-10 | 1 | -1/+15 |
| | | | | | | | | syntax still works [#1016 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | add activerecord tests for deprecation of %s and %d in error messages (and ↵ | Sven Fuchs | 2008-09-10 | 1 | -0/+12 |
| | | | | | | translations in general) Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | translates when a message symbol has been set on builtin validations | Iain Hecker | 2008-08-31 | 1 | -0/+33 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | strip trailing whitespace | Jeremy Kemper | 2008-08-25 | 1 | -157/+157 |
| | |||||
* | Ruby 1.9 compat: fix test error masked by old String#each behavior | Jeremy Kemper | 2008-08-25 | 1 | -1/+1 |
| | |||||
* | Custom error messages scope improved | Iain Hecker | 2008-08-21 | 1 | -23/+75 |
| | |||||
* | Locale file changed to yaml | Iain Hecker | 2008-08-20 | 1 | -1/+1 |
| | |||||
* | Added :value as interpolation variable available to error messages | Iain Hecker | 2008-08-20 | 1 | -2/+2 |
| | |||||
* | Introduced AR::Base.human_name to validations | Iain Hecker | 2008-08-20 | 1 | -2/+2 |
| | |||||
* | Cleaned up ActiveRecord i18n scoping | Iain Hecker | 2008-08-14 | 1 | -75/+80 |
| | |||||
* | fixing unit tests for active_record validations_i18n | Sven Fuchs | 2008-08-13 | 1 | -2/+2 |
| | |||||
* | fix validations_i18n tests for changed locale file format | Sven Fuchs | 2008-08-13 | 1 | -1/+1 |
| | |||||
* | update i18n usage for pluralization hashes (api change) | Sven Fuchs | 2008-08-10 | 1 | -10/+188 |
| | |||||
* | align with changes in i18n | Sven Fuchs | 2008-07-06 | 1 | -3/+3 |
| | |||||
* | use :default for human_attribute_name | Sven Fuchs | 2008-07-04 | 1 | -1/+1 |
| | |||||
* | remove core extensions in favor of I18n#translate and I18n#localize | Sven Fuchs | 2008-07-02 | 1 | -1/+1 |
| | |||||
* | Make sure mocha is available | Luca Guidi | 2008-06-27 | 1 | -266/+310 |
| | |||||
* | rather cosmetic improvements of test coverage | Sven Fuchs | 2008-06-23 | 1 | -3/+59 |
| | |||||
* | incorporate #translate usage with several default keys | Sven Fuchs | 2008-06-21 | 1 | -51/+35 |
| | | | | | (use first default key that resolves to a translation). this might, depending on the backend implementation save some expensive lookups (like db lookups) | ||||
* | Renamed lang/ to locale/ because that's what we seem to | Sven Fuchs | 2008-06-21 | 1 | -1/+1 |
| | | | | | | 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.). | ||||
* | Changed process of storing translations from the | Sven Fuchs | 2008-06-21 | 1 | -40/+40 |
| | | | | | | | | | client libraries to the backend: clients now can pass a block to backend#populate which can contain code to load and register translations. This makes sense for backends that persist their translations (e.g. to db) so the repeated loading and passing of translations throughout the server startup would be wasted resources. | ||||
* | rename Backend::Simple#add_translations to set_translations | Sven Fuchs | 2008-06-20 | 1 | -40/+40 |
| | | | | because it overwrites existing translations | ||||
* | integrating I18n into Rails | Sven Fuchs | 2008-06-19 | 1 | -0/+539 |