zahmis пре 4 година
родитељ
комит
ff7efc0968

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

@@ -291,8 +291,8 @@
     "official_bot_settings": "Official bot Settings",
     "official_bot_settings": "Official bot Settings",
     "custom_bot_without_proxy_settings": "Custom Bot without proxy Settings",
     "custom_bot_without_proxy_settings": "Custom Bot without proxy Settings",
     "reset": "Reset",
     "reset": "Reset",
-    "delete_credentials": "Delete Signing Secret and Bot Token",
-    "credentials_notice": "Remove Signing Secret and Bot Token",
+    "delete_slackbot_settings": "Delete Signing Secret and Bot Token",
+    "slackbot_settings_notice": "Remove Signing Secret and Bot Token",
     "accordion": {
     "accordion": {
       "create_bot": "Create Bot",
       "create_bot": "Create Bot",
       "how_to_create_a_bot": "How to create a bot",
       "how_to_create_a_bot": "How to create a bot",

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

@@ -288,8 +288,8 @@
     },
     },
     "custom_bot_without_proxy_settings": "Custom Bot (Without-Proxy) 設定",
     "custom_bot_without_proxy_settings": "Custom Bot (Without-Proxy) 設定",
     "reset":"リセット",
     "reset":"リセット",
-    "delete_credentials": "Signing Secret と Bot Token をリセットする",
-    "credentials_notice": "Signing Secret と Bot Token をリセットします",
+    "delete_slackbot_settings": "Signing Secret と Bot Token をリセットする",
+    "slackbot_settings_notice": "Signing Secret と Bot Token をリセットします",
     "accordion": {
     "accordion": {
       "create_bot": "Bot を作成する",
       "create_bot": "Bot を作成する",
       "how_to_create_a_bot": "作成方法はこちら",
       "how_to_create_a_bot": "作成方法はこちら",

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

@@ -298,8 +298,8 @@
     },
     },
     "custom_bot_without_proxy_settings": "Custom Bot (Without-Proxy) 设置",
     "custom_bot_without_proxy_settings": "Custom Bot (Without-Proxy) 设置",
     "reset":"重置",
     "reset":"重置",
-    "delete_credentials": "删除签名秘密和令牌",
-    "credentials_notice": "移除签名秘密和机器人令牌。",
+    "delete_slackbot_settings": "删除签名秘密和令牌",
+    "slackbot_settings_notice": "移除签名秘密和机器人令牌。",
     "accordion": {
     "accordion": {
       "create_bot": "创建 Bot",
       "create_bot": "创建 Bot",
       "how_to_create_a_bot": "如何创建一个 Bot",
       "how_to_create_a_bot": "如何创建一个 Bot",

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

@@ -36,11 +36,11 @@ const DeleteSlackBotSettingsModal = React.memo((props) => {
       <ModalHeader tag="h4" toggle={closeButtonHandler} className="bg-danger text-light">
       <ModalHeader tag="h4" toggle={closeButtonHandler} className="bg-danger text-light">
         <span>
         <span>
           <i className="icon-fw icon-fire"></i>
           <i className="icon-fw icon-fire"></i>
-          {t('admin:slack_integration.delete_credentials')}
+          {t('admin:slack_integration.delete_slackbot_settings')}
         </span>
         </span>
       </ModalHeader>
       </ModalHeader>
       <ModalBody>
       <ModalBody>
-        {t('admin:slack_integration.credentials_notice')}
+        {t('admin:slack_integration.slackbot_settings_notice')}
       </ModalBody>
       </ModalBody>
       <ModalFooter>
       <ModalFooter>
         <Button onClick={closeButtonHandler}>{t('Cancel')}</Button>
         <Button onClick={closeButtonHandler}>{t('Cancel')}</Button>