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:
commit
6111a127f1
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue