Various string improvements and fixes.

This commit is contained in:
Alexander Lakhin
2017-11-01 12:58:19 +00:00
committed by Dave Page
parent 714a429879
commit 9be1364d1a
21 changed files with 40 additions and 40 deletions

View File

@@ -1000,7 +1000,7 @@ define([
page_title: _('Final (Review Selection) (step 3 of 3)'),
show_description: _('The SQL below will be executed on the ' +
'database server to grant the selected privileges. ' +
'Please click on <b>Finish</b> to complete the process. '),
'Please click on <b>Finish</b> to complete the process.'),
model: newModel,
view: new(function() {

View File

@@ -121,7 +121,7 @@ class SqlEditorModule(PgAdminModule):
'The length of time to display the query info notifier after '
'execution has completed. A value of -1 disables the notifier '
'and a value of 0 displays it until clicked. Values greater '
'than 1 display the notifier for the number of seconds '
'than 0 display the notifier for the number of seconds '
'specified.'
)
)

View File

@@ -2227,12 +2227,12 @@ define('tools.querytool', [
} else {
$("#btn-save").prop('disabled', true);
}
alertify.success(gettext("Row(s) deleted"));
alertify.success(gettext("Row(s) deleted."));
} else {
// There are other data to needs to be updated on server
if(is_updated) {
alertify.alert(gettext("Operation failed"),
gettext("There are unsaved changes in grid, Please save them first to avoid inconsistency in data")
gettext("There are unsaved changes in the grid. Please save them first to avoid data inconsistencies.")
);
return;
}
@@ -3439,13 +3439,13 @@ define('tools.querytool', [
success: function (res) {
if (res.success == undefined || !res.success) {
alertify.alert('Explain options error',
gettext("Error occurred while setting verbose option in explain")
gettext("Error occurred while setting verbose option in explain.")
);
}
},
error: function (e) {
alertify.alert('Explain options error',
gettext("Error occurred while setting verbose option in explain")
gettext("Error occurred while setting verbose option in explain.")
);
return;
}
@@ -3477,13 +3477,13 @@ define('tools.querytool', [
success: function (res) {
if (res.success == undefined || !res.success) {
alertify.alert('Explain options error',
gettext("Error occurred while setting costs option in explain")
gettext("Error occurred while setting costs option in explain.")
);
}
},
error: function (e) {
alertify.alert('Explain options error',
gettext("Error occurred while setting costs option in explain")
gettext("Error occurred while setting costs option in explain.")
);
}
});
@@ -3514,13 +3514,13 @@ define('tools.querytool', [
success: function (res) {
if (res.success == undefined || !res.success) {
alertify.alert('Explain options error',
gettext("Error occurred while setting buffers option in explain")
gettext("Error occurred while setting buffers option in explain.")
);
}
},
error: function (e) {
alertify.alert('Explain options error',
gettext("Error occurred while setting buffers option in explain")
gettext("Error occurred while setting buffers option in explain.")
);
}
});
@@ -3550,13 +3550,13 @@ define('tools.querytool', [
success: function (res) {
if (res.success == undefined || !res.success) {
alertify.alert('Explain options error',
gettext("Error occurred while setting timing option in explain")
gettext("Error occurred while setting timing option in explain.")
);
}
},
error: function (e) {
alertify.alert('Explain options error',
gettext("Error occurred while setting timing option in explain")
gettext("Error occurred while setting timing option in explain.")
);
}
});
@@ -3654,7 +3654,7 @@ define('tools.querytool', [
error: function (e) {
updateUI();
alertify.alert('Get Preferences error',
gettext("Error occurred while getting query tool options ")
gettext("Error occurred while getting query tool options.")
);
}
});

View File

@@ -282,7 +282,7 @@ def delete(uid):
return make_json_response(
success=1,
info=_("User Deleted."),
info=_("User deleted."),
data={}
)
except Exception as e: