From 1f391b7c3cf1361eecd9a315c398e32afbdcf3fb Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 14 Sep 2018 12:28:10 +0300 Subject: [PATCH] Add title to remove dialog of 'ID Ranges' 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/idrange.js | 7 +++++-- ipaserver/plugins/internal.py | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/install/ui/src/freeipa/idrange.js b/install/ui/src/freeipa/idrange.js index 8af1598af..b77c47e39 100644 --- a/install/ui/src/freeipa/idrange.js +++ b/install/ui/src/freeipa/idrange.js @@ -145,7 +145,10 @@ return { policies: [ IPA.idrange_adder_policy ] - } + }, + deleter_dialog: { + title: '@i18n:objects.idrange.remove', + }, };}; IPA.idrange_adder_policy = function(spec) { @@ -279,4 +282,4 @@ exp.register = function() { phases.on('registration', exp.register); return {}; -}); \ No newline at end of file +}); diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index f50d9197f..375cf0700 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -803,6 +803,7 @@ class i18n_messages(Command): "ipaidrangesize": _("Range size"), "ipanttrusteddomainsid": _("Domain SID"), "ipasecondarybaserid": _("Secondary RID base"), + "remove": _("Remove ID ranges"), "type": _("Range type"), "type_ad": _("Active Directory domain"), "type_ad_posix": _("Active Directory domain with POSIX attributes"),