aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/i18n.textile
Commit message (Collapse)AuthorAgeFilesLines
* Better class namexyctka@gmail.com2012-04-061-2/+2
|
* Update Custom Exception Handler section of Internationalization guidexyctka@gmail.com2012-04-061-5/+21
| | | | | | | | | | | | | | The previous example with just_raise_that_exception method stopped working because MissingTranslation is not an instance of Exception class any more, but has a +to_exception+ method. Also the cleaner way is to re-raise only the desired exception, passing everything else to the default ExceptionHandler. Additionally this re-raising conflicts with Pluralization backend thus we have to add a check that certain missing translation keys should be ignored allowing the backend to fall back to the default pluralization rule.
* moves the guides up to the root directoryXavier Noria2012-03-171-0/+931