|
@@ -163,14 +163,15 @@ class App extends Component {
|
|
|
<Link to="/wechat-service/trial-case/index"><FormattedMessage
|
|
<Link to="/wechat-service/trial-case/index"><FormattedMessage
|
|
|
id="Wechat Service"/></Link>
|
|
id="Wechat Service"/></Link>
|
|
|
</Menu.Item>
|
|
</Menu.Item>
|
|
|
- <Menu.Item key="quant-service">
|
|
|
|
|
- <Link to="/quant-service/trial-case/index"><FormattedMessage id="Quantization Service"/></Link>
|
|
|
|
|
- </Menu.Item>
|
|
|
|
|
|
|
+ {/*<Menu.Item key="quant-service">*/}
|
|
|
|
|
+ {/*<Link to="/quant-service/trial-case/index"><FormattedMessage id="Quantization Service"/></Link>*/}
|
|
|
|
|
+ {/*</Menu.Item>*/}
|
|
|
</Menu>
|
|
</Menu>
|
|
|
|
|
|
|
|
<Link to="/login">
|
|
<Link to="/login">
|
|
|
<Button className='login-button' type='primary'
|
|
<Button className='login-button' type='primary'
|
|
|
- onClick={() => this.switchMenuLevel('menuLevel1', 'user')}>Login</Button>
|
|
|
|
|
|
|
+ onClick={() => this.switchMenuLevel('menuLevel1', 'user')}>
|
|
|
|
|
+ <FormattedMessage id="Login"/></Button>
|
|
|
</Link>
|
|
</Link>
|
|
|
|
|
|
|
|
<div className="change-locale">
|
|
<div className="change-locale">
|
|
@@ -248,7 +249,7 @@ class App extends Component {
|
|
|
<a href="https://ioobot-document.netlify.com/" title="instructions"
|
|
<a href="https://ioobot-document.netlify.com/" title="instructions"
|
|
|
target="instructions">
|
|
target="instructions">
|
|
|
<Icon type="file-text" theme="twoTone"/>
|
|
<Icon type="file-text" theme="twoTone"/>
|
|
|
- <span>Instructions</span>
|
|
|
|
|
|
|
+ <span><FormattedMessage id="Instructions"/></span>
|
|
|
</a>
|
|
</a>
|
|
|
</Menu.Item>
|
|
</Menu.Item>
|
|
|
</Menu>
|
|
</Menu>
|
|
@@ -279,13 +280,13 @@ class App extends Component {
|
|
|
>
|
|
>
|
|
|
<Menu.Item key="account">
|
|
<Menu.Item key="account">
|
|
|
<Icon type="setting" theme="twoTone"/>
|
|
<Icon type="setting" theme="twoTone"/>
|
|
|
- <span>Account center</span>
|
|
|
|
|
|
|
+ <span><FormattedMessage id="Account center"/></span>
|
|
|
<Link to="/login/account"/>
|
|
<Link to="/login/account"/>
|
|
|
</Menu.Item>
|
|
</Menu.Item>
|
|
|
|
|
|
|
|
<Menu.Item key="cloud-settings">
|
|
<Menu.Item key="cloud-settings">
|
|
|
<Icon type="cloud" theme="twoTone"/>
|
|
<Icon type="cloud" theme="twoTone"/>
|
|
|
- <span>Cloud settings</span>
|
|
|
|
|
|
|
+ <span><FormattedMessage id="Cloud settings"/></span>
|
|
|
<Link to="/login/cloud"/>
|
|
<Link to="/login/cloud"/>
|
|
|
</Menu.Item>
|
|
</Menu.Item>
|
|
|
</Menu>
|
|
</Menu>
|
|
@@ -372,7 +373,9 @@ class GraphqlSidebar extends Component {
|
|
|
position: 'fixed'
|
|
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) =>
|
|
data.caseSchema.map((schema) =>
|
|
|
<Menu.Item key={schema.schemaName}>
|
|
<Menu.Item key={schema.schemaName}>
|
|
@@ -389,7 +392,7 @@ class GraphqlSidebar extends Component {
|
|
|
|
|
|
|
|
<Menu.Item key="create-graphql" onClick={this.props.showModal}>
|
|
<Menu.Item key="create-graphql" onClick={this.props.showModal}>
|
|
|
<Icon type="edit" theme="twoTone"/>
|
|
<Icon type="edit" theme="twoTone"/>
|
|
|
- <span>Create</span>
|
|
|
|
|
|
|
+ <span><FormattedMessage id="Create"/></span>
|
|
|
<Icon type="plus" style={{
|
|
<Icon type="plus" style={{
|
|
|
position: 'absolute',
|
|
position: 'absolute',
|
|
|
top: '35%',
|
|
top: '35%',
|
|
@@ -398,7 +401,9 @@ class GraphqlSidebar extends Component {
|
|
|
}}/>
|
|
}}/>
|
|
|
</Menu.Item>
|
|
</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) =>
|
|
data.userSchema.map((schema) =>
|
|
|
<Menu.Item key={schema.schemaName}>
|
|
<Menu.Item key={schema.schemaName}>
|
|
@@ -417,7 +422,7 @@ class GraphqlSidebar extends Component {
|
|
|
<a href="https://ioobot-document.netlify.com/" title="instructions" target="_blank"
|
|
<a href="https://ioobot-document.netlify.com/" title="instructions" target="_blank"
|
|
|
rel="noopener noreferrer">
|
|
rel="noopener noreferrer">
|
|
|
<Icon type="file-text" theme="twoTone"/>
|
|
<Icon type="file-text" theme="twoTone"/>
|
|
|
- <span>Instructions</span>
|
|
|
|
|
|
|
+ <span><FormattedMessage id="Instructions"/></span>
|
|
|
</a>
|
|
</a>
|
|
|
</Menu.Item>
|
|
</Menu.Item>
|
|
|
|
|
|
|
@@ -465,7 +470,9 @@ class WxConfigSiderbar extends Component {
|
|
|
position: 'fixed'
|
|
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) =>
|
|
data.caseWxConfig.map((config) =>
|
|
|
<Menu.Item key={config.appName}>
|
|
<Menu.Item key={config.appName}>
|
|
@@ -482,7 +489,7 @@ class WxConfigSiderbar extends Component {
|
|
|
|
|
|
|
|
<Menu.Item key="create-config" onClick={this.props.wxShowModal}>
|
|
<Menu.Item key="create-config" onClick={this.props.wxShowModal}>
|
|
|
<Icon type="edit" theme="twoTone"/>
|
|
<Icon type="edit" theme="twoTone"/>
|
|
|
- <span>Create</span>
|
|
|
|
|
|
|
+ <span><FormattedMessage id="Create"/></span>
|
|
|
<Icon type="plus" style={{
|
|
<Icon type="plus" style={{
|
|
|
position: 'absolute',
|
|
position: 'absolute',
|
|
|
top: '35%',
|
|
top: '35%',
|
|
@@ -491,7 +498,9 @@ class WxConfigSiderbar extends Component {
|
|
|
}}/>
|
|
}}/>
|
|
|
</Menu.Item>
|
|
</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.userWxConfig.map((config) =>
|
|
data.userWxConfig.map((config) =>
|
|
|
<Menu.Item key={config.appName}>
|
|
<Menu.Item key={config.appName}>
|
|
@@ -510,7 +519,7 @@ class WxConfigSiderbar extends Component {
|
|
|
<a href="https://ioobot-document.netlify.com/" title="instructions" target="_blank"
|
|
<a href="https://ioobot-document.netlify.com/" title="instructions" target="_blank"
|
|
|
rel="noopener noreferrer">
|
|
rel="noopener noreferrer">
|
|
|
<Icon type="file-text" theme="twoTone"/>
|
|
<Icon type="file-text" theme="twoTone"/>
|
|
|
- <span>Instructions</span>
|
|
|
|
|
|
|
+ <span><FormattedMessage id="Instructions"/></span>
|
|
|
</a>
|
|
</a>
|
|
|
</Menu.Item>
|
|
</Menu.Item>
|
|
|
|
|
|