Skip to content

Commit 69efc57

Browse files
committed
Further JS string fixes.
1 parent 4845acf commit 69efc57

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

web/pgadmin/browser/server_groups/servers/databases/dbms_job_scheduler/dbms_jobs/static/js/dbms_job.ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export default class DBMSJobSchema extends BaseUISchema {
172172
end_time_js = moment(end_time_js[0] + ' ' + end_time_js[1]);
173173

174174
if(end_time_js.isBefore(start_time_js)) {
175-
setError('jsscend', gettext('Start time must be less than end time.'));
175+
setError('jsscend', gettext('Start time must be earlier than end time.'));
176176
return true;
177177
} else {
178178
setError('jsscend', null);

web/pgadmin/browser/server_groups/servers/databases/dbms_job_scheduler/dbms_schedules/static/js/dbms_schedule.ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default class DBMSScheduleSchema extends BaseUISchema {
7777
end_time_js = moment(end_time_js[0] + ' ' + end_time_js[1]);
7878

7979
if(end_time_js.isBefore(start_time_js)) {
80-
setError('jsscend', gettext('Start time must be less than end time.'));
80+
setError('jsscend', gettext('Start time must be earlier than end time.'));
8181
return true;
8282
} else {
8383
setError('jsscend', null);

web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export default class PgaJobScheduleSchema extends BaseUISchema {
252252
end_time_js = moment(end_time_js[0] + ' ' + end_time_js[1]);
253253

254254
if(end_time_js.isBefore(start_time_js)) {
255-
setError('jscend', gettext('Start time must be less than end time.'));
255+
setError('jscend', gettext('Start time must be earlier than end time.'));
256256
return true;
257257
} else {
258258
setError('jscend', null);

web/pgadmin/misc/cloud/static/js/azure_schema.ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class AzureCredSchema extends BaseUISchema {
166166
deps: ['auth_btn'],
167167
type: (state)=>({
168168
type: 'note',
169-
text: `To complete the authenticatation, use a web browser to open the page https://microsoft.com/devicelogin and enter the code : <strong>${state.auth_code}</strong>`,
169+
text: `To complete the authentication, use a web browser to open the page https://microsoft.com/devicelogin and enter the code: <strong>${state.auth_code}</strong>`,
170170
}),
171171
visible: (state)=>{
172172
return Boolean(state.auth_code);

web/pgadmin/misc/cloud/static/js/google.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export function GoogleCredentials(props) {
5252
}
5353
})
5454
.catch((error) => {
55-
_eventBus.fireEvent('SET_ERROR_MESSAGE_FOR_CLOUD_WIZARD',[MESSAGE_TYPE.ERROR, gettext(`Error while authentication: ${error}`)]);
56-
reject(new Error(gettext(`Error while authentication: ${error}`)));
55+
_eventBus.fireEvent('SET_ERROR_MESSAGE_FOR_CLOUD_WIZARD',[MESSAGE_TYPE.ERROR, gettext(`Error during authentication: ${error}`)]);
56+
reject(new Error(gettext(`Error during authentication: ${error}`)));
5757
});
5858
});
5959
},

web/pgadmin/misc/cloud/static/js/google_schema.ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ class GoogleHighAvailabilitySchema extends BaseUISchema {
334334

335335
validate(data, setErrMsg) {
336336
if (data.high_availability && (isEmptyString(data.secondary_availability_zone)) || (data.secondary_availability_zone == data.availability_zone)) {
337-
setErrMsg('secondary_availability_zone', gettext('Please select Secondary availability zone different than primary.'));
337+
setErrMsg('secondary_availability_zone', gettext('Please select a secondary availability zone different from the primary.'));
338338
return true;
339339
}
340340
return false;

0 commit comments

Comments
 (0)