瀏覽代碼

button i18n

Steven Fukase 5 年之前
父節點
當前提交
6a7d4fce47
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/client/js/components/Admin/SlackIntegration/CustomBotWithProxySettings.jsx

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

@@ -38,7 +38,7 @@ const CustomBotWithProxySettings = (props) => {
       // GW-6068 set new value after this
       await appContainer.apiv3.delete('/slack-integration-settings/slack-app-integration', deleteTokenObject);
       fetchSlackIntegrationData();
-      toastSuccess(t('toaster.update_successed'));
+      toastSuccess(t('toaster.update_successed', { target: 'Token' }));
     }
     catch (err) {
       toastError(err);
@@ -62,7 +62,7 @@ const CustomBotWithProxySettings = (props) => {
       await appContainer.apiv3.put('/slack-integration-settings/proxy-uri', {
         proxyUri: newProxyServerUri,
       });
-      toastSuccess(t('toaster.update_successed', { target: t('Proxy URL') }));
+      toastSuccess(t('toaster.update_successed', { target: 'Proxy URL' }));
     }
     catch (err) {
       toastError(err);