mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
Add title to remove dialog of 'Users' 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:
parent
09750589f5
commit
5eea5354ca
@ -87,7 +87,11 @@ return {
|
||||
],
|
||||
policies: [
|
||||
mod_user.stageuser_sidebar_policy
|
||||
]
|
||||
],
|
||||
deleter_dialog: {
|
||||
title: '@i18n:objects.stageuser.remove',
|
||||
$factory: IPA.search_deleter_dialog,
|
||||
},
|
||||
},
|
||||
{
|
||||
$type: 'details',
|
||||
@ -329,7 +333,11 @@ stageuser.search_preserved_facet_spec = {
|
||||
],
|
||||
policies: [
|
||||
mod_user.stageuser_sidebar_policy
|
||||
]
|
||||
],
|
||||
deleter_dialog: {
|
||||
title: '@i18n:objects.stageuser.preserved_remove',
|
||||
$factory: IPA.search_deleter_dialog,
|
||||
},
|
||||
};
|
||||
|
||||
mod_user.entity_spec.policies = mod_user.entity_spec.policies || {};
|
||||
|
@ -146,6 +146,7 @@ return {
|
||||
IPA.user.stageuser_sidebar_policy
|
||||
],
|
||||
deleter_dialog: {
|
||||
title: '@i18n:objects.user.remove',
|
||||
$factory: IPA.user.deleter_dialog
|
||||
}
|
||||
},
|
||||
|
@ -831,6 +831,8 @@ class i18n_messages(Command):
|
||||
"activate_success": _("${count} user(s) activated"),
|
||||
"label": _("Stage users"),
|
||||
"preserved_label": _("Preserved users"),
|
||||
"preserved_remove": _("Remove preserved users"),
|
||||
"remove": _("Remove stage users"),
|
||||
"stage_confirm": _("Are you sure you want to stage selected users?"),
|
||||
"stage_success": _("${count} users(s) staged"),
|
||||
"stage_one_confirm": _("Are you sure you want to stage ${object}?"),
|
||||
@ -908,6 +910,7 @@ class i18n_messages(Command):
|
||||
"mode_delete": _("delete"),
|
||||
"mode_preserve": _("preserve"),
|
||||
"noprivate": _("No private group"),
|
||||
"remove": _("Remove users"),
|
||||
"status_confirmation": _("Are you sure you want to ${action} the user?<br/>The change will take effect immediately."),
|
||||
"status_link": _("Click to ${action}"),
|
||||
"unlock": _("Unlock"),
|
||||
|
Loading…
Reference in New Issue
Block a user