From d4af70aeb9dc44884047ecebd4d71690a9f6e24d Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 3 Oct 2016 14:20:04 +0100 Subject: [PATCH] Label corrections. --- .../templates/pga_schedule/js/pga_schedule.js | 6 +++--- .../steps/templates/pga_jobstep/js/pga_jobstep.js | 2 +- .../servers/pgagent/templates/pga_job/js/pga_job.js | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/templates/pga_schedule/js/pga_schedule.js b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/templates/pga_schedule/js/pga_schedule.js index 74c1ffaa0..48b58fdcb 100644 --- a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/templates/pga_schedule/js/pga_schedule.js +++ b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/templates/pga_schedule/js/pga_schedule.js @@ -258,7 +258,7 @@ function($, _, S, pgAdmin, moment, pgBrowser, Alertify, Backform) { cellHeaderClasses: 'width_percent_45', disabled: function() { return false; } },{ - id: 'jscenabled', label: '{{ _('Enabled') }}', type: 'switch', + id: 'jscenabled', label: '{{ _('Enabled?') }}', type: 'switch', disabled: function() { return false; }, cellHeaderClasses: 'width_percent_5' },{ @@ -278,12 +278,12 @@ function($, _, S, pgAdmin, moment, pgBrowser, Alertify, Backform) { }, cellHeaderClasses: 'width_percent_25', modelFormat: 'YYYY-MM-DD HH:mm:SS Z' },{ - id: 'jscweekdays', label:'{{ _('Week Days') }}', type: 'text', + id: 'jscweekdays', label:'{{ _('Week days') }}', type: 'text', control: Backform.Control.extend({ formatter: new BooleanArrayFormatter(weekdays, false) }), mode: ['properties'] },{ - id: 'jscmonthdays', label:'{{ _('Month Days') }}', type: 'text', + id: 'jscmonthdays', label:'{{ _('Month days') }}', type: 'text', control: Backform.Control.extend({ formatter: new BooleanArrayFormatter(monthdays, false) }), mode: ['properties'] diff --git a/web/pgadmin/browser/server_groups/servers/pgagent/steps/templates/pga_jobstep/js/pga_jobstep.js b/web/pgadmin/browser/server_groups/servers/pgagent/steps/templates/pga_jobstep/js/pga_jobstep.js index 9ea8272e7..6255e66d6 100644 --- a/web/pgadmin/browser/server_groups/servers/pgagent/steps/templates/pga_jobstep/js/pga_jobstep.js +++ b/web/pgadmin/browser/server_groups/servers/pgagent/steps/templates/pga_jobstep/js/pga_jobstep.js @@ -97,7 +97,7 @@ function($, _, S, pgAdmin, pgBrowser, Alertify, Backform) { disabled: function(m) { return false; }, cellHeaderClasses: 'width_percent_60' },{ - id: 'jstenabled', label: '{{ _('Enabled') }}', type: 'switch', + id: 'jstenabled', label: '{{ _('Enabled?') }}', type: 'switch', disabled: function(m) { return false; } },{ id: 'jstkind', label: '{{ _('Kind') }}', type: 'switch', diff --git a/web/pgadmin/browser/server_groups/servers/pgagent/templates/pga_job/js/pga_job.js b/web/pgadmin/browser/server_groups/servers/pgagent/templates/pga_job/js/pga_job.js index cffd4940d..ad757ba48 100644 --- a/web/pgadmin/browser/server_groups/servers/pgagent/templates/pga_job/js/pga_job.js +++ b/web/pgadmin/browser/server_groups/servers/pgagent/templates/pga_job/js/pga_job.js @@ -87,23 +87,23 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) { id: 'jobid', label:'{{ _('ID') }}', mode: ['properties'], type: 'int' },{ - id: 'jobenabled', label:'{{ _('Enabled') }}', type: 'switch', + id: 'jobenabled', label:'{{ _('Enabled?') }}', type: 'switch', cellHeaderClasses: 'width_percent_5' },{ - id: 'jobclass', label: '{{ _('Job Class') }}', type: 'text', + id: 'jobclass', label: '{{ _('Job class') }}', type: 'text', mode: ['properties'] },{ - id: 'jobjclid', label: '{{ _('Job Class') }}', type: 'integer', + id: 'jobjclid', label: '{{ _('Job class') }}', type: 'integer', control: 'node-ajax-options', url: 'classes', url_with_id: false, cache_node: 'server', mode: ['create', 'edit'], select2: {allowClear: false}, - helpMessage: '{{ _('Please a class to categorize the job. This option will not affect the way the job runs.') }}' + helpMessage: '{{ _('Please select a class to categorize the job. This option will not affect the way the job runs.') }}' },{ - id: 'jobhostagent', label: '{{ _('Host Agent') }}', type: 'text', + id: 'jobhostagent', label: '{{ _('Host agent') }}', type: 'text', mode: ['edit', 'create'], helpMessage: '{{ _('Enter the hostname of a machine running pgAgent if you wish to ensure only that machine will run this job. Leave blank if any host may run the job.') }}' },{ - id: 'jobhostagent', label: '{{ _('Host Agent') }}', type: 'text', + id: 'jobhostagent', label: '{{ _('Host agent') }}', type: 'text', mode: ['properties'] },{ id: 'jobcreated', type: 'text', mode: ['properties'],