diff options
author | 2022-05-06 19:06:00 -0500 | |
---|---|---|
committer | 2022-05-06 19:06:00 -0500 | |
commit | 4df01bf76dd0c19d29587571131555639bf2b844 (patch) | |
tree | f19565f06da9d6c796bd3962d6f28a4fcff0da63 /src/components/services/content/ErrorHandlers/WebviewErrorHandler.js | |
parent | Regenerate i18n file (diff) | |
download | ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.tar.gz ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.tar.zst ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.zip |
Use components defined in the codebase; Extract some text for i18n purposes.
Diffstat (limited to 'src/components/services/content/ErrorHandlers/WebviewErrorHandler.js')
-rw-r--r-- | src/components/services/content/ErrorHandlers/WebviewErrorHandler.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/services/content/ErrorHandlers/WebviewErrorHandler.js b/src/components/services/content/ErrorHandlers/WebviewErrorHandler.js index d605b3a52..cdc12b01b 100644 --- a/src/components/services/content/ErrorHandlers/WebviewErrorHandler.js +++ b/src/components/services/content/ErrorHandlers/WebviewErrorHandler.js | |||
@@ -7,6 +7,7 @@ import injectSheet from 'react-jss'; | |||
7 | import Button from '../../../ui/Button'; | 7 | import Button from '../../../ui/Button'; |
8 | 8 | ||
9 | import styles from './styles'; | 9 | import styles from './styles'; |
10 | import { H1 } from '../../../ui/headline'; | ||
10 | 11 | ||
11 | const messages = defineMessages({ | 12 | const messages = defineMessages({ |
12 | headline: { | 13 | headline: { |
@@ -46,7 +47,7 @@ class WebviewErrorHandler extends Component { | |||
46 | 47 | ||
47 | return ( | 48 | return ( |
48 | <div className={classes.component}> | 49 | <div className={classes.component}> |
49 | <h1>{intl.formatMessage(messages.headline)}</h1> | 50 | <H1>{intl.formatMessage(messages.headline)}</H1> |
50 | <p>{intl.formatMessage(messages.text, { name })}</p> | 51 | <p>{intl.formatMessage(messages.text, { name })}</p> |
51 | <p> | 52 | <p> |
52 | <strong>{intl.formatMessage(messages.errorMessage)}:</strong>{' '} | 53 | <strong>{intl.formatMessage(messages.errorMessage)}:</strong>{' '} |