Fix translation of commands description in API Browser

The command description is taken from python docstring. Thus
commands should have them and should include the callings of
gettext to be translated.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Stanislav Levin
2018-06-04 13:19:42 +03:00
committed by Christian Heimes
parent c74f65ef23
commit f5a04da95d
14 changed files with 73 additions and 78 deletions

View File

@@ -192,9 +192,7 @@ class privilege_add_member(LDAPAddMember):
@register()
class privilege_remove_member(LDAPRemoveMember):
"""
Remove members from a privilege
"""
__doc__ = _('Remove members from a privilege')
NO_CLI=True