From 2d9cdd924d173e3c22e8813b541df23a9c6c37e8 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Thu, 13 Sep 2018 22:18:00 +0300 Subject: [PATCH] Add title to remove dialog of 'Automember' 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 --- install/ui/src/freeipa/automember.js | 1 + ipaserver/plugins/internal.py | 1 + 2 files changed, 2 insertions(+) diff --git a/install/ui/src/freeipa/automember.js b/install/ui/src/freeipa/automember.js index a1d56a1b1..1a2a8f1bf 100644 --- a/install/ui/src/freeipa/automember.js +++ b/install/ui/src/freeipa/automember.js @@ -117,6 +117,7 @@ return { height: '300' }, deleter_dialog: { + title: '@i18n:objects.automember.remove', $factory: IPA.automember.rule_deleter_dialog } };}; diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 1c9459e19..7d7bd2c0d 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -418,6 +418,7 @@ class i18n_messages(Command): "hostgrouprule": _("Host group rule"), "hostgrouprules": _("Host group rules"), "inclusive": _("Inclusive"), + "remove": _("Remove auto membership rules"), "usergrouprule": _("User group rule"), "usergrouprules": _("User group rules"), },