We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e393011 + f6172f3 commit 87e4096Copy full SHA for 87e4096
fabfile.py
@@ -6,12 +6,21 @@
6
fabfile_dir = os.path.dirname(__file__)
7
8
9
-def i18n():
+def i18n_push_source():
10
+ """rebuild and push the source language to transifex"""
11
with lcd('readthedocs'):
12
local('rm -rf rtd_tests/tests/builds/')
- local('tx pull')
13
- local('django-admin makemessages --all')
+ local('django-admin makemessages -l en')
14
local('tx push -s')
15
+ local('django-admin compilemessages -l en')
16
+
17
18
+def i18n_pull():
19
+ """pull the updated translation from transifex"""
20
+ with lcd('readthedocs'):
21
+ local('rm -rf rtd_tests/tests/builds/')
22
+ local('tx pull -f ')
23
+ local('django-admin makemessages --all')
24
local('django-admin compilemessages')
25
26
0 commit comments