Add title to remove dialog of 'SELinux User Maps' entity

To improve translation quality the title of Remove dialog
should be specified explicitly in the spec and should be an
entire sentence.

Fixes: https://pagure.io/freeipa/issue/7699
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin 2018-09-14 09:49:29 +03:00 committed by Serhii Tsymbaliuk
parent b5073e9670
commit 772e096de0
2 changed files with 6 additions and 2 deletions

View File

@ -99,7 +99,10 @@ var spec = {
'cn',
'ipaselinuxuser'
]
}
},
deleter_dialog: {
title: '@i18n:objects.selinuxusermap.remove',
},
};
add_selinux_details_facet_widgets(spec.facets[1]);
@ -334,4 +337,4 @@ exp.register = function() {
phases.on('registration', exp.register);
return exp;
});
});

View File

@ -797,6 +797,7 @@ class i18n_messages(Command):
"any_host": _("Any Host"),
"anyone": _("Anyone"),
"host": _("Host"),
"remove": _("Remove selinux user maps"),
"specified_hosts": _("Specified Hosts and Groups"),
"specified_users": _("Specified Users and Groups"),
"user": _("User"),