Merge pull request #7132 from wenottingham/diffmode-changes

Tweak diff mode wording in UI.
This commit is contained in:
Bill Nottingham
2017-07-19 14:40:03 -04:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -111,13 +111,13 @@ export default ['i18n', function(i18n) {
dataContainer: "body" dataContainer: "body"
}, },
diff_mode: { diff_mode: {
label: i18n._('Diff Mode'), label: i18n._('Show Changes'),
type: 'toggleSwitch', type: 'toggleSwitch',
toggleSource: 'diff_mode', toggleSource: 'diff_mode',
dataTitle: i18n._('Diff Mode'), dataTitle: i18n._('Show Changes'),
dataPlacement: 'right', dataPlacement: 'right',
dataContainer: 'body', dataContainer: 'body',
awPopOver: "<p>" + i18n._("If enabled, textual changes made to any templated files on the host are shown in the standard output.") + "</p>", awPopOver: "<p>" + i18n._("If enabled, show the changes made by Ansible tasks, where supported. This is equivalent to Ansible's --diff mode.") + "</p>",
}, },
become_enabled: { become_enabled: {
label: i18n._('Enable Privilege Escalation'), label: i18n._('Enable Privilege Escalation'),

View File

@@ -249,13 +249,13 @@ function(NotificationsList, CompletedJobsList, i18n) {
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)' ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
}, },
diff_mode: { diff_mode: {
label: i18n._('Diff Mode'), label: i18n._('Show Changes'),
type: 'toggleSwitch', type: 'toggleSwitch',
toggleSource: 'diff_mode', toggleSource: 'diff_mode',
dataTitle: i18n._('Diff Mode'), dataTitle: i18n._('Show Changes'),
dataPlacement: 'right', dataPlacement: 'right',
dataContainer: 'body', dataContainer: 'body',
awPopOver: "<p>" + i18n._("If enabled, textual changes made to any templated files on the host are shown in the standard output.") + "</p>", awPopOver: "<p>" + i18n._("If enabled, show the changes made by Ansible tasks, where supported. This is equivalent to Ansible's --diff mode.") + "</p>",
subCheckbox: { subCheckbox: {
variable: 'ask_diff_mode_on_launch', variable: 'ask_diff_mode_on_launch',
text: i18n._('Prompt on launch') text: i18n._('Prompt on launch')