π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(locker):codex-reviews
Aswin Asok526f752b6900
diff --git a/web/apps/locker/src/components/LockerMenu.tsx b/web/apps/locker/src/components/LockerMenu.tsxindex a6cf0a9298..4de61d4ba7 100644--- a/web/apps/locker/src/components/LockerMenu.tsx+++ b/web/apps/locker/src/components/LockerMenu.tsx@@ -8,6 +8,7 @@ import {type IconButtonProps,} from "@mui/material";import Menu, { type MenuProps } from "@mui/material/Menu";+import { t } from "i18next";import React, { createContext, useContext, useMemo, useState } from "react";import { lockerMenuPaperSx } from "./locker-dialog-styles";import {@@ -35,6 +36,7 @@ export const LockerOverflowMenu: React.FC<return (<LockerMenuContext value={context}><IconButton+ aria-label={t("more")}onClick={(event) => setAnchorEl(event.currentTarget)}aria-controls={anchorEl ? ariaID : undefined}aria-haspopup="true"diff --git a/web/apps/locker/src/components/lockerPage/use-locker-actions.tsx b/web/apps/locker/src/components/lockerPage/use-locker-actions.tsxindex e7b8def471..4e7cd79996 100644--- a/web/apps/locker/src/components/lockerPage/use-locker-actions.tsx+++ b/web/apps/locker/src/components/lockerPage/use-locker-actions.tsx@@ -38,6 +38,7 @@ import log from "ente-base/log";import { t } from "i18next";import type { DragEvent } from "react";import { useCallback, useEffect, useRef, useState } from "react";+import { Trans } from "react-i18next";import { filterNonEmptyUploadItems } from "../createItemDialog/file-upload-helpers";import type { CreateItemDialogEditItem } from "../createItemDialog/use-create-item-dialog-state";import type { EmptyTrashDialogState } from "./EmptyTrashDialog";@@ -586,7 +587,14 @@ export const useLockerActions = ({setConfirmDialog({illustration: "/images/file_delete_icon.png",title: t("areYouSure"),- body: t("deleteMultipleFilesDialogBody", { count: 1 }),+ body: (+ <Trans+ i18nKey="deleteFileConfirmation"+ components={{+ fileName: <strong>{getItemTitle(item)}</strong>,+ }}+ />+ ),confirmLabel: t("yesDeleteFiles", { count: 1 }),tone: "critical",action: async () => {