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

View File

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

View File

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

View File

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

View File

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