mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update src/yunohost/service.py
Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
parent
6fc5b41302
commit
58a29f218e
1 changed files with 2 additions and 3 deletions
|
@ -314,9 +314,8 @@ def service_status(names=[]):
|
|||
|
||||
else:
|
||||
translation_key = "service_description_%s" % name
|
||||
if "description" in infos is not None:
|
||||
description = infos.get("description")
|
||||
else:
|
||||
if not description:
|
||||
description = m18n.n(translation_key)
|
||||
|
||||
# that mean that we don't have a translation for this string
|
||||
|
|
Loading…
Add table
Reference in a new issue