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

Merge pull request #3713 from weseek/5892-i18n

5892 i18n
itizawa 4 лет назад
Родитель
Сommit
b6fdffba99

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

@@ -319,7 +319,8 @@
       "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.",
-      "send_message_to_slack_work_space": "Send message to Slack work space."
+      "send_message_to_slack_work_space": "Send message to Slack work space.",
+      "add_slack_workspace": "Add a Slack Workspace"
     },
     "custom_bot_without_proxy_integration": "Custom bot without proxy integration",
     "integration_sentence": {

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

@@ -289,7 +289,7 @@
     "delete": "削除",
     "cooperation_procedure": "連携手順",
     "custom_bot_without_proxy_settings": "Custom Bot (Without-Proxy) 設定",
-    "reset":"リセット",
+    "reset": "リセット",
     "delete_slackbot_settings": "Slack Bot 設定をリセットする",
     "slackbot_settings_notice": "リセットします",
     "accordion": {
@@ -316,7 +316,8 @@
       "test_connection": "連携状況のテストをする",
       "test_connection_by_pressing_button": "以下のテストボタンを押して、Slack連携が完了しているかの確認をしましょう",
       "error_check_logs_below": "エラーが発生しました。下記のログを確認してください。",
-      "send_message_to_slack_work_space": "Slack ワークスペースに送信しました"
+      "send_message_to_slack_work_space": "Slack ワークスペースに送信しました",
+      "add_slack_workspace": "Slackワークスペースを追加"
     },
     "custom_bot_without_proxy_integration": "Custom bot without proxy 連携",
     "integration_sentence": {

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

@@ -326,7 +326,8 @@
       "test_connection": "测试连接",
       "test_connection_by_pressing_button": "按下按钮以测试连接",
       "error_check_logs_below": "发生了错误。请检查以下日志。",
-      "send_message_to_slack_work_space": "发送到 Slack 工作区。"
+      "send_message_to_slack_work_space": "发送到 Slack 工作区。",
+      "add_slack_workspace": "添加Slack Workspace"
     },
     "custom_bot_without_proxy_integration": "Custom bot without proxy 一体化",
     "integration_sentence": {

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

@@ -75,7 +75,7 @@ const CustomBotWithProxySettings = (props) => {
             className="btn btn-outline-primary"
             onClick={addAccordionHandler}
           >
-            + Slackワークスペースを追加
+            {`+ ${t('admin:slack_integration.accordion.add_slack_workspace')}`}
           </button>
         </div>
       </div>