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