Update localization.py

This commit is contained in:
Johannes
2023-04-25 17:50:15 +02:00
committed by GitHub
parent c4e4400437
commit 7980af2d7b

View File

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