Node.js based forum software built for the modern web
fix: update copy to reflect real default value of 2000px for `resizeImageWidthThreshold`
Julian Lam4614958bccd0
diff --git a/public/language/en-GB/admin/settings/uploads.json b/public/language/en-GB/admin/settings/uploads.jsonindex 078a19ccd2..f99528e4d0 100644--- a/public/language/en-GB/admin/settings/uploads.json+++ b/public/language/en-GB/admin/settings/uploads.json@@ -9,7 +9,7 @@"private-extensions": "File extensions to make private","private-uploads-extensions-help": "Enter comma-separated list of file extensions to make private here (e.g. <code>pdf,xls,doc</code>). An empty list means all files are private.","resize-image-width-threshold": "Resize images if they are wider than specified width",- "resize-image-width-threshold-help": "(in pixels, default: 1520 pixels, set to 0 to disable)",+ "resize-image-width-threshold-help": "(in pixels, default: 2000 pixels, set to 0 to disable)","resize-image-width": "Resize images down to specified width","resize-image-width-help": "(in pixels, default: 760 pixels, set to 0 to disable)","resize-image-quality": "Quality to use when resizing images",diff --git a/test/uploads.js b/test/uploads.jsindex 5df32ba2fd..ff59c4c1f2 100644--- a/test/uploads.js+++ b/test/uploads.js@@ -161,7 +161,7 @@ describe('Upload Controllers', () => {assert(body.response.images[0].url);assert(body.response.images[0].url.match(/\/assets\/uploads\/files\/\d+-test-resized\.png/));meta.config.resizeImageWidth = oldValue;- meta.config.resizeImageWidthThreshold = 1520;+ meta.config.resizeImageWidthThreshold = 2000;});it('should upload a file to a post', async () => {