Skip to content

Commit

Permalink
Switch ErrorPage to fluent-react
Browse files Browse the repository at this point in the history
  • Loading branch information
fzzzy committed Jun 27, 2017
1 parent a6f7420 commit 425aea6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions frontend/src/app/containers/ErrorPage.js
@@ -1,5 +1,6 @@
// @flow

import { Localized } from 'fluent-react';
import React from 'react';

import Copter from '../components/Copter';
Expand All @@ -22,10 +23,14 @@ export default class ErrorPage extends React.Component {
<LayoutWrapper flexModifier="column-center">
<div id="four-oh-four" className="modal centered">
<header className="modal-header-wrapper neutral-modal">
<h1 data-l10n-id="errorHeading" className="modal-header">Whoops!</h1>
<Localized id="errorHeading">
<h1 className="modal-header">Whoops!</h1>
</Localized>
</header>
<div className="modal-content">
<p data-l10n-id="errorMessage">Looks like we broke something. <br /> Maybe try again later.</p>
<Localized id="errorMessage">
<p>Looks like we broke something. <br /> Maybe try again later.</p>
</Localized>
</div>
</div>
<Copter animation="fade-in-fly-up" />
Expand Down

0 comments on commit 425aea6

Please sign in to comment.