zahmis 4 лет назад
Родитель
Сommit
c752e2db10

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

@@ -273,6 +273,7 @@
       "possible": "Possible",
       "impossible": "Impossible"
     },
+    "reset":"Reset",
     "bot_reset_successful": "Bot settings have been reset.",
     "copied_to_clipboard": "Copied to clipboard",
     "set_scope": "Please set up Bot Token Scopes from Slack settings",

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

@@ -269,9 +269,9 @@
       "normal": "ふつう",
       "hard": "むずかしい",
       "possible": "可能",
-      "impossible": "不可",
-      "reset":"リセット"
+      "impossible": "不可"
     },
+    "reset":"リセット",
     "bot_reset_successful": "Botの設定を消去しました。",
     "copied_to_clipboard": "クリップボードにコピーされました。",
     "set_scope": "Slackの設定画面からBot Token Scopeを設定してください",

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

@@ -281,6 +281,7 @@
       "possible": "可能的",
       "impossible": "不可能"
     },
+    "reset":"重置",
     "bot_reset_successful": "删除了BOT设置。",
     "copied_to_clipboard": "它已复制到剪贴板。",
     "set_scope": "在Slack设置页面中配置Bot Token Scope。",

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

@@ -55,7 +55,7 @@ const CustomBotWithoutProxySettings = (props) => {
         className="pull-right btn text-danger border-danger"
         type="button"
         onClick={() => setIsDeleteConfirmModalShown(true)}
-      >リセット
+      >{t('admin:slack_integration.reset')}
       </button>
       ) }