diff --git a/tdrive/frontend/public/locales/en.json b/tdrive/frontend/public/locales/en.json index ed30b170..640ea389 100644 --- a/tdrive/frontend/public/locales/en.json +++ b/tdrive/frontend/public/locales/en.json @@ -338,7 +338,6 @@ "components.item_context_menu.clear_selection": "Clear selection", "components.item_context_menu.delete_multiple": "Delete", "components.item_context_menu.to_trash_multiple": "Move selected items to trash", - "components.item_context_menu.trash.exit": "Exit trash", "components.item_context_menu.trash.empty": "Empty trash", "components.item_context_menu.add_documents": "Add document or folder", "components.item_context_menu.download_folder": "Download folder", diff --git a/tdrive/frontend/public/locales/fr.json b/tdrive/frontend/public/locales/fr.json index ce1d214c..9eff15cc 100644 --- a/tdrive/frontend/public/locales/fr.json +++ b/tdrive/frontend/public/locales/fr.json @@ -329,7 +329,6 @@ "components.item_context_menu.clear_selection": "Annuler la sélection", "components.item_context_menu.delete_multiple": "Supprimer", "components.item_context_menu.to_trash_multiple": "Supprimer", - "components.item_context_menu.trash.exit": "Quitter la corbeille", "components.item_context_menu.trash.empty": "Vider la corbeille", "components.item_context_menu.add_documents": "Ajouter un document ou un dossier", "components.item_context_menu.download_folder": "Télécharger le dossier", diff --git a/tdrive/frontend/public/locales/ru.json b/tdrive/frontend/public/locales/ru.json index 2b4392ca..881afb88 100644 --- a/tdrive/frontend/public/locales/ru.json +++ b/tdrive/frontend/public/locales/ru.json @@ -328,7 +328,6 @@ "components.item_context_menu.clear_selection": "Снять выделение", "components.item_context_menu.delete_multiple": "Удалить", "components.item_context_menu.to_trash_multiple": "Удалить", - "components.item_context_menu.trash.exit": "Выйти из корзины", "components.item_context_menu.trash.empty": "Очистить корзину", "components.item_context_menu.add_documents": "Добавить документ в папку", "components.item_context_menu.download_folder": "Скачать папку", diff --git a/tdrive/frontend/public/locales/vn.json b/tdrive/frontend/public/locales/vn.json index 39d92f22..71528743 100644 --- a/tdrive/frontend/public/locales/vn.json +++ b/tdrive/frontend/public/locales/vn.json @@ -326,7 +326,6 @@ "components.item_context_menu.clear_selection": "Xóa lựa chọn", "components.item_context_menu.delete_multiple": "Xóa", "components.item_context_menu.to_trash_multiple": "Di chuyển các mục đã chọn vào thùng rác", - "components.item_context_menu.trash.exit": "Thoát thùng rác", "components.item_context_menu.trash.empty": "Làm trống thùng rác", "components.item_context_menu.add_documents": "Thêm tài liệu hoặc thư mục", "components.item_context_menu.download_folder": "Tải xuống thư mục", diff --git a/tdrive/frontend/src/app/views/client/body/drive/context-menu.tsx b/tdrive/frontend/src/app/views/client/body/drive/context-menu.tsx index 5b265e3b..c7c6fc94 100644 --- a/tdrive/frontend/src/app/views/client/body/drive/context-menu.tsx +++ b/tdrive/frontend/src/app/views/client/body/drive/context-menu.tsx @@ -268,12 +268,6 @@ export const useOnBuildContextMenu = (children: DriveItem[], initialParentId?: s //Add parent related menus const newMenuActions: any[] = inTrash ? [ - { - type: 'menu', - text: Languages.t('components.item_context_menu.trash.exit'), - onClick: () => setParentId('root'), - }, - { type: 'separator' }, { type: 'menu', text: Languages.t('components.item_context_menu.trash.empty'),