errUploadFileSize is wrong in ElFinder.DTO.Error class

May 6, 2013 at 7:38 PM
The correct error code is eerrFileMaxSize. Correcting this is necessary so that the localized error message works as expected. :)
Coordinator
May 7, 2013 at 7:58 AM
Hi, Leniel

Look at elfinder.en.js
'errUploadFileSize'    : 'File exceeds maximum allowed size.', //  old name - errFileMaxSize
But in other translations I can see, that elfinder use key 'errFileMaxSize'. Therefore, there is some ambiguity in the use of key.
I think we need to support localized error messages, so I change error key a bit later
May 7, 2013 at 2:34 PM
Hi Evgeny,

Interesting... the version of the translation scripts I have doesn't have that comment. I think I'm using elFinder's branch version 2.1 https://github.com/Studio-42/elFinder/tree/2.1 and this explains why it's different.
Coordinator
Jun 16, 2013 at 5:54 PM
Fixed in 33805.