lib/tasks/gettext.rake
# Rewrite gettext filter to add vueJS file
Rewrite gettext filter to add vueJS file
Rewrite gettext filter to add vueJS file
def files_to_translate
    folders = ['app', 'lib', 'config', locale_path].join(',')
    exts = %w[rb erb haml slim rhtml js jsx vue coffee handlebars hbs mustache].join(',')
    Dir.glob("{#{folders}}/**/*.{#{exts}}")
  end
def files_to_translate folders = [ 'app' , 'lib' , 'config' , locale_path ] . join ( ',' ) exts = %w[ rb erb haml slim rhtml js jsx vue coffee handlebars hbs mustache ] . join ( ',' ) Dir . glob ( "{#{folders}}/**/*.{#{exts}}" ) end
Rewrite gettext filter to add vueJS file
Rewrite gettext filter to add vueJS file