diff --git a/src/components/AddImages/AddImages.js b/src/components/AddImages/AddImages.js index 3fc528d1..8b35d724 100644 --- a/src/components/AddImages/AddImages.js +++ b/src/components/AddImages/AddImages.js @@ -8,6 +8,7 @@ * */ 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 - ?
Uploading
+ ?
: null; return ( ); }} - renderRejected={() =>
  • Could not read file
  • } + renderRejected={() =>
  • } /> ); } diff --git a/src/translations/en.json b/src/translations/en.json index 9446ab3a..8a2d7a39 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -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",