aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/locale
Commit message (Collapse)AuthorAgeFilesLines
* Add possibility to use i18n translatios in submit FormHelper.Carlos Antonio da Silva2010-01-141-8/+15
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Use helpers.label instead of views.labels.José Valim2010-01-071-1/+1
|
* errors in ActionView should not be namespaced as well.José Valim2010-01-071-8/+7
|
* Bring agnosticism to error_messages_for.José Valim2009-10-171-2/+2
|
* Introduce :almost keyword for distance_of_time_in_words. Make 1.75 days - 2 ↵John Trupiano2009-09-281-0/+3
| | | | | | | days return '2 days'. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3266 state:committed]
* I18n: use I18n for select helpers' prompt textAkira Matsuda2009-08-261-0/+4
| | | | | | [#2252 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "I18n: use I18n for select helpers' prompt text"Jeremy Kemper2009-08-261-4/+0
| | | | | | | | Broke CI. [#2252 state:open] This reverts commit adedf72821a5623227ce91e6b298838e692477e4.
* I18n: use I18n for select helpers' prompt textAkira Matsuda2009-08-261-0/+4
| | | | | | [#2252 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Improve i18n support for number_to_human_size helper:Yaroslav Markin2009-01-271-1/+12
| | | | | | | | | | | | * now using pluralization properly * storage unit translations moved to number.human.storage_units.units * introduced number.human.storage_units.format for languages that do not follow "{{number}} {{unit}}" format (Japanese) NOTE: I18n table changed, you will need to update your translations. [#1634 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use I18n for date/time select helpers prompt text [#561 state:resolved]Sam Oliver2008-12-221-0/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add i18n for number_to_human_size() helper storage units. Translation key is ↵Yaroslav Markin2008-11-231-0/+1
| | | | | | | | number.human.storage_units. [#1448 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* 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>
* Update translations for pluralization key change from 'many' to 'other'Sven Fuchs2008-08-251-22/+22
|
* Update translations for pluralization key change from 'other' to 'many'Jeremy Kemper2008-08-241-11/+11
|
* I18n: use :other instead of :many as default key for pluralization to better ↵Sven Fuchs2008-08-231-11/+11
| | | | conform w/ cldr pluralization rules
* fixing actionpack yml translationsSven Fuchs2008-08-201-21/+23
|
* Changed locale file to yml for actionpack, but still brokenIain Hecker2008-08-202-89/+89
|
* Cleaned up ActiveRecord i18n scopingIain Hecker2008-08-141-8/+10
|
* switch to using I18n.load_translations instead of requiring plain ruby filesSven Fuchs2008-08-131-77/+78
|
* update i18n usage for pluralization hashes (api change)Sven Fuchs2008-08-101-12/+45
|
* Updated NumberHelper: Full i18n support (except number_to_phone), ↵Clemens Kofler2008-07-291-7/+28
| | | | | | consolidated API (almost all methods now support :precision, :delimiter and :separator). Added deprecation notices for old API. Added tests for new options [#716 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed Date and Time localization for ActiveSupportLuca Guidi2008-07-021-21/+0
|
* Replaced country_options_for_select with old,Sven Fuchs2008-06-221-40/+0
| | | | | | untranslated version and moved country-related helpers to a new FormCountryHelper helper module so that they can easily be moved to a plugin. Updated tests accordingly.
* Renamed lang/ to locale/ because that's what we seem toSven Fuchs2008-06-211-0/+93
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.).