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