diff options
author | 2021-09-07 08:05:34 +0530 | |
---|---|---|
committer | 2021-09-07 09:41:27 +0530 | |
commit | 8b5de8dd779dfc2dfa45c930d143060ac7321acf (patch) | |
tree | 256547da3abb14429d73881a1251f4cda5127653 /src/components/auth/SetupAssistant.js | |
parent | 5.6.1-nightly.52 [skip ci] (diff) | |
download | ferdium-app-8b5de8dd779dfc2dfa45c930d143060ac7321acf.tar.gz ferdium-app-8b5de8dd779dfc2dfa45c930d143060ac7321acf.tar.zst ferdium-app-8b5de8dd779dfc2dfa45c930d143060ac7321acf.zip |
refactor: externalize english text
Diffstat (limited to 'src/components/auth/SetupAssistant.js')
-rw-r--r-- | src/components/auth/SetupAssistant.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/auth/SetupAssistant.js b/src/components/auth/SetupAssistant.js index 0f821d4fc..ded36bbe7 100644 --- a/src/components/auth/SetupAssistant.js +++ b/src/components/auth/SetupAssistant.js | |||
@@ -10,6 +10,7 @@ import { Badge } from '@meetfranz/ui'; | |||
10 | import Modal from '../ui/Modal'; | 10 | import Modal from '../ui/Modal'; |
11 | import Infobox from '../ui/Infobox'; | 11 | import Infobox from '../ui/Infobox'; |
12 | import Appear from '../ui/effects/Appear'; | 12 | import Appear from '../ui/effects/Appear'; |
13 | import globalMessages from '../../i18n/globalMessages'; | ||
13 | 14 | ||
14 | import { CDN_URL } from '../../config'; | 15 | import { CDN_URL } from '../../config'; |
15 | 16 | ||
@@ -300,11 +301,14 @@ class SetupAssistant extends Component { | |||
300 | value={slackWorkspace} | 301 | value={slackWorkspace} |
301 | /> | 302 | /> |
302 | <div className={classes.modalActionContainer}> | 303 | <div className={classes.modalActionContainer}> |
303 | <Button type="submit" label="Save" /> | 304 | <Button |
305 | type="submit" | ||
306 | label={intl.formatMessage(globalMessages.save)} | ||
307 | /> | ||
304 | <Button | 308 | <Button |
305 | type="link" | 309 | type="link" |
306 | buttonType="secondary" | 310 | buttonType="secondary" |
307 | label="Cancel" | 311 | label={intl.formatMessage(globalMessages.cancel)} |
308 | className={classes.ctaCancel} | 312 | className={classes.ctaCancel} |
309 | onClick={() => this.setState({ slackWorkspace: '' })} | 313 | onClick={() => this.setState({ slackWorkspace: '' })} |
310 | /> | 314 | /> |