1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Merge pull request #832 from mbrictson/fix-i18n-deprecation

Set I18n.enforce_available_locales=true to fix deprecation warning
This commit is contained in:
Tom Clements 2013-12-19 01:48:13 -08:00
commit 6111a127f1

View file

@ -32,3 +32,7 @@ en = {
}
I18n.backend.store_translations(:en, { capistrano: en })
if I18n.respond_to?(:enforce_available_locales=)
I18n.enforce_available_locales = true
end