core: output when resuming box download
This commit is contained in:
parent
5d9c002bdd
commit
a290480ec9
|
@ -37,6 +37,11 @@ module Vagrant
|
||||||
# path as an instance variable so that the `#recover` method can
|
# path as an instance variable so that the `#recover` method can
|
||||||
# access it.
|
# access it.
|
||||||
env[:ui].info(I18n.t("vagrant.actions.box.download.downloading"))
|
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
|
begin
|
||||||
downloader = Util::Downloader.new(url, @temp_path, downloader_options)
|
downloader = Util::Downloader.new(url, @temp_path, downloader_options)
|
||||||
downloader.download!
|
downloader.download!
|
||||||
|
|
|
@ -1120,6 +1120,7 @@ en:
|
||||||
cleaning: "Cleaning up downloaded box..."
|
cleaning: "Cleaning up downloaded box..."
|
||||||
downloading: "Downloading or copying the box..."
|
downloading: "Downloading or copying the box..."
|
||||||
interrupted: "Box download was interrupted. Exiting."
|
interrupted: "Box download was interrupted. Exiting."
|
||||||
|
resuming: "Box download is resuming from prior download progress"
|
||||||
verify:
|
verify:
|
||||||
verifying: "Verifying box..."
|
verifying: "Verifying box..."
|
||||||
failed: |-
|
failed: |-
|
||||||
|
|
Loading…
Reference in New Issue