mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-21 21:54:11 +01:00
Update localization.py
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user