Skip to content

armgit / ente

Public Imported from GitHub
0

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

[web] Add missing localization key

Manav Rathi6ad0fa390073
diff --git a/web/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx b/web/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
index 25d09daebc..c4e1f5854f 100644
--- a/web/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
@@ -645,7 +645,7 @@ const ImageEditorOverlay = (props: IProps) => {
setCurrentTab(value);
}}
>
- <Tab label={t("CROP")} value="crop" />
+ <Tab label={t("editor.crop")} value="crop" />
<Tab label={t("TRANSFORM")} value="transform" />
<Tab
label={t("COLORS")}
diff --git a/web/packages/next/locales/en-US/translation.json b/web/packages/next/locales/en-US/translation.json
index f4d6f61001..f7acb63c89 100644
--- a/web/packages/next/locales/en-US/translation.json
+++ b/web/packages/next/locales/en-US/translation.json
@@ -565,6 +565,9 @@
"IMAGE": "Image",
"VIDEO": "Video",
"LIVE_PHOTO": "Live Photo",
+ "editor": {
+ "crop": "Crop"
+ },
"CONVERT": "Convert",
"CONFIRM_EDITOR_CLOSE_MESSAGE": "Are you sure you want to close the editor?",
"CONFIRM_EDITOR_CLOSE_DESCRIPTION": "Download your edited image or save a copy to Ente to persist your changes.",