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 <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin 2018-09-14 12:28:10 +03:00 committed by Serhii Tsymbaliuk
parent 855e138a66
commit 1f391b7c3c
2 changed files with 6 additions and 2 deletions

View File

@ -145,7 +145,10 @@ return {
policies: [
IPA.idrange_adder_policy
]
}
},
deleter_dialog: {
title: '@i18n:objects.idrange.remove',
},
};};
IPA.idrange_adder_policy = function(spec) {

View File

@ -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"),