Merge pull request #9968 from verheyenkoen/version-check-display-installed-version
Display current version in version check
This commit is contained in:
commit
0872609b59
|
@ -162,7 +162,7 @@ module Vagrant
|
|||
ui = Vagrant::UI::Prefixed.new(env.ui, "vagrant")
|
||||
if latest_version > installed_version
|
||||
@logger.info("new version of Vagrant available - #{latest_version}")
|
||||
ui.info(I18n.t("vagrant.version_upgrade_available", latest_version: latest_version))
|
||||
ui.info(I18n.t("vagrant.version_upgrade_available", latest_version: latest_version, installed_version: installed_version))
|
||||
env.ui.info("")
|
||||
else
|
||||
@logger.debug("vagrant is currently up to date")
|
||||
|
|
|
@ -311,7 +311,7 @@ en:
|
|||
Vagrant was unable to check for the latest version of Vagrant.
|
||||
Please check manually at https://www.vagrantup.com
|
||||
version_upgrade_available: |-
|
||||
A new version of Vagrant is available: %{latest_version}!
|
||||
A new version of Vagrant is available: %{latest_version} (installed version: %{installed_version})!
|
||||
To upgrade visit: https://www.vagrantup.com/downloads.html
|
||||
|
||||
version_upgrade_howto: |-
|
||||
|
|
Loading…
Reference in New Issue