From 43157fba18d2ba4c720d55bab2a717c24dcd6712 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 24 Jan 2014 18:15:13 -0800 Subject: [PATCH] core: output the version that is added with BoxAdd --- lib/vagrant/action/builtin/box_add.rb | 4 +++- templates/locales/en.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/action/builtin/box_add.rb b/lib/vagrant/action/builtin/box_add.rb index c5bca8721..d53ffeaaa 100644 --- a/lib/vagrant/action/builtin/box_add.rb +++ b/lib/vagrant/action/builtin/box_add.rb @@ -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 diff --git a/templates/locales/en.yml b/templates/locales/en.yml index 9c52b26a5..6aba608f9 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -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: |-