Use consistent wording for JT options

This commit is contained in:
Jake McDermott
2019-10-09 10:54:32 -04:00
parent ff67d65065
commit bc6648b518

View File

@@ -328,14 +328,14 @@ function(NotificationsList, i18n) {
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)' ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
}, { }, {
name: 'allow_callbacks', name: 'allow_callbacks',
label: i18n._('Allow Provisioning Callbacks'), label: i18n._('Enable Provisioning Callbacks'),
type: 'checkbox', type: 'checkbox',
ngChange: "toggleCallback('host_config_key')", ngChange: "toggleCallback('host_config_key')",
column: 2, column: 2,
awPopOver: "<p>" + i18n._("Enables creation of a provisioning callback URL. Using the URL a host can contact {{BRAND_NAME}} and request a configuration update " + awPopOver: "<p>" + i18n._("Enables creation of a provisioning callback URL. Using the URL a host can contact {{BRAND_NAME}} and request a configuration update " +
"using this job template.") + "</p>", "using this job template.") + "</p>",
dataPlacement: 'right', dataPlacement: 'right',
dataTitle: i18n._('Allow Provisioning Callbacks'), dataTitle: i18n._('Enable Provisioning Callbacks'),
dataContainer: "body", dataContainer: "body",
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)' ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
}, { }, {
@@ -360,12 +360,12 @@ function(NotificationsList, i18n) {
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)' ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
}, { }, {
name: 'use_fact_cache', name: 'use_fact_cache',
label: i18n._('Use Fact Cache'), label: i18n._('Enable Fact Cache'),
type: 'checkbox', type: 'checkbox',
column: 2, column: 2,
awPopOver: "<p>" + i18n._("If enabled, use cached facts if available and store discovered facts in the cache.") + "</p>", awPopOver: "<p>" + i18n._("If enabled, use cached facts if available and store discovered facts in the cache.") + "</p>",
dataPlacement: 'right', dataPlacement: 'right',
dataTitle: i18n._('Use Fact Cache'), dataTitle: i18n._('Enable Fact Cache'),
dataContainer: "body", dataContainer: "body",
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)' ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
}] }]