1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

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
commit 772de80604
2 changed files with 6 additions and 6 deletions

View File

@ -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: "<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: {
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)'
},
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: "<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: {
variable: 'ask_diff_mode_on_launch',
text: i18n._('Prompt on launch')