Skip to content
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

Merged
merged 10 commits into from
Jul 29, 2013
Merged

Conversation

crowbot
Copy link
Member

@crowbot crowbot commented Jul 24, 2013

No description provided.

…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.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 44f3c92 on feature/localisation-fixes into b7d3176 on rails-3-develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling d00834e on feature/localisation-fixes into b7d3176 on rails-3-develop.

@mhl
Copy link
Contributor

mhl commented Jul 26, 2013

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.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling a73ffdc on feature/localisation-fixes into b7d3176 on rails-3-develop.

@crowbot crowbot merged commit a73ffdc into rails-3-develop Jul 29, 2013
@crowbot
Copy link
Member Author

crowbot commented Jul 29, 2013

Thanks, I think that was a failure of test isolation, which I've now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants