From 22635932ce3baa57be8e6925096c3119d555dd8e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 18 Jul 2017 11:36:48 -0400 Subject: [PATCH] Tweak diff mode wording in UI. --- .../src/inventories-hosts/inventories/adhoc/adhoc.form.js | 6 +++--- .../client/src/templates/job_templates/job-template.form.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/awx/ui/client/src/inventories-hosts/inventories/adhoc/adhoc.form.js b/awx/ui/client/src/inventories-hosts/inventories/adhoc/adhoc.form.js index da010ed9fb..efdd79d154 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/adhoc/adhoc.form.js +++ b/awx/ui/client/src/inventories-hosts/inventories/adhoc/adhoc.form.js @@ -111,13 +111,13 @@ export default ['i18n', function(i18n) { dataContainer: "body" }, diff_mode: { - label: i18n._('Diff Mode'), + label: i18n._('Show Changes'), type: 'toggleSwitch', toggleSource: 'diff_mode', - dataTitle: i18n._('Diff Mode'), + dataTitle: i18n._('Show Changes'), dataPlacement: 'right', dataContainer: 'body', - awPopOver: "

" + i18n._("If enabled, textual changes made to any templated files on the host are shown in the standard output.") + "

", + awPopOver: "

" + i18n._("If enabled, show the changes made by Ansible tasks, where supported. This is equivalent to Ansible's --diff mode.") + "

", }, become_enabled: { label: i18n._('Enable Privilege Escalation'), diff --git a/awx/ui/client/src/templates/job_templates/job-template.form.js b/awx/ui/client/src/templates/job_templates/job-template.form.js index 5da17d4c43..7d3eadbcb7 100644 --- a/awx/ui/client/src/templates/job_templates/job-template.form.js +++ b/awx/ui/client/src/templates/job_templates/job-template.form.js @@ -249,13 +249,13 @@ function(NotificationsList, CompletedJobsList, i18n) { ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)' }, diff_mode: { - label: i18n._('Diff Mode'), + label: i18n._('Show Changes'), type: 'toggleSwitch', toggleSource: 'diff_mode', - dataTitle: i18n._('Diff Mode'), + dataTitle: i18n._('Show Changes'), dataPlacement: 'right', dataContainer: 'body', - awPopOver: "

" + i18n._("If enabled, textual changes made to any templated files on the host are shown in the standard output.") + "

", + awPopOver: "

" + i18n._("If enabled, show the changes made by Ansible tasks, where supported. This is equivalent to Ansible's --diff mode.") + "

", subCheckbox: { variable: 'ask_diff_mode_on_launch', text: i18n._('Prompt on launch')