Class: VagrantPlugins::Triggers::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-triggers/plugin.rb

Class Method Summary collapse

Class Method Details

.init_i18nObject

This initializes the I18n load path so that the plugin specific transations work.



43
44
45
46
# File 'lib/vagrant-triggers/plugin.rb', line 43

def self.init_i18n
  I18n.load_path << File.expand_path("locales/en.yml", Triggers.source_root)
  I18n.reload!
end