`vagrant box list` warning uses en.yml

This commit is contained in:
Mitchell Hashimoto 2010-08-26 22:53:27 -07:00
parent 1102eb77cc
commit 5c4293ae39
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ module Vagrant
desc "list", "Lists all installed boxes"
def list
boxes = Box.all(env).sort
return env.ui.warn("There are no installed boxes! Use `vagrant box add` to add some.") if boxes.empty?
return env.ui.warn("vagrant.commands.box.no_installed_boxes", :_prefix => false)# if boxes.empty?
boxes.each { |b| env.ui.info(b) }
end
end

View File

@ -10,6 +10,8 @@ en:
vm_creation_required: VM must be created before running this command. Run `vagrant up` first.
vm_not_found: A VM by the name of %{name} was not found.
commands:
box:
no_installed_boxes: There are no installed boxes! Use `vagrant box add` to add some.
status:
output: |-
Current VM states: