diff --git a/resource/locales/en_US/admin/admin.json b/resource/locales/en_US/admin/admin.json index 7576dbda42f..3a6763d3fa2 100644 --- a/resource/locales/en_US/admin/admin.json +++ b/resource/locales/en_US/admin/admin.json @@ -292,7 +292,11 @@ }, "custom_bot_without_proxy_settings": "Custom Bot (Without-Proxy) Settings", "without_proxy": { - "create_bot": "Create Bot" + "create_bot": "Create Bot", + "install_bot_to_slack": "Install Bot To Slack", + "register_secret_and_token": "Set Signing Secret and Bot Token", + "test_connection": "Test Connection", + "how_to_create_a_bot": "How to create a bot" } }, "user_management": { diff --git a/resource/locales/ja_JP/admin/admin.json b/resource/locales/ja_JP/admin/admin.json index 5352235d131..53583fdef82 100644 --- a/resource/locales/ja_JP/admin/admin.json +++ b/resource/locales/ja_JP/admin/admin.json @@ -290,7 +290,11 @@ }, "custom_bot_without_proxy_settings": "Custom Bot (Without-Proxy) 設定", "without_proxy": { - "create_bot": "Bot を作成する" + "create_bot": "Bot を作成する", + "install_bot_to_slack": "Bot を Slackにインストールする", + "register_secret_and_token": "Signing Secret と Bot Token を登録する", + "test_connection": "連携状況のテストをする", + "how_to_create_a_bot": "作成方法はこちら" } }, "user_management": { diff --git a/resource/locales/zh_CN/admin/admin.json b/resource/locales/zh_CN/admin/admin.json index 3dbcac10f92..d044b1d2918 100644 --- a/resource/locales/zh_CN/admin/admin.json +++ b/resource/locales/zh_CN/admin/admin.json @@ -300,7 +300,11 @@ }, "custom_bot_without_proxy_settings": "Custom Bot (Without-Proxy) 设置", "without_proxy": { - "create_bot": "创建 Bot" + "create_bot": "创建 Bot", + "install_bot_to_slack": "将Bot安装到Slack", + "register_secret_and_token": "设置签名秘密和BOT令牌", + "test_connection": "测试连接", + "how_to_create_a_bot": "如何创建一个BOT" } }, "user_management": { diff --git a/src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettings.jsx b/src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettings.jsx index afa2f517fa4..732f1294d55 100644 --- a/src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettings.jsx +++ b/src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettings.jsx @@ -7,6 +7,7 @@ import { withUnstatedContainers } from '../../UnstatedUtils'; import { toastSuccess, toastError } from '../../../util/apiNotification'; import AdminUpdateButtonRow from '../Common/AdminUpdateButtonRow'; import SlackGrowiBridging from './SlackGrowiBridging'; +import CustomBotWithoutProxySettingsAccordion from './CustomBotWithoutProxySettingsAccordion'; const CustomBotWithoutProxySettings = (props) => { @@ -89,17 +90,6 @@ const CustomBotWithoutProxySettings = (props) => { siteName={siteName} slackWorkSpaceName={slackWSNameInWithoutProxy} /> -
①{t('slack_integration.without_proxy.create_bot')}
+ {openAccordionIndexes.has(0) + ? + : + } ++ + {t('slack_integration.without_proxy.how_to_create_a_bot')} + + +
+ +②{t('slack_integration.without_proxy.install_bot_to_slack')}
+ {openAccordionIndexes.has(1) + ? + : + } +③{t('slack_integration.without_proxy.register_secret_and_token')}
+ {openAccordionIndexes.has(2) + ? + : + } +④{t('slack_integration.without_proxy.test_connection')}
+ {openAccordionIndexes.has(3) + ? + : + } +