Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Human readable sizes in messages like "msgSizeTooLarge" #1771

Closed
wergio opened this issue Dec 23, 2021 · 1 comment
Closed

Human readable sizes in messages like "msgSizeTooLarge" #1771

wergio opened this issue Dec 23, 2021 · 1 comment

Comments

@wergio
Copy link

wergio commented Dec 23, 2021

messages like "msgSizeTooLarge": "File "{name}" ({size} KB) exceeds maximum allowed upload size of {maxSize} KB. Please retry your upload!"

should not force only KB size, but use _getSize() to allow more human readable sizes

this is more like an idea for an enhancement, or there is a way to force it?

PS: very cool plugin! :-)

@kartik-v
Copy link
Owner

Enhancement done via above commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants