Style fixes

This commit is contained in:
Seth Vargo 2015-05-30 12:34:05 -07:00
parent cecd15edac
commit a0b86a8474
1 changed files with 4 additions and 4 deletions

View File

@ -420,15 +420,15 @@ module Vagrant
show_url = opts[:show_url]
show_url ||= url
textLoading = "vagrant.box_downloading"
translation = "vagrant.box_downloading"
# Adjust status message when 'downloading' a local box.
if(show_url.start_with?('file://'))
textLoading = "vagrant.box_unpacking"
if show_url.start_with?("file://")
translation = "vagrant.box_unpacking"
end
env[:ui].detail(I18n.t(
textLoading,
translation,
url: show_url))
if File.file?(d.destination)
env[:ui].info(I18n.t("vagrant.actions.box.download.resuming"))