diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-07-18 12:51:45 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-07-18 12:51:45 +0100 |
commit | 6d67f4df65f8b56c9d54d71d449d46b1c6c92be2 (patch) | |
tree | 92067ff1d11b3000040162a98bb751f544ba42d1 /spec/integration/localisation_spec.rb | |
parent | 62c3e800542b3ea3a3b19fbaaf044f3209d4c1de (diff) |
gettext_i18n_rails patches I18n.locale= so that it changes underscores 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.
Diffstat (limited to 'spec/integration/localisation_spec.rb')
0 files changed, 0 insertions, 0 deletions