Просмотр исходного кода

Translation for accordion section 4

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

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

@@ -301,7 +301,9 @@
       "install_complete_if_checked": "Confirm that \"Install your app\" is checked.",
       "invite_bot_to_channel": "Invite GROWI bot to channel by calling @example.",
       "register_secret_and_token": "Set Signing Secret and Bot Token",
-      "test_connection": "Test Connection"
+      "test_connection": "Test Connection",
+      "test_connection_by_pressing_button": "Press the button to test the connection",
+      "slack_integration.without_proxy.error_check_logs_below": "An error has occurred. Please check the logs below."
     }
   },
   "user_management": {

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

@@ -299,7 +299,9 @@
       "install_complete_if_checked": "Install your app の右側に緑色のチェックがつけばワークスペースへのインストール完了です。",
       "invite_bot_to_channel": "GROWI bot を使いたいチャンネルに @example を使用して招待します。",
       "register_secret_and_token": "Signing Secret と Bot Token を登録する",
-      "test_connection": "連携状況のテストをする"
+      "test_connection": "連携状況のテストをする",
+      "test_connection_by_pressing_button": "以下のテストボタンを押して、Slack連携が完了しているかの確認をしましょう",
+      "slack_integration.without_proxy.error_check_logs_below": "エラーが発生しました。下記のログを確認してください。"
     }
   },
   "user_management": {

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

@@ -309,7 +309,9 @@
       "install_complete_if_checked": "确认已选中 \"Install your app\"。",
       "invite_bot_to_channel": "通过调用 @example 邀请 GROWI Bot 进行频道。",
       "register_secret_and_token": "设置签名秘密和BOT令牌",
-      "test_connection": "测试连接"
+      "test_connection": "测试连接",
+      "test_connection_by_pressing_button": "按下按钮以测试连接",
+      "slack_integration.without_proxy.error_check_logs_below": "发生了错误。请检查以下日志。"
     }
   },
 	"user_management": {

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

@@ -102,12 +102,12 @@ const CustomBotWithoutProxySettingsAccordion = (props) => {
         title={t('slack_integration.without_proxy.test_connection')}
         onToggleAccordionHandler={() => onToggleAccordionHandler(3)}
       >
-        <p className="text-center m-4">以下のテストボタンを押して、Slack連携が完了しているかの確認をしましょう</p>
+        <p className="text-center m-4">{t('slack_integration.without_proxy.test_connection_by_pressing_button')}</p>
         <div className="d-flex justify-content-center">
           <button type="button" className="btn btn-info m-3 px-5 font-weight-bold" onClick={onTestConnectionHandler}>Test</button>
         </div>
         {connectionErrorLog.connectionErrorMessage != null
-          && <p className="text-danger text-center m-4">エラーが発生しました。下記のログを確認してください。</p>
+          && <p className="text-danger text-center m-4">{t('slack_integration.without_proxy.error_check_logs_below')}</p>
         }
         <div className="row m-3 justify-content-center">
           <div className="col-sm-5 slack-connection-error-log">