mirror of https://github.com/zulip/zulip.git
check-capitalization: Generate only English translations.
This commit is contained in:
parent
90ec20b4e4
commit
50ee14d390
|
@ -28,7 +28,7 @@ if __name__ == '__main__':
|
||||||
'contained ignored phrases.')
|
'contained ignored phrases.')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
subprocess.call(['./manage.py', 'makemessages'], stderr=subprocess.STDOUT)
|
subprocess.call(['./manage.py', 'makemessages', '--locale', 'en'], stderr=subprocess.STDOUT)
|
||||||
|
|
||||||
with open('static/locale/en/translations.json') as f:
|
with open('static/locale/en/translations.json') as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
|
|
Loading…
Reference in New Issue