Add title to remove dialog of 'Automount Locations' 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 11:28:36 +03:00 committed by Serhii Tsymbaliuk
parent dcd9034332
commit a863cec392
2 changed files with 17 additions and 5 deletions

View File

@ -64,7 +64,10 @@ return {
],
adder_dialog: {
fields: [ 'cn' ]
}
},
deleter_dialog: {
title: '@i18n:objects.automountlocation.remove',
},
};};
var make_map_spec = function() {
@ -151,7 +154,10 @@ return {
]
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.automountmap.remove',
},
};};
var make_key_spec = function() {
@ -202,7 +208,10 @@ return {
return false;
},
fields:['automountkey','automountinformation']
}
},
deleter_dialog: {
title: '@i18n:objects.automountkey.remove',
},
};};
IPA.automount.key_details_facet = function(spec) {

View File

@ -423,14 +423,17 @@ class i18n_messages(Command):
"usergrouprules": _("User group rules"),
},
"automountkey": {
"remove": _("Remove automount keys"),
},
"automountlocation": {
"identity": _("Automount Location Settings")
"identity": _("Automount Location Settings"),
"remove": _("Remove automount locations"),
},
"automountmap": {
"map_type": _("Map Type"),
"direct": _("Direct"),
"indirect": _("Indirect"),
"remove": _("Remove automount maps"),
},
"ca": {
"remove": _("Remove certificate authorities"),