Move strings into locales file
This commit is contained in:
parent
a1b48ed1bb
commit
efb9fd7b65
|
@ -29,7 +29,7 @@ module VagrantPlugins
|
||||||
|
|
||||||
if machine.provider.driver.existing_network?(network_name) &&
|
if machine.provider.driver.existing_network?(network_name) &&
|
||||||
!machine.provider.driver.network_used?(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)
|
machine.provider.driver.rm_network(network_name)
|
||||||
else
|
else
|
||||||
@logger.debug("Network #{network_name} not found")
|
@logger.debug("Network #{network_name} not found")
|
||||||
|
|
|
@ -51,7 +51,7 @@ module VagrantPlugins
|
||||||
return @app.call(env)
|
return @app.call(env)
|
||||||
end
|
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|
|
machine.config.vm.networks.each do |type, options|
|
||||||
# We only handle private networks
|
# We only handle private networks
|
||||||
|
|
|
@ -45,6 +45,10 @@ en:
|
||||||
This container requires a host VM, and the state of that VM
|
This container requires a host VM, and the state of that VM
|
||||||
is unknown. Run `vagrant up` to verify that the container and
|
is unknown. Run `vagrant up` to verify that the container and
|
||||||
its host VM is running, then try again.
|
its host VM is running, then try again.
|
||||||
|
network_configure: |-
|
||||||
|
Configuring and enabling network interfaces...
|
||||||
|
network_destroy: |-
|
||||||
|
Removing network %{network_name} ...
|
||||||
not_created_skip: |-
|
not_created_skip: |-
|
||||||
Container not created. Skipping.
|
Container not created. Skipping.
|
||||||
not_docker_provider: |-
|
not_docker_provider: |-
|
||||||
|
|
Loading…
Reference in New Issue