From f6dfe8da383e48d9cd6f73faf2556e5559d577d8 Mon Sep 17 00:00:00 2001
From: Paul Kaplan <pkaplan@media.mit.edu>
Date: Tue, 1 May 2018 16:58:08 -0400
Subject: [PATCH] Revert localization of crash message.

It doesn't work without an intl provider, which is mounted inside the error boundary.
---
 src/components/crash-message/crash-message.jsx | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/src/components/crash-message/crash-message.jsx b/src/components/crash-message/crash-message.jsx
index 8b749c793..d5fc45d16 100644
--- a/src/components/crash-message/crash-message.jsx
+++ b/src/components/crash-message/crash-message.jsx
@@ -1,7 +1,6 @@
 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';
@@ -14,20 +13,13 @@ const CrashMessage = props => (
                 src={reloadIcon}
             />
             <h2>
-                <FormattedMessage
-                    defaultMessage="Oops! Something went wrong."
-                    description="Unhandled error title"
-                    id="gui.crashMessage.title"
-                />
+                Oops! Something went wrong.
             </h2>
             <p>
-                { /* eslint-disable max-len */ }
-                <FormattedMessage
-                    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."
-                    description="Unhandled error description"
-                    id="gui.crashMessage.description"
-                />
-                { /* eslint-enable max-len */ }
+                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.
+
             </p>
             <button
                 className={styles.reloadButton}
-- 
GitLab