Skip to content

Commit

Permalink
Web: Backup: Added new translation.
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaLopaeva committed Apr 10, 2022
1 parent 34d4b5d commit b20f4cf
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/ASC.Web.Client/public/locales/en/Settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions web/ASC.Web.Client/public/locales/ru/Settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
"SendNotificationAboutRestoring": "Оповестить пользователей о восстановлении портала",
"ServerSideEncryptionMethod": "Метод шифрования на стороне сервера",
"ServiceUrl": "Url-адрес сервиса",
"SelectFileInGZFormat": "Выбрать файл в формате .GZ",
"StudioTimeLanguageSettings": "Настройки языка и часового пояса",
"SuccessfullySaveGreetingSettingsMessage": "Настройки страницы приветствия успешно сохранены",
"SuccessfullySaveSettingsMessage": "Настройки успешно обновлены",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -420,6 +421,7 @@ class RestoreBackup extends React.Component {
)}
{isCheckedThirdParty && (
<ThirdPartyResources
t={t}
isPanelVisible={isPanelVisible}
onClose={this.onPanelClose}
onClickInput={this.onClickInput}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import SelectFileInput from "files/SelectFileInput";

class Documents extends React.Component {
render() {
const { t } = this.props;
return (
<SelectFileInput
{...this.props}
Expand All @@ -11,6 +12,7 @@ class Documents extends React.Component {
isArchiveOnly
searchParam=".gz"
dialogName="Select File"
filesListTitle={t("SelectFileInGZFormat")}
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
/>
);
Expand Down

0 comments on commit b20f4cf

Please sign in to comment.