π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
feat: new crop icon and locale support
httpjamesmcc51cb6caa0a
diff --git a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/CropMenu.tsx b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/CropMenu.tsxindex 74134bb077..0f63e83ce5 100644--- a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/CropMenu.tsx+++ b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/CropMenu.tsx@@ -3,9 +3,10 @@ import { MenuItemGroup } from 'components/Menu/MenuItemGroup';import MenuSectionTitle from 'components/Menu/MenuSectionTitle';import { useContext } from 'react';import { ImageEditorOverlayContext } from './';-import CropSquareIcon from '@mui/icons-material/CropSquare';import { CropBoxProps } from './';import type { MutableRefObject } from 'react';+import { t } from 'i18next';+import CropIcon from '@mui/icons-material/Crop';interface IProps {previewScale: number;@@ -63,14 +64,14 @@ const CropMenu = (props: IProps) => {return (<>- <MenuSectionTitle title={'freehand'} />+ <MenuSectionTitle title={t('FREEHAND')} /><MenuItemGroupstyle={{marginBottom: '0.5rem',}}><EnteMenuItemdisabled={canvasLoading}- startIcon={<CropSquareIcon />}+ startIcon={<CropIcon />}onClick={() => {if (!props.cropBoxRef.current || !canvasRef.current)return;@@ -113,7 +114,7 @@ const CropMenu = (props: IProps) => {setCurrentTab('transform');}}- label="Apply"+ label={t('APPLY')}/></MenuItemGroup></>