Improve wording.
parent
7d765fea04
commit
598f69b63d
|
@ -72,7 +72,7 @@ class ExecuteQuery {
|
|||
self.removeGridViewMarker();
|
||||
|
||||
if (ExecuteQuery.isSqlCorrect(httpMessageData)) {
|
||||
self.loadingScreen.setMessage('Waiting for the query execution to complete...');
|
||||
self.loadingScreen.setMessage('Waiting for the query to complete...');
|
||||
|
||||
self.updateSqlEditorStateWithInformationFromServer(httpMessageData.data);
|
||||
|
||||
|
@ -169,7 +169,7 @@ class ExecuteQuery {
|
|||
}
|
||||
|
||||
initializeExecutionOnSqlEditor(sqlStatement) {
|
||||
this.loadingScreen.show('Initializing query execution...');
|
||||
this.loadingScreen.show('Running query...');
|
||||
|
||||
$('#btn-flash').prop('disabled', true);
|
||||
|
||||
|
|
|
@ -2150,14 +2150,14 @@ define('tools.querytool', [
|
|||
|
||||
self.trigger(
|
||||
'pgadmin-sqleditor:loading-icon:show',
|
||||
gettext('Initializing query execution.')
|
||||
gettext('Running query...')
|
||||
);
|
||||
|
||||
$('#btn-flash').prop('disabled', true);
|
||||
|
||||
self.trigger(
|
||||
'pgadmin-sqleditor:loading-icon:message',
|
||||
gettext('Waiting for the query execution to complete...')
|
||||
gettext('Waiting for the query to complete...')
|
||||
);
|
||||
|
||||
if (arguments.length > 0 &&
|
||||
|
|
|
@ -1055,11 +1055,11 @@ describe('ExecuteQuery', () => {
|
|||
jasmine.clock().uninstall();
|
||||
});
|
||||
|
||||
it('should update loading text to "Initializing query execution"', () => {
|
||||
it('should update loading text to "Running query"', () => {
|
||||
expect(sqlEditorMock.trigger)
|
||||
.toHaveBeenCalledWith(
|
||||
'pgadmin-sqleditor:loading-icon:show',
|
||||
'Initializing query execution...'
|
||||
'Running query...'
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -1104,11 +1104,11 @@ describe('ExecuteQuery', () => {
|
|||
executeQuery.execute('some sql query', '', true);
|
||||
});
|
||||
|
||||
it('should changes the loading message to "Waiting for the query execution to complete"', (done) => {
|
||||
it('should changes the loading message to "Waiting for the query to complete"', (done) => {
|
||||
setTimeout(() => {
|
||||
expect(sqlEditorMock.trigger).toHaveBeenCalledWith(
|
||||
'pgadmin-sqleditor:loading-icon:message',
|
||||
'Waiting for the query execution to complete...'
|
||||
'Waiting for the query to complete...'
|
||||
);
|
||||
done();
|
||||
}, 0);
|
||||
|
|
Loading…
Reference in New Issue