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)
|
* Chinese (simplified)
|
||||||
* German
|
* German
|
||||||
* Korean
|
* Korean
|
||||||
|
* Romanian
|
||||||
* Russian
|
* Russian
|
||||||
* Spanish
|
* Spanish
|
||||||
|
|
||||||
|
|||||||
@@ -663,7 +663,7 @@ class MessagesView extends React.Component {
|
|||||||
handleAttachFile(file) {
|
handleAttachFile(file) {
|
||||||
if (file.size > MAX_EXTERN_ATTACHMENT_SIZE) {
|
if (file.size > MAX_EXTERN_ATTACHMENT_SIZE) {
|
||||||
// Too large.
|
// 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');
|
{size: bytesToHumanSize(file.size), limit: bytesToHumanSize(MAX_EXTERN_ATTACHMENT_SIZE)}), 'err');
|
||||||
} else {
|
} else {
|
||||||
this.setState({ docPreview: {
|
this.setState({ docPreview: {
|
||||||
|
|||||||
Reference in New Issue
Block a user