Web: Files: added translate

This commit is contained in:
Viktor Fomin 2021-02-02 15:34:29 +03:00
parent 19a5526af4
commit 4774a35c40
3 changed files with 6 additions and 3 deletions

View File

@ -45,7 +45,7 @@ const EmptyTrashDialogComponent = (props) => {
const loopEmptyTrash = useCallback(
(id) => {
const successMessage = "Success empty recycle bin";
const successMessage = t("SuccessEmptyTrash");
api.files
.getProgress()
.then((res) => {

View File

@ -5,5 +5,7 @@
"EmptyTrashDialogQuestion": "Are you sure you want to empty the recycle bin?",
"EmptyTrashDialogMessage": "Note: This action can not be undone. Note: removal from your account can not be undone.",
"DeleteOperation": "Deleting"
"DeleteOperation": "Deleting",
"SuccessEmptyTrash": "Success empty recycle bin"
}

View File

@ -5,5 +5,6 @@
"EmptyTrashDialogQuestion": "Вы уверены, что хотите очистить корзину?",
"EmptyTrashDialogMessage": "Замечание: Это действие не может быть отменено.",
"DeleteOperation": "Удаление"
"DeleteOperation": "Удаление",
"SuccessEmptyTrash": "Корзина успешно очищена"
}