mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
fix i18n panel+section names
This commit is contained in:
parent
1b2fa91ff0
commit
2d03176c7f
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ class ConfigPanel:
|
|||
logger.warning(f"Unknown key '{key}' found in config panel")
|
||||
# Todo search all i18n keys
|
||||
out[key] = (
|
||||
value if key not in ["ask", "help", "name"] else {"en": value}
|
||||
value if key not in ["ask", "help", "name"] or isinstance(value, dict) else {"en": value}
|
||||
)
|
||||
return out
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue