Steven Fukase 5 лет назад
Родитель
Сommit
8edcd5db38

+ 4 - 1
resource/locales/en_US/admin/admin.json

@@ -269,7 +269,10 @@
     },
     "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"
     }
   },
   "user_management": {

+ 4 - 1
resource/locales/ja_JP/admin/admin.json

@@ -267,7 +267,10 @@
     },
     "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": "連携状況のテストをする"
     }
   },
   "user_management": {

+ 4 - 1
resource/locales/zh_CN/admin/admin.json

@@ -277,7 +277,10 @@
     },
     "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": "测试连接"
     }
   },
 	"user_management": {

+ 4 - 4
src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettingsAccordion.jsx

@@ -17,7 +17,7 @@ const CustomBotWithoutSettingsAccordion = () => {
               data-toggle="collapse"
               data-target="#collapsibleMakeBotSection"
             >
-              ① Botを作成する
+              ① {t('slack_integration.without_proxy.create_bot')}
             </button>
           </h2>
         </div>
@@ -47,7 +47,7 @@ const CustomBotWithoutSettingsAccordion = () => {
               data-toggle="collapse"
               data-target="#collapsibleInstallBotSection"
             >
-              ② BotをSlackにインストールする
+              ② {t('slack_integration.without_proxy.install_bot_to_slack')}
             </button>
           </h2>
         </div>
@@ -74,7 +74,7 @@ const CustomBotWithoutSettingsAccordion = () => {
               data-toggle="collapse"
               data-target="#collapsibleSecretTokenSection"
             >
-              ③ Signing Secret と Bot Token を登録する
+              ③{t('slack_integration.without_proxy.register_secret_and_token')}
             </button>
           </h2>
         </div>
@@ -101,7 +101,7 @@ const CustomBotWithoutSettingsAccordion = () => {
               data-toggle="collapse"
               data-target="#collapsibleTestConnectionSection"
             >
-              ④ 連携状況のテストをする
+              ④ {t('slack_integration.without_proxy.test_connection')}
             </button>
           </h2>
         </div>