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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f9dd41a7
Commit
f9dd41a7
authored
Sep 05, 2017
by
DJ Mountney
Committed by
Marin Jankovski
Sep 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not require the simple_po_parser in the gettext rake task when in a
parent
d316a8c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/tasks/gettext.rake
lib/tasks/gettext.rake
+2
-1
No files found.
lib/tasks/gettext.rake
View file @
f9dd41a7
require
"gettext_i18n_rails/tasks"
require
"gettext_i18n_rails/tasks"
require
'simple_po_parser'
namespace
:gettext
do
namespace
:gettext
do
# Customize list of translatable files
# Customize list of translatable files
...
@@ -23,6 +22,8 @@ namespace :gettext do
...
@@ -23,6 +22,8 @@ namespace :gettext do
desc
'Lint all po files in `locale/'
desc
'Lint all po files in `locale/'
task
lint: :environment
do
task
lint: :environment
do
require
'simple_po_parser'
FastGettext
.
silence_errors
FastGettext
.
silence_errors
files
=
Dir
.
glob
(
Rails
.
root
.
join
(
'locale/*/gitlab.po'
))
files
=
Dir
.
glob
(
Rails
.
root
.
join
(
'locale/*/gitlab.po'
))
...
...
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