mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add title to 'unprovision' dialog
To improve translation quality the title of 'unprovision' dialog should be specified explicitly in the spec and should be an entire sentence. Fixes: https://pagure.io/freeipa/issue/7704 Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
committed by
Serhii Tsymbaliuk
parent
57e65a5c9f
commit
6b27c20326
@@ -927,8 +927,6 @@ IPA.host_unprovision_dialog = function(spec) {
|
||||
var that = IPA.dialog(spec);
|
||||
that.facet = spec.facet;
|
||||
|
||||
that.title = that.title.replace('${entity}', that.entity.metadata.label_singular);
|
||||
|
||||
that.create_content = function() {
|
||||
that.container.append(text.get('@i18n:objects.host.unprovision_confirmation'));
|
||||
};
|
||||
|
||||
@@ -654,9 +654,6 @@ IPA.service.unprovision_dialog = function(spec) {
|
||||
var that = IPA.dialog(spec);
|
||||
that.facet = spec.facet;
|
||||
|
||||
var entity_singular = that.entity.metadata.label_singular;
|
||||
that.title = that.title.replace('${entity}', entity_singular);
|
||||
|
||||
that.create_content = function() {
|
||||
that.container.append(text.get('@i18n:objects.service.unprovision_confirmation'));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user