mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-14 18:47:32 +01:00
@@ -97,7 +97,7 @@
|
|||||||
"multer": "2.0.2",
|
"multer": "2.0.2",
|
||||||
"nconf": "0.13.0",
|
"nconf": "0.13.0",
|
||||||
"nodebb-plugin-2factor": "7.6.1",
|
"nodebb-plugin-2factor": "7.6.1",
|
||||||
"nodebb-plugin-composer-default": "10.3.1",
|
"nodebb-plugin-composer-default": "10.3.2",
|
||||||
"nodebb-plugin-dbsearch": "6.3.5",
|
"nodebb-plugin-dbsearch": "6.3.5",
|
||||||
"nodebb-plugin-emoji": "6.0.5",
|
"nodebb-plugin-emoji": "6.0.5",
|
||||||
"nodebb-plugin-emoji-android": "4.1.1",
|
"nodebb-plugin-emoji-android": "4.1.1",
|
||||||
|
|||||||
@@ -292,6 +292,7 @@
|
|||||||
"api.401": "A valid login session was not found. Please log in and try again.",
|
"api.401": "A valid login session was not found. Please log in and try again.",
|
||||||
"api.403": "You are not authorised to make this call",
|
"api.403": "You are not authorised to make this call",
|
||||||
"api.404": "Invalid API call",
|
"api.404": "Invalid API call",
|
||||||
|
"api.413": "The request payload is too large",
|
||||||
"api.426": "HTTPS is required for requests to the write api, please re-send your request via HTTPS",
|
"api.426": "HTTPS is required for requests to the write api, please re-send your request via HTTPS",
|
||||||
"api.429": "You have made too many requests, please try again later",
|
"api.429": "You have made too many requests, please try again later",
|
||||||
"api.500": "An unexpected error was encountered while attempting to service your request.",
|
"api.500": "An unexpected error was encountered while attempting to service your request.",
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ define('uploadHelpers', ['alerts'], function (alerts) {
|
|||||||
'[[error:parse-error]]';
|
'[[error:parse-error]]';
|
||||||
|
|
||||||
if (xhr && xhr.status === 413) {
|
if (xhr && xhr.status === 413) {
|
||||||
errorMsg = xhr.statusText || 'Request Entity Too Large';
|
errorMsg = '[[error:api.413]]';
|
||||||
}
|
}
|
||||||
alerts.error(errorMsg);
|
alerts.error(errorMsg);
|
||||||
alerts.remove(alert_id);
|
alerts.remove(alert_id);
|
||||||
|
|||||||
Reference in New Issue
Block a user