mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
Add title to remove dialog of 'Sudo' 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
460186806b
commit
b5073e9670
@ -98,7 +98,10 @@ var spec = {
|
||||
],
|
||||
adder_dialog: {
|
||||
fields: [ 'cn' ]
|
||||
}
|
||||
},
|
||||
deleter_dialog: {
|
||||
title: '@i18n:objects.sudorule.remove',
|
||||
},
|
||||
};
|
||||
|
||||
add_sudorule_details_facet_widgets(spec.facets[1]);
|
||||
@ -163,7 +166,10 @@ return {
|
||||
name: 'description'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
deleter_dialog: {
|
||||
title: '@i18n:objects.sudocmd.remove',
|
||||
},
|
||||
};};
|
||||
|
||||
|
||||
@ -223,7 +229,10 @@ return {
|
||||
name: 'description'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
deleter_dialog: {
|
||||
title: '@i18n:objects.sudocmdgroup.remove',
|
||||
},
|
||||
};};
|
||||
|
||||
/**
|
||||
|
@ -855,9 +855,11 @@ class i18n_messages(Command):
|
||||
},
|
||||
"sudocmd": {
|
||||
"groups": _("Groups"),
|
||||
"remove": _("Remove sudo commands"),
|
||||
},
|
||||
"sudocmdgroup": {
|
||||
"commands": _("Commands"),
|
||||
"remove": _("Remove sudo command groups"),
|
||||
},
|
||||
"sudorule": {
|
||||
"allow": _("Allow"),
|
||||
@ -873,6 +875,7 @@ class i18n_messages(Command):
|
||||
"option_added": _("Option added"),
|
||||
"option_removed": _("${count} option(s) removed"),
|
||||
"options": _("Options"),
|
||||
"remove": _("Remove sudo rules"),
|
||||
"runas": _("As Whom"),
|
||||
"specified_commands": _("Specified Commands and Groups"),
|
||||
"specified_groups": _("Specified Groups"),
|
||||
|
Loading…
Reference in New Issue
Block a user