diff --git a/web/ASC.Web.Client/src/components/pages/Settings/categories/integration/sub-components/consumerModalDialog.js b/web/ASC.Web.Client/src/components/pages/Settings/categories/integration/sub-components/consumerModalDialog.js index 28bd2d74b3..58f1de7150 100644 --- a/web/ASC.Web.Client/src/components/pages/Settings/categories/integration/sub-components/consumerModalDialog.js +++ b/web/ASC.Web.Client/src/components/pages/Settings/categories/integration/sub-components/consumerModalDialog.js @@ -1,5 +1,6 @@ import React from "react"; import { ModalDialog, Text, Button, TextInput, Box, Link } from "asc-web-components"; +import { Trans } from 'react-i18next'; class ConsumerModalDialog extends React.Component { @@ -27,7 +28,7 @@ class ConsumerModalDialog extends React.Component { onSendValues = () => { this.props.onModalButtonClick(); - + const prop = []; let i = 0; let stateLength = Object.keys(this.state).length; @@ -50,26 +51,30 @@ class ConsumerModalDialog extends React.Component { render() { - const { consumers, selectedConsumer, onModalClose, dialogVisible } = this.props; + const { consumers, selectedConsumer, onModalClose, dialogVisible, t, i18n } = this.props; const { onChangeHandler } = this; const bodyDescription = ( <> - Как это работает? - Для получения подробных инструкций по подключению этого сервиса, пожалуйста, перейдите в наш Справочный центр, где приводится вся необходимая информация. + {t("ThirdPartyHowItWorks")} + {t("ThirdPartyBodyDescription")} + + ); + const supportTeamLink = ( + <> + + Support Team + ); const bottomDescription = ( - <> - - Если у вас остались вопросы по подключению этого сервиса или вам требуется помощь, вы всегда можете обратиться в нашу - {" "} - - Службу техподдержки - . + + If you still have some questions on how to connect this service or need technical assistance, please feel free to contact our Support Team + ); const getConsumerName = () => { @@ -116,7 +121,7 @@ class ConsumerModalDialog extends React.Component {