mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 06:26:10 -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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue