Fix formatMessage imports
A few translations were not working due to import issues closes LF-57 flag=none test plan: - put your course in another language - in the RCE open the UploadMedia modal - upload a media file - ensure that 'File Name' is translated (look at screenshot on ticket if this is confusing) - Attempt to upload captions with a srt file more than 295000 bytes large - ensure the message "The selected file exceeds the {maxSize} Byte limit" is translated - ensure there is nothing else in the modal that needs to be translated Change-Id: I9a7d5dddc511e87a7b4b95bdc5addbcfbc5707c2 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/318444 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Jackson Howe <jackson.howe@instructure.com> QA-Review: Jackson Howe <jackson.howe@instructure.com> Product-Review: Sarah Gerard <sarah.gerard@instructure.com>
This commit is contained in:
parent
30fc2959b4
commit
0f53984f80
|
@ -17,7 +17,6 @@
|
|||
*/
|
||||
import React, {Component} from 'react'
|
||||
import {arrayOf, func, objectOf, shape, string, element, oneOfType} from 'prop-types'
|
||||
import formatMessage from 'format-message'
|
||||
import {StyleSheet, css} from 'aphrodite'
|
||||
import {Alert} from '@instructure/ui-alerts'
|
||||
import {Button, IconButton} from '@instructure/ui-buttons'
|
||||
|
@ -26,6 +25,7 @@ import {IconTrashLine} from '@instructure/ui-icons'
|
|||
import {ScreenReaderContent} from '@instructure/ui-a11y-content'
|
||||
import {Text} from '@instructure/ui-text'
|
||||
import {View} from '@instructure/ui-view'
|
||||
import formatMessage from '../format-message'
|
||||
import CanvasSelect from '../shared/CanvasSelect'
|
||||
import {CC_FILE_MAX_BYTES} from '../shared/constants'
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ import {
|
|||
string,
|
||||
element,
|
||||
} from 'prop-types'
|
||||
import formatMessage from 'format-message'
|
||||
|
||||
import {Billboard} from '@instructure/ui-billboard'
|
||||
import {Button} from '@instructure/ui-buttons'
|
||||
|
@ -42,6 +41,7 @@ import {Text} from '@instructure/ui-text'
|
|||
import {px} from '@instructure/ui-utils'
|
||||
import {MediaPlayer} from '@instructure/ui-media-player'
|
||||
import {TextInput} from '@instructure/ui-text-input'
|
||||
import formatMessage from './format-message'
|
||||
|
||||
import LoadingIndicator from './shared/LoadingIndicator'
|
||||
import RocketSVG from './RocketSVG'
|
||||
|
|
Loading…
Reference in New Issue