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 translations work.



53
54
55
56
# File 'lib/vagrant-triggers/plugin.rb', line 53

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