Skip to content

armgit / ente

Public Imported from GitHub
0

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

[web][photos] Reuse existing Archive translation

AswinAsok46a912916b08
diff --git a/web/apps/photos/src/components/collections/CollectionHeader.tsx b/web/apps/photos/src/components/collections/CollectionHeader.tsx
index 722195ab1a..4963825a20 100644
--- a/web/apps/photos/src/components/collections/CollectionHeader.tsx
+++ b/web/apps/photos/src/components/collections/CollectionHeader.tsx
@@ -175,9 +175,7 @@ export const CollectionHeader: React.FC<CollectionHeaderProps> = (props) => {
? { sx: { overflowWrap: "anywhere" } }
: undefined
}
- name={
- type == "archiveItems" ? t("archived_items") : name
- }
+ name={name}
description={isAlbum ? undefined : description}
descriptionMaxWidth={480}
onDescriptionHeightChange={
diff --git a/web/apps/photos/src/components/collections/GalleryBarAndListHeader.tsx b/web/apps/photos/src/components/collections/GalleryBarAndListHeader.tsx
index 4fa1e36931..d0b5d27b0d 100644
--- a/web/apps/photos/src/components/collections/GalleryBarAndListHeader.tsx
+++ b/web/apps/photos/src/components/collections/GalleryBarAndListHeader.tsx
@@ -132,7 +132,7 @@ export const GalleryBarAndListHeader: React.FC<
title={t(
collectionSummary.type == "hiddenItems"
? "hidden_albums"
- : "archived_albums",
+ : "section_archive",
)}
albums={albums}
onSelectAlbum={setActiveCollectionID}
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index 9d81bb33f0..cccc5f6bd7 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -833,8 +833,6 @@
"all_hidden_albums": "All hidden albums",
"hidden_albums": "Hidden albums",
"hidden_items": "Hidden items",
- "archived_albums": "Archived albums",
- "archived_items": "Archived items",
"enter_two_factor_otp": "Enter the 6-digit code from your authenticator app.",
"create_account": "Create account",
"copied": "Copied",