Class: VagrantPlugins::Triggers::Plugin
- Inherits:
-
Object
- Object
- VagrantPlugins::Triggers::Plugin
- Defined in:
- lib/vagrant-triggers/plugin.rb
Class Method Summary collapse
-
.init_i18n ⇒ Object
This initializes the I18n load path so that the plugin specific translations work.
Class Method Details
.init_i18n ⇒ Object
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.("locales/en.yml", Triggers.source_root) I18n.reload! end |