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
49d069dd
Commit
49d069dd
authored
Jul 08, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTL i18n tooling
parent
fcae6b57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletions
+16
-1
pavelib/i18n.py
+15
-0
requirements/edx/github.txt
+1
-1
No files found.
pavelib/i18n.py
View file @
49d069dd
...
...
@@ -130,6 +130,21 @@ def i18n_transifex_pull():
@task
def
i18n_rtl
():
cmd
=
"i18n_tool transifex"
sh
(
cmd
+
" rtl"
)
print
(
"Now generating langugage files..."
)
cmd
=
"i18n_tool generate"
sh
(
cmd
+
" --rtl"
)
print
(
"Committing translations..."
)
sh
(
'git clean -fdX conf/locale'
)
sh
(
'git add conf/locale'
)
sh
(
'git commit --amend'
)
@task
@needs
(
"pavelib.i18n.i18n_transifex_pull"
,
"pavelib.i18n.i18n_extract"
,
...
...
requirements/edx/github.txt
View file @
49d069dd
...
...
@@ -30,4 +30,4 @@
-e git+https://github.com/edx/edx-ora2.git@release-2014-09-12T14.26#egg=edx-ora2
-e git+https://github.com/edx/opaque-keys.git@a7c506befdf9b97bbbb6961e0b0c7fa4807003eb#egg=opaque-keys
-e git+https://github.com/edx/ease.git@97de68448e5495385ba043d3091f570a699d5b5f#egg=ease
-e git+https://github.com/edx/i18n-tools.git@
0d7847f9dfa2281640527b4dc51f5854f950f9b7
#egg=i18n-tools
-e git+https://github.com/edx/i18n-tools.git@
56f048af9b6868613c14aeae760548834c495011
#egg=i18n-tools
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