Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix(photos):preserve-intentionally-untranslated-confirm-label

Aswin Asokf599ccb7ae1d
diff --git a/web/apps/photos/src/components/Collections/PickCoverPhotoDialog.tsx b/web/apps/photos/src/components/Collections/PickCoverPhotoDialog.tsx
index af79d07e30..266022db02 100644
--- a/web/apps/photos/src/components/Collections/PickCoverPhotoDialog.tsx
+++ b/web/apps/photos/src/components/Collections/PickCoverPhotoDialog.tsx
@@ -12,6 +12,7 @@ import {
import type { LocalUser } from "ente-accounts/services/user";
import { LoadingButton } from "ente-base/components/mui/LoadingButton";
import { useIsSmallWidth } from "ente-base/components/utils/hooks";
+import { ut } from "ente-base/i18n";
import type { Collection } from "ente-media/collection";
import type { EnteFile } from "ente-media/file";
import { FileType } from "ente-media/file-type";
@@ -274,7 +275,7 @@ export const PickCoverPhotoDialog: React.FC<PickCoverPhotoDialogProps> = ({
autoFocus={Boolean(selectedFile)}
sx={actionButtonSx}
>
- {t("confirm")}
+ {ut("Confirm")}
</LoadingButton>
</DialogActions>
</Stack>