Commit a789ee2d authored by Takuya Noguchi's avatar Takuya Noguchi

Remove .coffee ext files for i18n

parent f15c9525
......@@ -33,7 +33,6 @@ module GettextI18nRailsJs
[
".js",
".jsx",
".coffee",
".vue"
].include? ::File.extname(file)
end
......
......@@ -5,7 +5,7 @@ namespace :gettext do
# See: https://github.com/grosser/gettext_i18n_rails#customizing-list-of-translatable-files
def files_to_translate
folders = %W(app lib config #{locale_path}).join(',')
exts = %w(rb erb haml slim rhtml js jsx vue coffee handlebars hbs mustache).join(',')
exts = %w(rb erb haml slim rhtml js jsx vue handlebars hbs mustache).join(',')
Dir.glob(
"{#{folders}}/**/*.{#{exts}}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment