Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
a789ee2d
Commit
a789ee2d
authored
Jul 08, 2017
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove .coffee ext files for i18n
parent
f15c9525
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
config/initializers/gettext_rails_i18n_patch.rb
config/initializers/gettext_rails_i18n_patch.rb
+0
-1
lib/tasks/gettext.rake
lib/tasks/gettext.rake
+1
-1
No files found.
config/initializers/gettext_rails_i18n_patch.rb
View file @
a789ee2d
...
...
@@ -33,7 +33,6 @@ module GettextI18nRailsJs
[
".js"
,
".jsx"
,
".coffee"
,
".vue"
].
include?
::
File
.
extname
(
file
)
end
...
...
lib/tasks/gettext.rake
View file @
a789ee2d
...
...
@@ -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
}
}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment