mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Return the description for current locale only in app_list
This commit is contained in:
parent
fd8e3d3d0a
commit
a9975edaf7
1 changed files with 2 additions and 1 deletions
3
app.py
3
app.py
|
@ -174,7 +174,8 @@ def app_list(offset=None, limit=None, filter=None, raw=False):
|
|||
list_dict.append({
|
||||
'id': app_id,
|
||||
'name': app_info['manifest']['name'],
|
||||
'description': app_info['manifest']['description'],
|
||||
'description': _value_for_locale(
|
||||
app_info['manifest']['description']),
|
||||
# FIXME: Temporarly allow undefined license
|
||||
'license': app_info['manifest'].get('license',
|
||||
m18n.n('license_undefined')),
|
||||
|
|
Loading…
Add table
Reference in a new issue