Change output to not include the name

This commit is contained in:
Mitchell Hashimoto 2013-01-23 09:45:56 -08:00
parent 7e55e96bd9
commit ca0af2866e
2 changed files with 3 additions and 4 deletions

View File

@ -88,7 +88,6 @@ module VagrantPlugins
if data[:guestpath] if data[:guestpath]
# Guest path specified, so mount the folder to specified point # Guest path specified, so mount the folder to specified point
@env[:ui].info(I18n.t("vagrant.actions.vm.share_folders.mounting_entry", @env[:ui].info(I18n.t("vagrant.actions.vm.share_folders.mounting_entry",
:name => id,
:guest_path => data[:guestpath])) :guest_path => data[:guestpath]))
# Dup the data so we can pass it to the guest API # Dup the data so we can pass it to the guest API
@ -103,7 +102,7 @@ module VagrantPlugins
else else
# If no guest path is specified, then automounting is disabled # If no guest path is specified, then automounting is disabled
@env[:ui].info(I18n.t("vagrant.actions.vm.share_folders.nomount_entry", @env[:ui].info(I18n.t("vagrant.actions.vm.share_folders.nomount_entry",
:name => id)) :host_path => data[:hostpath]))
end end
end end
end end

View File

@ -661,8 +661,8 @@ en:
share_folders: share_folders:
creating: Creating shared folders metadata... creating: Creating shared folders metadata...
mounting: Mounting shared folders... mounting: Mounting shared folders...
mounting_entry: "-- %{name}: %{guest_path}" mounting_entry: "-- %{guest_path}"
nomount_entry: "-- %{name}: Automounting disabled." nomount_entry: "-- Automounting disabled: %{host_path}"
suspend: suspend:
suspending: Saving VM state and suspending execution... suspending: Saving VM state and suspending execution...