Web: Settings: Backup: Added translations for placeholder.

This commit is contained in:
Tatiana Lopaeva 2021-05-22 17:16:06 +03:00
parent ae77994689
commit 6bdfbed088
3 changed files with 17 additions and 16 deletions

View File

@ -156,5 +156,9 @@
"WeeklyPeriodSchedule": "Every week",
"MaxCopies": "copies max will be saved",
"Copying": "Copying...",
"SuccessCopied": "The backup copy has been successfully created."
"SuccessCopied": "The backup copy has been successfully created.",
"UseHttp": "Use Http",
"SSE": "Server Side Encryption Method",
"ServiceUrl": "Service Url",
"ForcePathStyle": "Force Path Style"
}

View File

@ -156,5 +156,9 @@
"WeeklyPeriodSchedule": "Каждую неделю",
"MaxCopies": "копий максимум будет сохранено",
"Copying": "Копирование...",
"SuccessCopied": "Резервная копия успешно создана."
"SuccessCopied": "Резервная копия успешно создана.",
"UseHttp": "Использовать Http",
"SSE": "Метод шифрования на стороне сервера",
"ServiceUrl": "Url-адрес сервиса",
"ForcePathStyle": "Принудительно использовать стиль пути"
}

View File

@ -407,8 +407,10 @@ class ThirdPartyStorageModule extends React.PureComponent {
!availableStorage[selectedId].isSet)
}
placeholder={
availableStorage[selectedId] &&
availableStorage[selectedId].properties[1].title
selectedId === "S3"
? t("ForcePathStyle")
: availableStorage[selectedId] &&
availableStorage[selectedId].properties[1].title
}
tabIndex={1}
/>
@ -449,10 +451,7 @@ class ThirdPartyStorageModule extends React.PureComponent {
(availableStorage[selectedId] &&
!availableStorage[selectedId].isSet)
}
placeholder={
availableStorage[selectedId] &&
availableStorage[selectedId].properties[3].title
}
placeholder={t("ServiceUrl")}
tabIndex={1}
/>
<TextInput
@ -468,10 +467,7 @@ class ThirdPartyStorageModule extends React.PureComponent {
(availableStorage[selectedId] &&
!availableStorage[selectedId].isSet)
}
placeholder={
availableStorage[selectedId] &&
availableStorage[selectedId].properties[4].title
}
placeholder={t("UseHttp")}
tabIndex={1}
/>
<TextInput
@ -487,10 +483,7 @@ class ThirdPartyStorageModule extends React.PureComponent {
(availableStorage[selectedId] &&
!availableStorage[selectedId].isSet)
}
placeholder={
availableStorage[selectedId] &&
availableStorage[selectedId].properties[5].title
}
placeholder={t("SSE")}
tabIndex={1}
/>
</>