mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 03:43:28 +10:00
AddImages component wasn't translated
This commit is contained in:
parent
571304ea17
commit
9b341f5ab0
2 changed files with 5 additions and 2 deletions
|
|
@ -8,6 +8,7 @@
|
|||
* </AddImages>
|
||||
*/
|
||||
import React, { Component, PropTypes } from 'react';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
import { SortableContainer } from 'react-sortable-hoc';
|
||||
import classNames from 'classnames';
|
||||
import { Promised } from '../../components';
|
||||
|
|
@ -41,7 +42,7 @@ class Thumbnail extends Component {
|
|||
const { file, id, imageId } = this.props;
|
||||
// While image is uploading we show overlay on top of thumbnail
|
||||
const uploadingOverlay = !imageId
|
||||
? <div className={css.thumbnailLoading}>Uploading</div>
|
||||
? <div className={css.thumbnailLoading}><FormattedMessage id="AddImages.upload" /></div>
|
||||
: null;
|
||||
return (
|
||||
<Promised
|
||||
|
|
@ -57,7 +58,7 @@ class Thumbnail extends Component {
|
|||
</li>
|
||||
);
|
||||
}}
|
||||
renderRejected={() => <li className={css.thumbnail}>Could not read file</li>}
|
||||
renderRejected={() => <li className={css.thumbnail}><FormattedMessage id="AddImages.couldNotReadFile" /></li>}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"AddImages.upload": "Upload",
|
||||
"AddImages.couldNotReadFile": "Could not read file",
|
||||
"AuthenticationPage.emailAlreadyInUse": "An account already exists with this email address. Try logging in instead.",
|
||||
"AuthenticationPage.loginFailed": "The email and password you entered did not match our records. Please double-check and try again.",
|
||||
"AuthenticationPage.loginLinkText": "Login",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue