From e0bf3f2dfff66ce6285f059113a71750d6ae8935 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 20 Sep 2010 09:43:37 -0600 Subject: [PATCH] Converted final string that used logger to new i18n --- lib/vagrant/environment.rb | 2 +- templates/locales/en.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index 8ac506ef2..2aeadd1e4 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -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 diff --git a/templates/locales/en.yml b/templates/locales/en.yml index d72f4daef..5e3b970a9 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -1,5 +1,7 @@ en: vagrant: + general: + creating_home_dir: "Creating home directory since it doesn't exist: %{directory}" #------------------------------------------------------------------------------- # Translations for exception classes