Extract "removing symlinks" message out to locale file

This commit is contained in:
Fabio Rehm 2013-08-03 14:28:22 -03:00
parent b109e3c4ad
commit 18ff01907e
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,7 @@ module VagrantPlugins
@env = env @env = env
if env[:machine].state.id == :running && symlinks.any? 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| symlinks.each do |symlink|
remove_symlink symlink remove_symlink symlink
end end
@ -37,4 +37,3 @@ module VagrantPlugins
end end
end end
end end

View file

@ -1,4 +1,6 @@
en: en:
vagrant_cachier: vagrant_cachier:
cleanup: |-
Removing cache buckets symlinks...
skipping_bucket: |- skipping_bucket: |-
Skipping %{bucket} cache bucket as the guest machine does not support it Skipping %{bucket} cache bucket as the guest machine does not support it