core: output when resuming box download

This commit is contained in:
Mitchell Hashimoto 2013-11-23 15:51:10 -08:00
parent 5d9c002bdd
commit a290480ec9
2 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,11 @@ module Vagrant
# path as an instance variable so that the `#recover` method can
# access it.
env[:ui].info(I18n.t("vagrant.actions.box.download.downloading"))
if @temp_path.file?
env[:ui].info(I18n.t("vagrant.actions.box.download.resuming"))
end
begin
downloader = Util::Downloader.new(url, @temp_path, downloader_options)
downloader.download!

View File

@ -1120,6 +1120,7 @@ en:
cleaning: "Cleaning up downloaded box..."
downloading: "Downloading or copying the box..."
interrupted: "Box download was interrupted. Exiting."
resuming: "Box download is resuming from prior download progress"
verify:
verifying: "Verifying box..."
failed: |-