check-capitalization: Generate only English translations.

This commit is contained in:
Umair Khan 2017-07-03 10:38:31 +05:00 committed by showell
parent 90ec20b4e4
commit 50ee14d390
1 changed files with 1 additions and 1 deletions

View File

@ -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)