forked from OpenNeo/impress
latest i18n gem cares is stricter about locales, so configure better. this works, right? :x
This commit is contained in:
parent
b639453f61
commit
647c767c31
1 changed files with 2 additions and 0 deletions
|
@ -57,3 +57,5 @@ module I18n
|
||||||
LocaleMeta::NEOPETS_LANGUAGE_CODES_BY_LOCALE[LocaleMeta::COMPATIBLE_LOCALES[locale]]
|
LocaleMeta::NEOPETS_LANGUAGE_CODES_BY_LOCALE[LocaleMeta::COMPATIBLE_LOCALES[locale]]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Rails.configuration.i18n.available_locales = I18n.usable_locales
|
||||||
|
|
Loading…
Reference in a new issue