Add title to remove dialog of 'ID Views' 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-13 21:53:29 +03:00 committed by Serhii Tsymbaliuk
parent d06f4984be
commit d23376f54f
2 changed files with 15 additions and 3 deletions

View File

@ -215,7 +215,10 @@ return {
name: 'description'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.idview.remove',
},
};};
var make_idoverrideuser_spec = function() {
@ -328,7 +331,10 @@ return {
name: 'description'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.idview.remove_users',
},
};};
var make_idoverridegroup_spec = function() {
@ -408,7 +414,10 @@ return {
name: 'description'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.idview.remove_groups',
},
};};

View File

@ -693,6 +693,9 @@ class i18n_messages(Command):
"apply_hosts_title": _("Apply ID view ${primary_key} on ${entity}"),
"ipaassignedidview": _("Assigned ID View"),
"overrides_tab": _("${primary_key} overrides:"),
"remove": _("Remove ID views"),
"remove_users": _("Remove user ID overrides"),
"remove_groups": _("Remove group ID overrides"),
"unapply_hostgroups": _("Un-apply from host groups"),
"unapply_hostgroups_all_title": _("Un-apply ID Views from hosts of hostgroups"),
"unapply_hostgroups_title": _("Un-apply ID View ${primary_key} from hosts of ${entity}"),