mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
pick-complete-translations.py: use new Weblate API
This commit is contained in:
parent
b416d9b604
commit
a95f4f11b0
1 changed files with 2 additions and 2 deletions
|
|
@ -19,10 +19,10 @@ if os.path.exists(cached_file):
|
|||
with open(cached_file) as fp:
|
||||
data = json.load(fp)
|
||||
else:
|
||||
url = 'https://hosted.weblate.org/exports/stats/f-droid/fdroidserver/?format=json'
|
||||
url = 'https://hosted.weblate.org/api/components/f-droid/fdroidserver/statistics/?format=json'
|
||||
r = requests.get(url)
|
||||
r.raise_for_status()
|
||||
data = r.json()
|
||||
data = r.json()['results']
|
||||
|
||||
active = set()
|
||||
print('name locale translated approved error-free')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue