kaori 5 лет назад
Родитель
Сommit
9817143c2e

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

@@ -30,7 +30,7 @@ const BotTypeCard = (props) => {
 
           </span>
           <span className="supplementary-bot-name mr-2">
-            {props.value.supplementaryBotName}
+            {t(`admin:slack_integration.selecting_bot_types.${props.value.supplementaryBotName}`)}
           </span>
 
           {props.value.botType === 'official-bot' ? renderRecommendedBadge() : ''}

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

@@ -115,7 +115,7 @@ const SlackIntegration = (props) => {
     customBotWithoutProxy: {
       botType: 'custom-bot-without-proxy',
       name: 'custom_bot',
-      supplementaryBotName: t('admin:slack_integration.selecting_bot_types.without_proxy'),
+      supplementaryBotName: 'without_proxy',
       setUp: 'normal',
       multiWSIntegration: 'impossible',
       securityControl: 'possible',
@@ -123,7 +123,7 @@ const SlackIntegration = (props) => {
     customBotWithProxy: {
       botType: 'custom-bot-with-proxy',
       name: 'custom_bot',
-      supplementaryBotName: t('admin:slack_integration.selecting_bot_types.with_proxy'),
+      supplementaryBotName: 'with_proxy',
       setUp: 'hard',
       multiWSIntegration: 'possible',
       securityControl: 'possible',