Properly translate "cleaning up" messages when Ctrl-C
This commit is contained in:
parent
a13f587bc0
commit
d0bd47a5d7
|
@ -56,11 +56,11 @@ module Vagrant
|
|||
# chain has been run.
|
||||
int_callback = lambda do
|
||||
if action_environment.interrupted?
|
||||
env.ui.info "Exiting immediately!"
|
||||
env.ui.error "vagrant.actions.runner.exit_immediately"
|
||||
abort
|
||||
end
|
||||
|
||||
env.ui.info "Waiting for cleanup before exiting..." if !@@reported_interrupt
|
||||
env.ui.warn "vagrant.actions.runner.waiting_cleanup" if !@@reported_interrupt
|
||||
action_environment.interrupt!
|
||||
@@reported_interrupt = true
|
||||
end
|
||||
|
|
|
@ -111,6 +111,9 @@ en:
|
|||
# Translations for Vagrant middleware acions
|
||||
#-------------------------------------------------------------------------------
|
||||
actions:
|
||||
runner:
|
||||
waiting_cleanup: "Waiting for cleanup before exiting..."
|
||||
exit_immediately: "Exiting immediately, without cleanup!"
|
||||
vm:
|
||||
boot:
|
||||
booting: Booting VM...
|
||||
|
|
Loading…
Reference in New Issue