latest i18n gem cares is stricter about locales, so configure better. this works, right? :x

This commit is contained in:
Matchu 2015-07-16 18:59:45 -04:00
parent b639453f61
commit 647c767c31

View file

@ -57,3 +57,5 @@ module I18n
LocaleMeta::NEOPETS_LANGUAGE_CODES_BY_LOCALE[LocaleMeta::COMPATIBLE_LOCALES[locale]]
end
end
Rails.configuration.i18n.available_locales = I18n.usable_locales