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)
@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

View File

@ -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}"