|
1 | 1 | import React, {useContext, useEffect, useState} from 'react' |
| 2 | +import {FormattedMessage} from 'react-intl' |
2 | 3 | import {AppContext} from '../../context/context' |
3 | 4 | import {UsageTypes} from '../../types' |
4 | 5 | import { type } from 'os' |
@@ -30,19 +31,19 @@ const EnterDialog = (props: EnterDialogProps) => { |
30 | 31 | }} |
31 | 32 | > |
32 | 33 | <div className="modal-header d-flex flex-column"> |
33 | | - <h3 className='text-dark'>Welcome to Remix IDE</h3> |
| 34 | + <h3 className='text-dark'><FormattedMessage id="remixApp.enterText1" /></h3> |
34 | 35 | <div className='d-flex flex-row pt-2'> |
35 | 36 | <h6 className="modal-title text-dark" data-id={`EnterModalDialogModalTitle-react`}> |
36 | | - In order to understand your needs better, we would like to know how you typically use Remix |
| 37 | + <FormattedMessage id="remixApp.enterText2" /> |
37 | 38 | </h6> |
38 | 39 | <i className="text-dark fal fa-door-open text-center" style={{minWidth: "100px", fontSize: "xxx-large"}}></i> |
39 | 40 | </div> |
40 | 41 | </div> |
41 | 42 | <div className="modal-body text-break remixModalBody d-flex flex-column p-3 justify-content-between" data-id={`EnterModalDialogModalBody-react`}> |
42 | | - <button className="btn btn-secondary text-left" data-id="beginnerbtn" style={{minWidth: "100px"}} onClick={() => {enterAs(UsageTypes.Beginner)}}>Learning - discovering web3 development</button> |
43 | | - <button className="btn btn-secondary my-1 text-left" data-id="prototyperbtn" style={{minWidth: "100px"}} onClick={() => {enterAs(UsageTypes.Prototyper)}}>Prototyping - trying out concepts and techniques</button> |
44 | | - <button className="btn btn-secondary text-left" data-id="advanceUserbtn" style={{minWidth: "100px"}} onClick={() => {enterAs(UsageTypes.Advance)}}>Developing projects - Remix as your main dev tool</button> |
45 | | - <button className="btn btn-secondary mt-1 text-left" data-id="productionbtn" style={{minWidth: "100px"}} onClick={() => {enterAs(UsageTypes.Production)}}>Production - only deployments</button> |
| 43 | + <button className="btn btn-secondary text-left" data-id="beginnerbtn" style={{minWidth: "100px"}} onClick={() => {enterAs(UsageTypes.Beginner)}}><FormattedMessage id="remixApp.enterText3" /></button> |
| 44 | + <button className="btn btn-secondary my-1 text-left" data-id="prototyperbtn" style={{minWidth: "100px"}} onClick={() => {enterAs(UsageTypes.Prototyper)}}><FormattedMessage id="remixApp.enterText4" /></button> |
| 45 | + <button className="btn btn-secondary text-left" data-id="advanceUserbtn" style={{minWidth: "100px"}} onClick={() => {enterAs(UsageTypes.Advance)}}><FormattedMessage id="remixApp.enterText5" /></button> |
| 46 | + <button className="btn btn-secondary mt-1 text-left" data-id="productionbtn" style={{minWidth: "100px"}} onClick={() => {enterAs(UsageTypes.Production)}}><FormattedMessage id="remixApp.enterText6" /></button> |
46 | 47 | </div> |
47 | 48 | </div> |
48 | 49 | </div> |
|
0 commit comments