Skip to content

Commit

Permalink
use FormattedMessage on alpha messaging component
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Harding committed Apr 17, 2020
1 parent 30ae899 commit 49be45b
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
import React, { memo } from 'react';
import styled from 'styled-components';
import { FormattedMessage } from '@kbn/i18n/react';
import { EuiText } from '@elastic/eui';

const Message = styled(EuiText)`
Expand All @@ -20,8 +21,19 @@ export const AlphaMessaging: React.FC<{}> = () => (
<Message>
<p>
<small>
<strong>Alpha release</strong> – Ingest Manager is under active development and is not
intended for production purposes.
<strong>
<FormattedMessage
id="xpack.ingestManager.alphaMessageTitle"
defaultMessage="Alpha release"
/>
</strong>
{' – '}
<FormattedMessage
id="xpack.ingestManager.alphaMessageDescription"
defaultMessage="Ingest Manager is under active development and is not
intended for production purposes."
/>
<strong>Alpha release</strong>
</small>
</p>
</Message>
Expand Down

0 comments on commit 49be45b

Please sign in to comment.