I18n for general actions
This commit is contained in:
parent
367a51fae8
commit
d8c4985046
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue