Add title to remove dialog of 'Topology' 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 13:20:30 +03:00 committed by Serhii Tsymbaliuk
parent 1f391b7c3c
commit 291ea453b8
2 changed files with 14 additions and 2 deletions

View File

@ -190,7 +190,10 @@ return {
z_index: 1
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.topologysegment.remove',
},
};};
var make_server_spec = function() {
@ -461,7 +464,10 @@ return {
},
'description'
]
}
},
deleter_dialog: {
title: '@i18n:objects.topologylocation.remove',
},
};};
topology.location_adapter = declare([mod_field.Adapter], {

View File

@ -927,6 +927,12 @@ class i18n_messages(Command):
"replication_config": _("Replication configuration"),
"insufficient_domain_level" : _("Managed topology requires minimal domain level ${domainlevel}"),
},
"topologylocation": {
"remove": _("Remove IPA locations"),
},
"topologysegment": {
"remove": _("Remove topology segments"),
},
"trust": {
"account": _("Account"),
"admin_account": _("Administrative account"),