mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
prepare to async: typos in error messages
This change extracts the grammar correction performed on the async branch, anticipating them in a single commit. It cannot be folded with the previous one, as it is not purely cosmetic.
This commit is contained in:
parent
9497ee734f
commit
e841798314
6 changed files with 12 additions and 12 deletions
|
@ -151,7 +151,7 @@ exports.doImport = function(req, res, padId)
|
|||
padManager.getPad(padId, function(err, _pad) {
|
||||
var headCount = _pad.head;
|
||||
if (headCount >= 10) {
|
||||
apiLogger.warn("Direct database Import attempt of a pad that already has content, we wont be doing this");
|
||||
apiLogger.warn("Direct database Import attempt of a pad that already has content, we won't be doing this");
|
||||
return callback("padHasData");
|
||||
}
|
||||
|
||||
|
|
|
@ -457,7 +457,7 @@ function handleGetChatMessages(client, message)
|
|||
var count = end - start;
|
||||
|
||||
if (count < 0 || count > 100) {
|
||||
messageLogger.warn("Dropped message, GetChatMessages Message, client requested invalid amout of messages!");
|
||||
messageLogger.warn("Dropped message, GetChatMessages Message, client requested invalid amount of messages!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ exports.setSocketIO = function(_socket) {
|
|||
}
|
||||
} else {
|
||||
// drop message
|
||||
messageLogger.warn("Dropped message cause of bad permissions:" + stringifyWithoutPassword(message));
|
||||
messageLogger.warn("Dropped message because of bad permissions:" + stringifyWithoutPassword(message));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue