Extract "removing symlinks" message out to locale file
This commit is contained in:
parent
b109e3c4ad
commit
18ff01907e
2 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,7 @@ module VagrantPlugins
|
|||
@env = env
|
||||
|
||||
if env[:machine].state.id == :running && symlinks.any?
|
||||
env[:ui].info 'Removing cache buckets symlinks...'
|
||||
env[:ui].info I18n.t('vagrant_cachier.cleanup')
|
||||
symlinks.each do |symlink|
|
||||
remove_symlink symlink
|
||||
end
|
||||
|
@ -37,4 +37,3 @@ module VagrantPlugins
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
en:
|
||||
vagrant_cachier:
|
||||
cleanup: |-
|
||||
Removing cache buckets symlinks...
|
||||
skipping_bucket: |-
|
||||
Skipping %{bucket} cache bucket as the guest machine does not support it
|
||||
|
|
Loading…
Reference in a new issue