mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
Add fix for Hebrew on Nspanel (Reverse every string in locale file)
This commit is contained in:
@@ -57,6 +57,8 @@ def lookup(path_frontend_file, path_backend_file, lookupstr):
|
||||
def get_translation(locale, lookupstr):
|
||||
path_frontend_file, path_backend_file = build_locale_filestring(locale)
|
||||
res = lookup(path_frontend_file, path_backend_file, lookupstr)
|
||||
if locale == "he_IL":
|
||||
res = res[::-1]
|
||||
return res
|
||||
|
||||
out = defaultdict(lambda: defaultdict(lambda: defaultdict(dict)))
|
||||
|
||||
Reference in New Issue
Block a user