zahmis 5 лет назад
Родитель
Сommit
2817d96213

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

@@ -300,7 +300,8 @@
       "register_secret_and_token": "Set Signing Secret and Bot Token",
       "test_connection": "Test Connection",
       "test_connection_by_pressing_button": "Press the button to test the connection",
-      "error_check_logs_below": "An error has occurred. Please check the logs below."
+      "error_check_logs_below": "An error has occurred. Please check the logs below.",
+      "send_message_to_slack_work_space": "Send message to Slack work space."
     },
     "custom_bot_without_proxy_integration": "Custom bot without proxy integration",
     "integration_sentence": {

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

@@ -298,7 +298,8 @@
       "register_secret_and_token": "Signing Secret と Bot Token を登録する",
       "test_connection": "連携状況のテストをする",
       "test_connection_by_pressing_button": "以下のテストボタンを押して、Slack連携が完了しているかの確認をしましょう",
-      "error_check_logs_below": "エラーが発生しました。下記のログを確認してください。"
+      "error_check_logs_below": "エラーが発生しました。下記のログを確認してください。",
+      "send_message_to_slack_work_space": "Slack ワークスペースに送信しました"
     },
     "custom_bot_without_proxy_integration": "Custom bot without proxy 連携",
     "integration_sentence": {

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

@@ -308,7 +308,8 @@
       "register_secret_and_token": "设置签名秘密和BOT令牌",
       "test_connection": "测试连接",
       "test_connection_by_pressing_button": "按下按钮以测试连接",
-      "error_check_logs_below": "发生了错误。请检查以下日志。"
+      "error_check_logs_below": "发生了错误。请检查以下日志。",
+      "send_message_to_slack_work_space": "发送到 Slack 工作区。"
     },
     "custom_bot_without_proxy_integration": "Custom bot without proxy 一体化",
     "integration_sentence": {

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

@@ -179,7 +179,7 @@ const CustomBotWithoutProxySettingsAccordion = ({ appContainer, adminAppContaine
           </form>
         </div>
         {connectionErrorMessage != null && <p className="text-danger text-center m-4">{t('admin:slack_integration.without_proxy.error_check_logs_below')}</p>}
-        {connectionSuccessMessage != null && <p className="text-info text-center m-4">Slack ワークスペースに送信しました。</p>}
+        {connectionSuccessMessage != null && <p className="text-info text-center m-4">{t('admin:slack_integration.without_proxy.send_message_to_slack_work_space')}</p>}
         <form>
           <div className="row m-3 justify-content-center">
             <div className="form-group slack-connection-log w-25">