sepolicy: Make generated boolean descriptions translatable
Signed-off-by: Petr Lautrbach <lautrbach@redhat.com> Acked-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
parent
fa936a0a30
commit
d0b3d89c11
|
@ -1222,7 +1222,7 @@ def boolean_desc(boolean):
|
|||
return _(booleans_dict[boolean][2])
|
||||
else:
|
||||
desc = boolean.split("_")
|
||||
return "Allow %s to %s" % (desc[0], " ".join(desc[1:]))
|
||||
return _("Allow {subject} to {rest}").format(subject=desc[0], rest=" ".join(desc[1:]))
|
||||
|
||||
|
||||
def get_os_version():
|
||||
|
|
Loading…
Reference in New Issue