core: output the version that is added with BoxAdd

This commit is contained in:
Mitchell Hashimoto 2014-01-24 18:15:13 -08:00
parent 88b64f93a4
commit 43157fba18
2 changed files with 4 additions and 2 deletions

View File

@ -332,7 +332,9 @@ module Vagrant
env[:ui].success(I18n.t(
"vagrant.box_added",
name: box.name, provider: box.provider))
name: box.name,
version: box.version,
provider: box.provider))
# Store the added box in the env for future middleware
env[:box_added] = box

View File

@ -19,7 +19,7 @@ en:
box_add_with_version: |-
Adding box '%{name}' (v%{version}) for provider: %{providers}
box_added: |-
Successfully added box '%{name}' for '%{provider}'!
Successfully added box '%{name}' (v%{version}) for '%{provider}'!
box_downloading: |-
Downloading: %{url}
box_download_error: |-