From e506f266ef03fe5e15311a0d96d92d52b4e81de3 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 21 Sep 2018 11:45:28 +0300 Subject: [PATCH] Add title to 'add' dialog for 'SELinux' entity To improve translation quality the title of 'Add' dialog should be specified explicitly in the spec and should be an entire sentence. Fixes: https://pagure.io/freeipa/issue/7707 Reviewed-By: Serhii Tsymbaliuk --- install/ui/src/freeipa/selinux.js | 1 + ipaserver/plugins/internal.py | 1 + 2 files changed, 2 insertions(+) diff --git a/install/ui/src/freeipa/selinux.js b/install/ui/src/freeipa/selinux.js index d1ff1f864..00385da23 100644 --- a/install/ui/src/freeipa/selinux.js +++ b/install/ui/src/freeipa/selinux.js @@ -95,6 +95,7 @@ var spec = { } ], adder_dialog: { + title: '@i18n:objects.selinuxusermap.add', fields: [ 'cn', 'ipaselinuxuser' diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 00a18c59d..9ce09ae1e 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -1019,6 +1019,7 @@ class i18n_messages(Command): "selfservice": { }, "selinuxusermap": { + "add": _("Add SELinux user map"), "any_host": _("Any Host"), "anyone": _("Anyone"), "host": _("Host"),