Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e2109b97
Commit
e2109b97
authored
Mar 30, 2016
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run compilejsi18n when we make dummy strings
parent
a368982c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
pavelib/i18n.py
+4
-4
No files found.
pavelib/i18n.py
View file @
e2109b97
...
...
@@ -75,6 +75,10 @@ def i18n_dummy():
# Need to then compile the new dummy strings
sh
(
"i18n_tool generate"
)
# Generate static i18n JS files.
for
system
in
[
'lms'
,
'cms'
]:
sh
(
django_cmd
(
system
,
DEFAULT_SETTINGS
,
'compilejsi18n'
))
@task
def
i18n_validate_gettext
():
...
...
@@ -193,10 +197,6 @@ def i18n_robot_pull():
print
"
\n\n
Validating translations with `i18n_tool validate`..."
sh
(
"i18n_tool validate"
)
# Generate static i18n JS files.
for
system
in
[
'lms'
,
'cms'
]:
sh
(
django_cmd
(
system
,
DEFAULT_SETTINGS
,
'compilejsi18n'
))
con
=
raw_input
(
"Continue with committing these translations (y/n)? "
)
if
con
.
lower
()
==
'y'
:
...
...
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