diff --git a/src/components/crash-message/crash-message.jsx b/src/components/crash-message/crash-message.jsx index 8ea44473986..764c8e2167d 100644 --- a/src/components/crash-message/crash-message.jsx +++ b/src/components/crash-message/crash-message.jsx @@ -1,12 +1,7 @@ -/* eslint-disable react/jsx-no-literals */ -/* - @todo Rule is disabled because this component is rendered outside the - intl provider right now so cannot be translated. -*/ - import PropTypes from 'prop-types'; import React from 'react'; import Box from '../box/box.jsx'; +import {FormattedMessage} from 'react-intl'; import styles from './crash-message.css'; import reloadIcon from './reload.svg'; @@ -19,19 +14,30 @@ const CrashMessage = props => ( src={reloadIcon} />

- Oops! Something went wrong. +

- We are so sorry, but it looks like Scratch has crashed. This bug has been - automatically reported to the Scratch Team. Please refresh your page to try - again. - +