Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove i18n symbol dependency | Chris McGrath | 2013-01-17 | 1 | -3/+8 |
| | | | | | | | | | date.order is the only key in rails i18n that is required to be a symbol. This patch allows for symbols or strings which means: * No requirement for symbol type in .yml files. A future YAML.safe_load wouldn't need to load symbols * Rails could actually use json rather than yml as the backend | ||||
* | Add i18n scope to disance_of_time_in_words. | Steve Klabnik | 2012-10-19 | 1 | -10/+19 |
| | | | | This fixes #733. | ||||
* | Replace boolean argument with an options hash. | Dmitriy Kiriyenko | 2012-04-30 | 1 | -18/+23 |
| | | | | | | | | This replaces `include_seconds` argument with an option key `include_seconds => true` in options hash. Also `time_ago_in_words` now passes options hash, including a `locale` key, which makes in compatible with `distance_of_time_in_words`. | ||||
* | tiny refactoring | Vasiliy Ermolovich | 2012-01-29 | 1 | -3/+3 |
| | | | | | use :default option with translate method instead of condition simplify separator method | ||||
* | Raise exception when date.order includes invalid elements | Indrek Juhkam | 2012-01-22 | 1 | -0/+8 |
| | |||||
* | AP tests should inherit from AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -2/+2 |
| | |||||
* | These tests shouldn't depend on local time to pass or fail, we can use utc here. | Emilio Tagua | 2010-09-24 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Introduce :almost keyword for distance_of_time_in_words. Make 1.75 days - 2 ↵ | John Trupiano | 2009-09-28 | 1 | -9/+10 |
| | | | | | | | days return '2 days'. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3266 state:committed] | ||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -90/+86 |
| | |||||
* | Use I18n for date/time select helpers prompt text [#561 state:resolved] | Sam Oliver | 2008-12-22 | 1 | -0/+11 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | use :en as a default locale (in favor of :en-US) | Sven Fuchs | 2008-11-18 | 1 | -11/+11 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | update i18n usage for pluralization hashes (api change) | Sven Fuchs | 2008-08-10 | 1 | -0/+22 |
| | |||||
* | Refactor DateHelper to use DateTimeSelector presenter pattern | Clemens Kofler | 2008-08-07 | 1 | -11/+11 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | align with changes in i18n | Sven Fuchs | 2008-07-06 | 1 | -4/+4 |
| | |||||
* | Make sure mocha is available | Luca Guidi | 2008-06-27 | 1 | -65/+69 |
| | |||||
* | update tests according to removal of self.locale from helpers | Sven Fuchs | 2008-06-23 | 1 | -12/+0 |
| | |||||
* | check self.locale instead of request.locale in helpers | Sven Fuchs | 2008-06-22 | 1 | -4/+4 |
| | |||||
* | integrating I18n into Rails | Sven Fuchs | 2008-06-19 | 1 | -0/+99 |