fixed id of a translated message

This commit is contained in:
or-else
2020-12-06 19:47:01 -08:00
parent 0c9e6379d6
commit af58db914b
5 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -3519,7 +3519,9 @@ class MessagesView extends react__WEBPACK_IMPORTED_MODULE_0___default.a.Componen
handleAttachFile(file) {
if (file.size > _config_js__WEBPACK_IMPORTED_MODULE_13__["MAX_EXTERN_ATTACHMENT_SIZE"]) {
this.props.onError(this.props.intl.formatMessage(messages.file_attachment_too_large, {
this.props.onError(this.props.intl.formatMessage({
id: 'file_attachment_too_large'
}, {
size: Object(_lib_strformat_js__WEBPACK_IMPORTED_MODULE_16__["bytesToHumanSize"])(file.size),
limit: Object(_lib_strformat_js__WEBPACK_IMPORTED_MODULE_16__["bytesToHumanSize"])(_config_js__WEBPACK_IMPORTED_MODULE_13__["MAX_EXTERN_ATTACHMENT_SIZE"])
}), 'err');