-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/localisation fixes #1012
Conversation
…s in locale names (as used in the gettext world) to the dashes that I18n prefers. So for locales that include an underscore the equality test was returning false. Use FastGettext.locale instead to be consistent. Fixes #998.
…it in the URL) off by default in model, controller, and helper tests. This means we can supply the locale as a param. Turn it on specifically for a couple of controller tests that test routing, and change other url localization tests into integration tests.
… about the method to be stubbed and avoid side effects.
…118n.locale in the handling of locales with underscores. Fixes #999.
…hens, not underscores as we use in our URLs.
…lled outside initialization e.g. in tests.
This looks fine to me, but I really need to learn more about Rails i18n in order to be able to say that with any authority! I don't understand why the Ruby 1.9 Travis build has failed, though - I restarted it and get the same error. I can't reproduce it locally under Ruby 1.9 either, and I can't see what change might have caused it to start failing. |
Thanks, I think that was a failure of test isolation, which I've now fixed. |
No description provided.