|
@@ -220,42 +220,42 @@ const WithProxyAccordions = (props) => {
|
|
|
|
|
|
|
|
const customBotCooperationProcedure = {
|
|
const customBotCooperationProcedure = {
|
|
|
'①': {
|
|
'①': {
|
|
|
- title: 'create_bot',
|
|
|
|
|
|
|
+ title: t('admin:slack_integration.accordion.create_bot'),
|
|
|
content: BotCreateProcess(),
|
|
content: BotCreateProcess(),
|
|
|
},
|
|
},
|
|
|
'②': {
|
|
'②': {
|
|
|
- title: 'install_bot_to_slack',
|
|
|
|
|
|
|
+ title: t('admin:slack_integration.accordion.install_bot_to_slack'),
|
|
|
content: BotInstallProcess(),
|
|
content: BotInstallProcess(),
|
|
|
},
|
|
},
|
|
|
'③': {
|
|
'③': {
|
|
|
- title: 'register_for_growi_official_bot_proxy_service',
|
|
|
|
|
|
|
+ title: t('admin:slack_integration.accordion.register_for_growi_official_bot_proxy_service'),
|
|
|
content: genelatingTokensAndRegisteringProxyServiceProcess(),
|
|
content: genelatingTokensAndRegisteringProxyServiceProcess(),
|
|
|
},
|
|
},
|
|
|
'④': {
|
|
'④': {
|
|
|
- title: 'set_proxy_url_on_growi',
|
|
|
|
|
|
|
+ title: t('admin:slack_integration.accordion.set_proxy_url_on_growi'),
|
|
|
content: registeringProxyUrlProcess(),
|
|
content: registeringProxyUrlProcess(),
|
|
|
},
|
|
},
|
|
|
'⑤': {
|
|
'⑤': {
|
|
|
- title: 'test_connection',
|
|
|
|
|
|
|
+ title: t('admin:slack_integration.accordion.test_connection'),
|
|
|
content: testProcess(),
|
|
content: testProcess(),
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const officialBotCooperationProcedure = {
|
|
const officialBotCooperationProcedure = {
|
|
|
'①': {
|
|
'①': {
|
|
|
- title: 'install_bot_to_slack',
|
|
|
|
|
|
|
+ title: t('admin:slack_integration.accordion.install_bot_to_slack'),
|
|
|
content: BotInstallProcess(),
|
|
content: BotInstallProcess(),
|
|
|
},
|
|
},
|
|
|
'②': {
|
|
'②': {
|
|
|
- title: 'register_for_growi_official_bot_proxy_service',
|
|
|
|
|
|
|
+ title: t('admin:slack_integration.accordion.register_for_growi_official_bot_proxy_service'),
|
|
|
content: genelatingTokensAndRegisteringProxyServiceProcess(),
|
|
content: genelatingTokensAndRegisteringProxyServiceProcess(),
|
|
|
},
|
|
},
|
|
|
'③': {
|
|
'③': {
|
|
|
- title: 'set_proxy_url_on_growi',
|
|
|
|
|
|
|
+ title: t('admin:slack_integration.accordion.set_proxy_url_on_growi'),
|
|
|
content: registeringProxyUrlProcess(),
|
|
content: registeringProxyUrlProcess(),
|
|
|
},
|
|
},
|
|
|
'④': {
|
|
'④': {
|
|
|
- title: 'test_connection',
|
|
|
|
|
|
|
+ title: t('admin:slack_integration.accordion.test_connection'),
|
|
|
content: testProcess(),
|
|
content: testProcess(),
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
@@ -267,7 +267,7 @@ const WithProxyAccordions = (props) => {
|
|
|
{Object.entries(cooperationProcedureMapping).map(([key, value]) => {
|
|
{Object.entries(cooperationProcedureMapping).map(([key, value]) => {
|
|
|
return (
|
|
return (
|
|
|
<Accordion
|
|
<Accordion
|
|
|
- title={<><span className="mr-2">{key}</span>{t(`admin:slack_integration.accordion.${value.title}`)}</>}
|
|
|
|
|
|
|
+ title={<><span className="mr-2">{key}</span>{value.title}</>}
|
|
|
key={key}
|
|
key={key}
|
|
|
>
|
|
>
|
|
|
{value.content}
|
|
{value.content}
|