Style fixes
This commit is contained in:
parent
cecd15edac
commit
a0b86a8474
|
@ -420,15 +420,15 @@ module Vagrant
|
||||||
show_url = opts[:show_url]
|
show_url = opts[:show_url]
|
||||||
show_url ||= url
|
show_url ||= url
|
||||||
|
|
||||||
textLoading = "vagrant.box_downloading"
|
translation = "vagrant.box_downloading"
|
||||||
|
|
||||||
# Adjust status message when 'downloading' a local box.
|
# Adjust status message when 'downloading' a local box.
|
||||||
if(show_url.start_with?('file://'))
|
if show_url.start_with?("file://")
|
||||||
textLoading = "vagrant.box_unpacking"
|
translation = "vagrant.box_unpacking"
|
||||||
end
|
end
|
||||||
|
|
||||||
env[:ui].detail(I18n.t(
|
env[:ui].detail(I18n.t(
|
||||||
textLoading,
|
translation,
|
||||||
url: show_url))
|
url: show_url))
|
||||||
if File.file?(d.destination)
|
if File.file?(d.destination)
|
||||||
env[:ui].info(I18n.t("vagrant.actions.box.download.resuming"))
|
env[:ui].info(I18n.t("vagrant.actions.box.download.resuming"))
|
||||||
|
|
Loading…
Reference in New Issue