pushes/harmony: stub I18n
This commit is contained in:
parent
efffc5f2f7
commit
f3f4f4aeb6
|
@ -12,13 +12,25 @@ module VagrantPlugins
|
|||
|
||||
config(:harmony, :push) do
|
||||
require File.expand_path("../config", __FILE__)
|
||||
init!
|
||||
Config
|
||||
end
|
||||
|
||||
push(:harmony) do
|
||||
require File.expand_path("../push", __FILE__)
|
||||
init!
|
||||
Push
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def self.init!
|
||||
return if defined?(@_init)
|
||||
I18n.load_path << File.expand_path(
|
||||
"templates/locales/TODO.yml", Vagrant.source_root)
|
||||
I18n.reload!
|
||||
@_init = true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue