Skip to content
Snippets Groups Projects
Unverified Commit fc7febb1 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #1934 from paulkaplan/revert-localize-error

Revert localization of crash message.
parents 240f1987 f6dfe8da
No related branches found
No related tags found
No related merge requests found
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import React from 'react'; import React from 'react';
import Box from '../box/box.jsx'; import Box from '../box/box.jsx';
import {FormattedMessage} from 'react-intl';
import styles from './crash-message.css'; import styles from './crash-message.css';
import reloadIcon from './reload.svg'; import reloadIcon from './reload.svg';
...@@ -14,20 +13,13 @@ const CrashMessage = props => ( ...@@ -14,20 +13,13 @@ const CrashMessage = props => (
src={reloadIcon} src={reloadIcon}
/> />
<h2> <h2>
<FormattedMessage Oops! Something went wrong.
defaultMessage="Oops! Something went wrong."
description="Unhandled error title"
id="gui.crashMessage.title"
/>
</h2> </h2>
<p> <p>
{ /* eslint-disable max-len */ } We are so sorry, but it looks like Scratch has crashed. This bug has been
<FormattedMessage automatically reported to the Scratch Team. Please refresh your page to try
defaultMessage="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." again.
description="Unhandled error description"
id="gui.crashMessage.description"
/>
{ /* eslint-enable max-len */ }
</p> </p>
<button <button
className={styles.reloadButton} className={styles.reloadButton}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment