aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/translation_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Changed translate helper so that it doesn’t mark every translation as safe ↵Craig Davey2010-04-131-1/+16
| | | | | | HTML. Only keys with a "_html" suffix and keys named "html" are considered to be safe HTML. All other translations are left untouched. Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* scope_key_by_partial fix for Ruby 1.9 when there's virtual_path [#4202 ↵Santiago Pastorino2010-03-161-0/+6
| | | | | | state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* translation method of TranslationHelper module returns always SafeBuffer ↵Santiago Pastorino2010-03-161-1/+8
| | | | | | [#4194 status:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "i18n translate with arrays issue solved"Yehuda Katz2010-02-191-5/+0
| | | | This reverts commit e7055e5b084f5e29e9cf8dab8d56943da65ccb43.
* i18n translate with arrays issue solvedSantiago Pastorino2010-02-191-0/+5
|
* i18n translate with arrays issue solvedSantiago Pastorino2010-02-181-0/+5
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* Fix t('.helper').José Valim2010-01-261-5/+5
|
* Fix testsDavid Heinemeier Hansson2009-12-251-2/+2
|
* Added partial scoping to TranslationHelper#translate, so if you call ↵David Heinemeier Hansson2009-02-101-0/+6
| | | | translate('.foo') from the people/index.html.erb template, you'll actually be calling I18n.translate(people.index.foo) [DHH]
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-19/+17
|
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-181-3/+3
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Proper API for reloading translationsDavid Heinemeier Hansson2008-10-291-2/+2
|
* fixing another timezone dependent testSven Fuchs2008-07-161-25/+5
|
* Added localize helper methodLuca Guidi2008-07-081-0/+6
|
* add a translation helperSven Fuchs2008-07-061-0/+42