mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-13 09:26:37 -04:00
Weblate API object has changed, language name is in the name key instead of the language key
This commit is contained in:
parent
1eff877b42
commit
c358802331
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user