Web: Backup: Added new translation.

This commit is contained in:
Tatiana Lopaeva 2022-04-10 13:14:40 +03:00
parent 34d4b5dbaa
commit b20f4cfed1
5 changed files with 8 additions and 0 deletions

View File

@ -123,6 +123,7 @@
"SendNotificationAboutRestoring": "Send notification about portal restoring to users",
"ServerSideEncryptionMethod": "Server Side Encryption Method",
"ServiceUrl": "Service Url",
"SelectFileInGZFormat": "Select the file in .GZ format",
"StudioTimeLanguageSettings": "Language and Time Zone Settings",
"SuccessfullySaveGreetingSettingsMessage": "Welcome Page settings have been successfully saved",
"SuccessfullySavePortalNameMessage": "Portal has been renamed successfully",

View File

@ -116,6 +116,7 @@
"SendNotificationAboutRestoring": "Оповестить пользователей о восстановлении портала",
"ServerSideEncryptionMethod": "Метод шифрования на стороне сервера",
"ServiceUrl": "Url-адрес сервиса",
"SelectFileInGZFormat": "Выбрать файл в формате .GZ",
"StudioTimeLanguageSettings": "Настройки языка и часового пояса",
"SuccessfullySaveGreetingSettingsMessage": "Настройки страницы приветствия успешно сохранены",
"SuccessfullySaveSettingsMessage": "Настройки успешно обновлены",

View File

@ -411,6 +411,7 @@ class RestoreBackup extends React.Component {
<div className="restore-backup_modules">
{isCheckedDocuments && (
<Documents
t={t}
isPanelVisible={isPanelVisible}
onClose={this.onPanelClose}
onClickInput={this.onClickInput}
@ -420,6 +421,7 @@ class RestoreBackup extends React.Component {
)}
{isCheckedThirdParty && (
<ThirdPartyResources
t={t}
isPanelVisible={isPanelVisible}
onClose={this.onPanelClose}
onClickInput={this.onClickInput}

View File

@ -3,6 +3,7 @@ import SelectFileInput from "files/SelectFileInput";
class Documents extends React.Component {
render() {
const { t } = this.props;
return (
<SelectFileInput
{...this.props}
@ -11,6 +12,7 @@ class Documents extends React.Component {
isArchiveOnly
searchParam=".gz"
dialogName="Select File"
filesListTitle={t("SelectFileInGZFormat")}
/>
);
}

View File

@ -4,11 +4,13 @@ import { inject, observer } from "mobx-react";
class ThirdPartyResources extends React.Component {
render() {
const { t } = this.props;
return (
<SelectFileInput
{...this.props}
foldersType="third-party"
searchParam=".gz"
filesListTitle={t("SelectFileInGZFormat")}
isArchiveOnly
/>
);