fix for Hiroshi Miura <miurahr@linux.com> patch

This commit is contained in:
dima 2013-08-03 22:26:54 +02:00
parent 4ddd150084
commit 80f4d3bf38

View File

@ -14,14 +14,14 @@ end
module VagrantPlugins
module ProviderLibvirt
class Plugin < Vagrant.plugin('2')
name "libvirt"
name 'libvirt'
description <<-DESC
Vagrant plugin to manage VMs in libvirt.
DESC
config("libvirt", :provider) do
require_relative "config"
config('libvirt', :provider) do
require_relative 'config'
Config
end
@ -37,7 +37,7 @@ module VagrantPlugins
# This initializes the internationalization strings.
def self.setup_i18n
I18n.load_path << File.expand_path("locales/en.yml", Libvirt.source_root)
I18n.load_path << File.expand_path("locales/en.yml", ProviderLibvirt.source_root)
I18n.reload!
end