mention Romanian translation, fix reference to error message

This commit is contained in:
or-else
2020-12-04 12:00:09 -08:00
parent a7998a1d29
commit 0c9e6379d6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -33,6 +33,7 @@ As of the time of this writing the following translations exist:
* Chinese (simplified)
* German
* Korean
* Romanian
* Russian
* Spanish
+1 -1
View File
@@ -663,7 +663,7 @@ class MessagesView extends React.Component {
handleAttachFile(file) {
if (file.size > MAX_EXTERN_ATTACHMENT_SIZE) {
// Too large.
this.props.onError(this.props.intl.formatMessage(messages.file_attachment_too_large,
this.props.onError(this.props.intl.formatMessage('file_attachment_too_large',
{size: bytesToHumanSize(file.size), limit: bytesToHumanSize(MAX_EXTERN_ATTACHMENT_SIZE)}), 'err');
} else {
this.setState({ docPreview: {