From 68a1279091b2a97f784c1691619fa227510c5dab Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Sep 28 2018 08:30:22 +0000 Subject: 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 Reviewed-By: Christian Heimes --- diff --git a/install/ui/src/freeipa/idrange.js b/install/ui/src/freeipa/idrange.js index 8af1598..b77c47e 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 f50d919..375cf07 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"),