diff --git a/app/components/Sharing/Collection/PublicAccess.tsx b/app/components/Sharing/Collection/PublicAccess.tsx
index 0c7734cece..b564acae7c 100644
--- a/app/components/Sharing/Collection/PublicAccess.tsx
+++ b/app/components/Sharing/Collection/PublicAccess.tsx
@@ -269,7 +269,7 @@ function InnerPublicAccess(
options={expiryOptions}
value={expiryType}
onChange={handleExpiryTypeChange}
- label={t("Expiration Date")}
+ label={t("Link Expiration")}
/>
{expiryType === ExpiryType.Custom ? (
{expiryType === ExpiryType.Custom ? (
-
+
+
+
) : (
-
+
{expiresAt
? `${dateToExpiry(expiresAt.toISOString(), t, userLocale)}.`
: `${t("Never expires")}.`}
@@ -354,6 +357,7 @@ function PublicAccess(
const StyledExpirySelect = styled(InputSelect)`
width: 150px !important;
margin-bottom: 0;
+ margin-top: 0;
`;
export default observer(React.forwardRef(PublicAccess));
diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json
index f9cecd8f7b..8e9dd6b884 100644
--- a/shared/i18n/locales/en_US/translation.json
+++ b/shared/i18n/locales/en_US/translation.json
@@ -541,7 +541,7 @@
"Publish to web": "Publish to web",
"Allow anyone with the link to access": "Allow anyone with the link to access",
"Publish to internet": "Publish to internet",
- "Expiration Date": "Expiration Date",
+ "Link Expiration": "Link Expiration",
"Never expires": "Never expires",
"All documents in this collection will be shared on the web, including any new documents added later": "All documents in this collection will be shared on the web, including any new documents added later",
"Invite": "Invite",
@@ -600,7 +600,6 @@
"Leave": "Leave",
"Anyone with the link can access because the containing collection, <2>{sharedParent.sourceTitle}2>, is shared": "Anyone with the link can access because the containing collection, <2>{sharedParent.sourceTitle}2>, is shared",
"Anyone with the link can access because the parent document, <2>{sharedParent.sourceTitle}2>, is shared": "Anyone with the link can access because the parent document, <2>{sharedParent.sourceTitle}2>, is shared",
- "Expiration": "Expiration",
"Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future": "Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future",
"{{ userName }} was added to the document": "{{ userName }} was added to the document",
"{{ count }} people added to the document": "{{ count }} person added to the document",
@@ -849,6 +848,7 @@
"API key created. Please copy the value now as it will not be shown again.": "API key created. Please copy the value now as it will not be shown again.",
"Scopes": "Scopes",
"Space-separated scopes restrict the access of this API key to specific parts of the API. Leave blank for full access": "Space-separated scopes restrict the access of this API key to specific parts of the API. Leave blank for full access",
+ "Expiration": "Expiration",
"7 days": "7 days",
"30 days": "30 days",
"60 days": "60 days",