diff options
author | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-07-08 00:40:10 +0900 |
---|---|---|
committer | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-07-08 00:40:10 +0900 |
commit | a789ee2d1fd1c66c84ee51f49da2d8dcea7924ec (patch) | |
tree | abb71d5fe540a711ced4fa5973ae7aedb8051e32 | |
parent | f15c9525ef26683f5beca49a736d7e98378f2a8c (diff) | |
download | gitlab-ce-a789ee2d1fd1c66c84ee51f49da2d8dcea7924ec.tar.gz |
Remove .coffee ext files for i18n
-rw-r--r-- | config/initializers/gettext_rails_i18n_patch.rb | 1 | ||||
-rw-r--r-- | lib/tasks/gettext.rake | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/config/initializers/gettext_rails_i18n_patch.rb b/config/initializers/gettext_rails_i18n_patch.rb index 69118f464ca..377e5104f9d 100644 --- a/config/initializers/gettext_rails_i18n_patch.rb +++ b/config/initializers/gettext_rails_i18n_patch.rb @@ -33,7 +33,6 @@ module GettextI18nRailsJs [ ".js", ".jsx", - ".coffee", ".vue" ].include? ::File.extname(file) end diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake index b27f7475115..b48e4dce445 100644 --- a/lib/tasks/gettext.rake +++ b/lib/tasks/gettext.rake @@ -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}}" |