diff --git a/plugins/providers/docker/action/destroy_network.rb b/plugins/providers/docker/action/destroy_network.rb index 4a0b2943d..0a04a1cf6 100644 --- a/plugins/providers/docker/action/destroy_network.rb +++ b/plugins/providers/docker/action/destroy_network.rb @@ -29,7 +29,7 @@ module VagrantPlugins if machine.provider.driver.existing_network?(network_name) && !machine.provider.driver.network_used?(network_name) - env[:ui].info("Removing network #{network_name}") + env[:ui].info(I18n.t("docker_provider.network_destroy", network_name: network_name)) machine.provider.driver.rm_network(network_name) else @logger.debug("Network #{network_name} not found") diff --git a/plugins/providers/docker/action/network.rb b/plugins/providers/docker/action/network.rb index ece840310..68e946ac4 100644 --- a/plugins/providers/docker/action/network.rb +++ b/plugins/providers/docker/action/network.rb @@ -51,7 +51,7 @@ module VagrantPlugins return @app.call(env) end - env[:ui].info("Configuring and enabling network interfaces...") + env[:ui].info(I18n.t("docker_provider.network_configure")) machine.config.vm.networks.each do |type, options| # We only handle private networks diff --git a/templates/locales/providers_docker.yml b/templates/locales/providers_docker.yml index d6f805407..0ac94c16a 100644 --- a/templates/locales/providers_docker.yml +++ b/templates/locales/providers_docker.yml @@ -45,6 +45,10 @@ en: This container requires a host VM, and the state of that VM is unknown. Run `vagrant up` to verify that the container and its host VM is running, then try again. + network_configure: |- + Configuring and enabling network interfaces... + network_destroy: |- + Removing network %{network_name} ... not_created_skip: |- Container not created. Skipping. not_docker_provider: |-