Update localization.py

This commit is contained in:
Johannes
2023-04-25 18:01:55 +02:00
committed by GitHub
parent 0f31026506
commit 0d29d203eb

View File

@@ -30,7 +30,7 @@ def lookup(path_frontend_file, path_backend_file, lookupstr):
res = res[k]
if type(res) is not str:
#res = "error_tnf"
res = lookupstr.split(".")["-1"]
res = lookupstr.split(".")[-1]
return res
def get_translation(locale, lookupstr):