core: Set I18n.config.enforce_available_locales to true to avoid an annoying deprecation warning
This commit is contained in:
parent
88bb0a3949
commit
954641d801
|
@ -263,6 +263,10 @@ end
|
|||
# Default I18n to load the en locale
|
||||
I18n.load_path << File.expand_path("templates/locales/en.yml", Vagrant.source_root)
|
||||
|
||||
# Make sure only available locales are used. This will be the default in the
|
||||
# future but we need this to silence a deprecation warning from 0.6.9
|
||||
I18n.config.enforce_available_locales = true
|
||||
|
||||
# A lambda that knows how to load plugins from a single directory.
|
||||
plugin_load_proc = lambda do |directory|
|
||||
# We only care about directories
|
||||
|
|
Loading…
Reference in New Issue