lib/i18n_screwdriver.rb in i18n_screwdriver-10.5.0 vs lib/i18n_screwdriver.rb in i18n_screwdriver-10.6.0

- old
+ new

@@ -114,10 +114,10 @@ symbols.concat(grab_symbols_to_be_translated(input)) end end def self.gather_js_translations(path, texts) - Dir.glob("#{path}/**/*.{js,jsx,coffee,hamlc,ejs,erb}").each do |file| + Dir.glob("#{path}/**/*.{js,jsx,ts,tsx,coffee,hamlc,ejs,erb}").each do |file| next unless File.file?(file) next if excluded_path?(file) puts "Scanning #{file}..." input = File.read(file) texts.concat(grab_js_texts_to_be_translated(input))