localization: fix download link + badge

This commit is contained in:
Marcel O'Neil 2018-07-17 22:09:04 -04:00
parent 4b74f9c7fb
commit 21204fc552
No known key found for this signature in database
GPG key ID: C6D00B9C33263D72
2 changed files with 3 additions and 3 deletions

View file

@ -15,9 +15,9 @@ Electrum - Lightweight Bitcoin client
.. image:: https://coveralls.io/repos/github/spesmilo/electrum/badge.svg?branch=master
:target: https://coveralls.io/github/spesmilo/electrum?branch=master
:alt: Test coverage statistics
.. image:: https://img.shields.io/badge/help-translating-blue.svg
.. image:: https://d322cqt584bo4o.cloudfront.net/electrum/localized.svg
:target: https://crowdin.com/project/electrum
:alt: Help translating Electrum online
:alt: Help translate Electrum online

View file

@ -54,7 +54,7 @@ if crowdin_api_key:
# Download & unzip
print('Download translations')
s = requests.request('GET', 'https://crowdin.com/download/project/' + crowdin_identifier + '.zip').content
s = requests.request('GET', 'https://crowdin.com/backend/download/project/' + crowdin_identifier + '.zip').content
zfobj = zipfile.ZipFile(io.BytesIO(s))
print('Unzip translations')