mention Romanian translation, fix reference to error message
This commit is contained in:
@@ -33,6 +33,7 @@ As of the time of this writing the following translations exist:
|
||||
* Chinese (simplified)
|
||||
* German
|
||||
* Korean
|
||||
* Romanian
|
||||
* Russian
|
||||
* Spanish
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user