Count in binary bytes and remove i18 from file size format service

This commit is contained in:
Rinpatch 2018-12-10 17:06:32 +03:00
parent 88145c5934
commit 6a00854189
4 changed files with 13 additions and 11 deletions

View file

@ -53,7 +53,7 @@
"account_not_locked_warning_link": "locked",
"attachments_sensitive": "Mark attachments as sensitive",
"upload_error": "Upload failed.",
"upload_error_file_too_big": "File too big [{filesize} / {allowedsize}]",
"upload_error_file_too_big": "File too big [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]",
"upload_error_generic": "Try again later",
"content_type": {
"plain_text": "Plain text"
@ -232,9 +232,9 @@
},
"file_size_units": {
"B": "B",
"KB": "KB",
"MB": "MB",
"GB": "GB",
"TB": "TB"
"KiB": "KiB",
"MiB": "MiB",
"GiB": "GiB",
"TiB": "TiB"
}
}