Load locales from shared directory

This commit is contained in:
Kienan Stewart 2018-05-18 08:19:21 -04:00 committed by root
parent 43c2d0492b
commit 4dda89d1e8
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module VagrantPlugins
@source_root ||= Pathname.new(File.expand_path('../../', __FILE__)) @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
end end
I18n.load_path << File.expand_path('locales/en.yml', source_root) I18n.load_path << File.expand_path("/usr/share/vagrant-plugins/vagrant-hostmanager/locales/en.yml", __FILE__)
I18n.reload! I18n.reload!
end end
end end