Converted final string that used logger to new i18n

This commit is contained in:
Mitchell Hashimoto 2010-09-20 09:43:37 -06:00
parent 51d576e50d
commit e0bf3f2dff
2 changed files with 3 additions and 1 deletions

View File

@ -276,7 +276,7 @@ module Vagrant
dirs.each do |dir|
next if File.directory?(dir)
logger.info "Creating home directory since it doesn't exist: #{dir}"
ui.info "vagrant.general.creating_home_dir", :directory => dir
FileUtils.mkdir_p(dir)
end
end

View File

@ -1,5 +1,7 @@
en:
vagrant:
general:
creating_home_dir: "Creating home directory since it doesn't exist: %{directory}"
#-------------------------------------------------------------------------------
# Translations for exception classes