diff --git a/lib/vagrant/action/general/package.rb b/lib/vagrant/action/general/package.rb index 00a80cfb6..d65412243 100644 --- a/lib/vagrant/action/general/package.rb +++ b/lib/vagrant/action/general/package.rb @@ -60,7 +60,7 @@ module Vagrant FileUtils.mkdir_p(include_dir) @env["package.include"].each do |f| - @env.ui.info "Packaging additional file: #{f}" + @env.ui.info "vagrant.actions.general.package.packaging", :file => f FileUtils.cp(f, include_dir) end end @@ -68,7 +68,7 @@ module Vagrant # Compress the exported file into a package def compress - @env.ui.info "Compressing package to #{tar_path}..." + @env.ui.info "vagrant.actions.general.package.compressing", :tar_path => tar_path File.open(tar_path, Platform.tar_file_options) do |tar| Archive::Tar::Minitar::Output.open(tar) do |output| begin diff --git a/templates/locales/en.yml b/templates/locales/en.yml index 9e0024670..9663efcd7 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -175,3 +175,8 @@ en: extracting: Extracting box... verify: verifying: Verifying box... + + general: + package: + packaging: "Packaging additional file: %{file}" + compressing: "Compressing package to: %w{tar_path}"