π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove misused translation strings
Manav Rathi59d8b9bfbbe1
diff --git a/web/apps/photos/src/pages/gallery/index.tsx b/web/apps/photos/src/pages/gallery/index.tsxindex 20d95ce00f..d883cb61c1 100644--- a/web/apps/photos/src/pages/gallery/index.tsx+++ b/web/apps/photos/src/pages/gallery/index.tsx@@ -96,7 +96,6 @@ import {ALL_SECTION,ARCHIVE_SECTION,CollectionSummaryType,- DUMMY_UNCATEGORIZED_COLLECTION,HIDDEN_ITEMS_SECTION,TRASH_SECTION,} from "constants/collection";@@ -446,18 +445,7 @@ export default function Gallery() {}let collectionURL = "";if (activeCollectionID !== ALL_SECTION) {- collectionURL += "?collection=";- if (activeCollectionID === ARCHIVE_SECTION) {- collectionURL += t("ARCHIVE_SECTION_NAME");- } else if (activeCollectionID === TRASH_SECTION) {- collectionURL += t("TRASH");- } else if (activeCollectionID === DUMMY_UNCATEGORIZED_COLLECTION) {- collectionURL += t("UNCATEGORIZED");- } else if (activeCollectionID === HIDDEN_ITEMS_SECTION) {- collectionURL += t("HIDDEN_ITEMS_SECTION_NAME");- } else {- collectionURL += activeCollectionID;- }+ collectionURL = `?collection={activeCollectionID}`;}const href = `/gallery${collectionURL}`;router.push(href, undefined, { shallow: true });diff --git a/web/packages/next/locales/en-US/translation.json b/web/packages/next/locales/en-US/translation.jsonindex 2fb9eadc6a..3474f1b710 100644--- a/web/packages/next/locales/en-US/translation.json+++ b/web/packages/next/locales/en-US/translation.json@@ -418,7 +418,6 @@"ALL_HIDDEN_ALBUMS": "All hidden albums","HIDDEN_ALBUMS": "Hidden albums","HIDDEN_ITEMS": "Hidden items",- "HIDDEN_ITEMS_SECTION_NAME": "Hidden_items","ENTER_TWO_FACTOR_OTP": "Enter the 6-digit code from your authenticator app.","CREATE_ACCOUNT": "Create account","COPIED": "Copied",