From df3051f2de14bd6adb7f109ae1b62f114f889b66 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 30 Nov 2019 18:10:39 +0100 Subject: [PATCH] Handle subtag title internationalization also --- src/yunohost/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index a54a18c6f..276897eb8 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -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"],