I18n for general actions

This commit is contained in:
Mitchell Hashimoto 2010-08-27 20:50:27 -07:00
parent 367a51fae8
commit d8c4985046
2 changed files with 7 additions and 2 deletions

View File

@ -60,7 +60,7 @@ module Vagrant
FileUtils.mkdir_p(include_dir) FileUtils.mkdir_p(include_dir)
@env["package.include"].each do |f| @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) FileUtils.cp(f, include_dir)
end end
end end
@ -68,7 +68,7 @@ module Vagrant
# Compress the exported file into a package # Compress the exported file into a package
def compress 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| File.open(tar_path, Platform.tar_file_options) do |tar|
Archive::Tar::Minitar::Output.open(tar) do |output| Archive::Tar::Minitar::Output.open(tar) do |output|
begin begin

View File

@ -175,3 +175,8 @@ en:
extracting: Extracting box... extracting: Extracting box...
verify: verify:
verifying: Verifying box... verifying: Verifying box...
general:
package:
packaging: "Packaging additional file: %{file}"
compressing: "Compressing package to: %w{tar_path}"