|
|
@@ -170,7 +170,7 @@ class App extends Component {
|
|
|
|
|
|
<Link to="/login">
|
|
|
<Button className='login-button' type='primary'
|
|
|
- onClick={() => this.switchMenuLevel('menuLevel1', 'user')}>Login</Button>
|
|
|
+ onClick={() => this.switchMenuLevel('menuLevel1', 'user')}><FormattedMessage id="Login"/></Button>
|
|
|
</Link>
|
|
|
|
|
|
<div className="change-locale">
|
|
|
@@ -238,7 +238,8 @@ class App extends Component {
|
|
|
}}
|
|
|
>
|
|
|
<SubMenu key="trial-case" title={<span><Icon type="appstore"
|
|
|
- theme="twoTone"/><span>Case Show</span></span>}>
|
|
|
+ theme="twoTone"/><span><FormattedMessage
|
|
|
+ id="Case Show"/></span></span>}>
|
|
|
<Menu.Item key="quant-service">
|
|
|
<Link to="/quant-service/trial-case/quant case">quant case</Link>
|
|
|
</Menu.Item>
|
|
|
@@ -248,7 +249,7 @@ class App extends Component {
|
|
|
<a href="https://ioobot-document.netlify.com/" title="instructions"
|
|
|
target="instructions">
|
|
|
<Icon type="file-text" theme="twoTone"/>
|
|
|
- <span>Instructions</span>
|
|
|
+ <span><FormattedMessage id="Instructions"/></span>
|
|
|
</a>
|
|
|
</Menu.Item>
|
|
|
</Menu>
|
|
|
@@ -372,7 +373,8 @@ class GraphqlSidebar extends Component {
|
|
|
position: 'fixed'
|
|
|
}}
|
|
|
>
|
|
|
- <SubMenu key="trial-case" title={<span><Icon type="appstore" theme="twoTone"/><span>Case Show</span></span>}>
|
|
|
+ <SubMenu key="trial-case" title={<span><Icon type="appstore" theme="twoTone"/><span><FormattedMessage
|
|
|
+ id="Case Show"/></span></span>}>
|
|
|
{
|
|
|
data.caseSchema.map((schema) =>
|
|
|
<Menu.Item key={schema.schemaName}>
|
|
|
@@ -389,7 +391,8 @@ class GraphqlSidebar extends Component {
|
|
|
|
|
|
<Menu.Item key="create-graphql" onClick={this.props.showModal}>
|
|
|
<Icon type="edit" theme="twoTone"/>
|
|
|
- <span>Create</span>
|
|
|
+ <span><FormattedMessage
|
|
|
+ id="Create"/></span>
|
|
|
<Icon type="plus" style={{
|
|
|
position: 'absolute',
|
|
|
top: '35%',
|
|
|
@@ -398,7 +401,8 @@ class GraphqlSidebar extends Component {
|
|
|
}}/>
|
|
|
</Menu.Item>
|
|
|
|
|
|
- <SubMenu key="my-create" title={<span><Icon type="user" theme="outlined"/><span>My Create</span></span>}>
|
|
|
+ <SubMenu key="my-create" title={<span><Icon type="user" theme="outlined"/><span><FormattedMessage
|
|
|
+ id="My Create"/></span></span>}>
|
|
|
{
|
|
|
data.userSchema.map((schema) =>
|
|
|
<Menu.Item key={schema.schemaName}>
|
|
|
@@ -417,7 +421,7 @@ class GraphqlSidebar extends Component {
|
|
|
<a href="https://ioobot-document.netlify.com/" title="instructions" target="_blank"
|
|
|
rel="noopener noreferrer">
|
|
|
<Icon type="file-text" theme="twoTone"/>
|
|
|
- <span>Instructions</span>
|
|
|
+ <span><FormattedMessage id="Instructions"/></span>
|
|
|
</a>
|
|
|
</Menu.Item>
|
|
|
|
|
|
@@ -465,7 +469,8 @@ class WxConfigSiderbar extends Component {
|
|
|
position: 'fixed'
|
|
|
}}
|
|
|
>
|
|
|
- <SubMenu key="trial-case" title={<span><Icon type="appstore" theme="twoTone"/><span>Case Show</span></span>}>
|
|
|
+ <SubMenu key="trial-case" title={<span><Icon type="appstore" theme="twoTone"/><span><FormattedMessage
|
|
|
+ id="Case Show"/></span></span>}>
|
|
|
{
|
|
|
data.caseWxConfig.map((config) =>
|
|
|
<Menu.Item key={config.appName}>
|
|
|
@@ -482,7 +487,8 @@ class WxConfigSiderbar extends Component {
|
|
|
|
|
|
<Menu.Item key="create-config" onClick={this.props.wxShowModal}>
|
|
|
<Icon type="edit" theme="twoTone"/>
|
|
|
- <span>Create</span>
|
|
|
+ <span><FormattedMessage
|
|
|
+ id="Create"/></span>
|
|
|
<Icon type="plus" style={{
|
|
|
position: 'absolute',
|
|
|
top: '35%',
|
|
|
@@ -491,7 +497,8 @@ class WxConfigSiderbar extends Component {
|
|
|
}}/>
|
|
|
</Menu.Item>
|
|
|
|
|
|
- <SubMenu key="my-create" title={<span><Icon type="user" theme="outlined"/><span>My Create</span></span>}>
|
|
|
+ <SubMenu key="my-create" title={<span><Icon type="user" theme="outlined"/><span><FormattedMessage
|
|
|
+ id="My Create"/>My Create</span></span>}>
|
|
|
{
|
|
|
data.userWxConfig.map((config) =>
|
|
|
<Menu.Item key={config.appName}>
|
|
|
@@ -510,7 +517,7 @@ class WxConfigSiderbar extends Component {
|
|
|
<a href="https://ioobot-document.netlify.com/" title="instructions" target="_blank"
|
|
|
rel="noopener noreferrer">
|
|
|
<Icon type="file-text" theme="twoTone"/>
|
|
|
- <span>Instructions</span>
|
|
|
+ <span><FormattedMessage id="Instructions"/></span>
|
|
|
</a>
|
|
|
</Menu.Item>
|
|
|
|