aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdocs/check-weblate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/check-weblate.py b/docs/check-weblate.py
index 76cc6942..135c4b44 100755
--- a/docs/check-weblate.py
+++ b/docs/check-weblate.py
@@ -110,7 +110,7 @@ async def main():
# Get the list of languages in the OnionShare project
res = await api("/api/projects/onionshare/languages/")
for obj in res:
- languages[obj["code"]] = obj["language"]
+ languages[obj["code"]] = obj["name"]
# Get the app translations for each language
for lang_code in languages: