Fix typos

This commit is contained in:
Igor Chubin 2021-01-02 22:57:49 +01:00
parent 492f4f5e50
commit 49aefecf99

View file

@ -67,8 +67,8 @@ def load_translations():
trans = trans.strip() trans = trans.strip()
orig = orig.strip() orig = orig.strip()
translation[orig] = trans translation[orig.lower()] = trans
translations[lang.lower()] = translation translations[lang] = translation
return translations return translations
TRANSLATIONS = load_translations() TRANSLATIONS = load_translations()
@ -274,7 +274,7 @@ def proxy(path):
# WWO tweaks # WWO tweaks
query_string += "&extra=localObsTime" query_string += "&extra=localObsTime"
query_string += "&includelocation=yes" query_string += "&includelocation=yes"
content, headers = _fetch_content_and_headers(path, query) content, headers = _fetch_content_and_headers(path, query_string)
content = add_translations(content, lang) content = add_translations(content, lang)