Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
aca60546
Commit
aca60546
authored
10 years ago
by
Sarina Canelake
Browse files
Options
Downloads
Plain Diff
Merge pull request #7599 from louyihua/i18n_fastgenerate
Add i18n_fastgenerate
parents
a8bd6dc3
faafda08
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pavelib/i18n.py
+9
-0
9 additions, 0 deletions
pavelib/i18n.py
with
9 additions
and
0 deletions
pavelib/i18n.py
+
9
−
0
View file @
aca60546
...
...
@@ -33,6 +33,15 @@ def i18n_extract(options):
sh
(
cmd
)
@task
def
i18n_fastgenerate
():
"""
Compile localizable strings from sources without re-extracting strings first.
"""
cmd
=
"
i18n_tool generate
"
sh
(
cmd
)
@task
@needs
(
"
pavelib.i18n.i18n_extract
"
)
def
i18n_generate
():
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment