Skip to content

Commit

Permalink
Merge pull request #19109 from mzazrivec/add_jsx_to_files_to_translate
Browse files Browse the repository at this point in the history
Add .jsx to file glob of files to extract strings from
  • Loading branch information
martinpovolny authored Aug 7, 2019
2 parents 52f7821 + fedd03b commit 737c4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/locale.rake
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ namespace :locale do
end

def files_to_translate
Dir.glob("#{@engine_root}/{app,db,lib,config,locale}/**/*.{rb,erb,haml,slim,rhtml,js}")
Dir.glob("#{@engine_root}/{app,db,lib,config,locale}/**/*.{rb,erb,haml,slim,rhtml,js,jsx}")
end

def text_domain
Expand Down

0 comments on commit 737c4aa

Please sign in to comment.