Add title to 'add' dialog for 'Automount' entity

To improve translation quality the title of 'Add' dialog should be
specified explicitly in the spec and should be an entire sentence.

Fixes: https://pagure.io/freeipa/issue/7707
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin authored and Serhii Tsymbaliuk committed 2018-10-01 10:28:14 +02:00
1 parent 98c290e403
commit bafa0d5f4a
2 files changed
+6

No files matched your search

+3
View File
@@ -63,6 +63,7 @@ return {
}
],
adder_dialog: {
title: '@i18n:objects.automountlocation.add',
fields: [ 'cn' ]
},
deleter_dialog: {
@@ -112,6 +113,7 @@ return {
}
],
adder_dialog: {
title: '@i18n:objects.automountmap.add',
$factory: IPA.automountmap_adder_dialog,
sections: [
{
@@ -193,6 +195,7 @@ return {
}
],
adder_dialog: {
title: '@i18n:objects.automountkey.add',
show_edit_page : function(entity, result){
var key = result.automountkey[0];
var info = result.automountinformation[0];
+3
View File
@@ -491,13 +491,16 @@ class i18n_messages(Command):
"usergrouprules": _("User group rules"),
},
"automountkey": {
"add": _("Add automount key"),
"remove": _("Remove automount keys"),
},
"automountlocation": {
"add": _("Add automount location"),
"identity": _("Automount Location Settings"),
"remove": _("Remove automount locations"),
},
"automountmap": {
"add": _("Add automount map"),
"map_type": _("Map Type"),
"direct": _("Direct"),
"indirect": _("Indirect"),