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.
|
# chain has been run.
|
||||||
int_callback = lambda do
|
int_callback = lambda do
|
||||||
if action_environment.interrupted?
|
if action_environment.interrupted?
|
||||||
env.ui.info "Exiting immediately!"
|
env.ui.error "vagrant.actions.runner.exit_immediately"
|
||||||
abort
|
abort
|
||||||
end
|
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!
|
action_environment.interrupt!
|
||||||
@@reported_interrupt = true
|
@@reported_interrupt = true
|
||||||
end
|
end
|
||||||
|
|
|
@ -111,6 +111,9 @@ en:
|
||||||
# Translations for Vagrant middleware acions
|
# Translations for Vagrant middleware acions
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
actions:
|
actions:
|
||||||
|
runner:
|
||||||
|
waiting_cleanup: "Waiting for cleanup before exiting..."
|
||||||
|
exit_immediately: "Exiting immediately, without cleanup!"
|
||||||
vm:
|
vm:
|
||||||
boot:
|
boot:
|
||||||
booting: Booting VM...
|
booting: Booting VM...
|
||||||
|
|
Loading…
Reference in New Issue