mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Handle subtag title internationalization also
This commit is contained in:
parent
06fe3504b3
commit
df3051f2de
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ def app_catalog(full=False, with_categories=False):
|
|||
for category in catalog["categories"]:
|
||||
category["title"] = _value_for_locale(category["title"])
|
||||
category["description"] = _value_for_locale(category["description"])
|
||||
for subtags in category.get("subtags", []):
|
||||
subtags["title"] = _value_for_locale(subtags["title"])
|
||||
|
||||
if not full:
|
||||
catalog["categories"] = [{"id": c["id"],
|
||||
|
|
Loading…
Add table
Reference in a new issue