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/ServiceDisabled.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/ServiceDisabled.js')
-rw-r--r-- | src/components/services/content/ServiceDisabled.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/services/content/ServiceDisabled.js b/src/components/services/content/ServiceDisabled.js index b4658618e..da5357bf2 100644 --- a/src/components/services/content/ServiceDisabled.js +++ b/src/components/services/content/ServiceDisabled.js | |||
@@ -4,6 +4,7 @@ import { observer } from 'mobx-react'; | |||
4 | import { defineMessages, injectIntl } from 'react-intl'; | 4 | import { defineMessages, injectIntl } from 'react-intl'; |
5 | 5 | ||
6 | import Button from '../../ui/Button'; | 6 | import Button from '../../ui/Button'; |
7 | import { H1 } from '../../ui/headline'; | ||
7 | 8 | ||
8 | const messages = defineMessages({ | 9 | const messages = defineMessages({ |
9 | headline: { | 10 | headline: { |
@@ -28,7 +29,7 @@ class ServiceDisabled extends Component { | |||
28 | 29 | ||
29 | return ( | 30 | return ( |
30 | <div className="services__info-layer"> | 31 | <div className="services__info-layer"> |
31 | <h1>{intl.formatMessage(messages.headline, { name })}</h1> | 32 | <H1>{intl.formatMessage(messages.headline, { name })}</H1> |
32 | <Button | 33 | <Button |
33 | label={intl.formatMessage(messages.action, { name })} | 34 | label={intl.formatMessage(messages.action, { name })} |
34 | buttonType="inverted" | 35 | buttonType="inverted" |