Remove misused translation strings
This commit is contained in:
parent
a288c8305a
commit
59d8b9bfbb
2 changed files with 1 additions and 14 deletions
|
@ -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 });
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue