diff --git a/apps/client/public/locales/en-US/translation.json b/apps/client/public/locales/en-US/translation.json
index 094a0e4c..f1f324ca 100644
--- a/apps/client/public/locales/en-US/translation.json
+++ b/apps/client/public/locales/en-US/translation.json
@@ -377,7 +377,8 @@
"Allow search engines to index page": "Allow search engines to index page",
"Open page": "Open page",
"Page": "Page",
- "Revoke public link": "Revoke public link",
- "Are you sure you want to revoke this public link?": "Are you sure you want to revoke this public link?",
+ "Delete public share link": "Delete public share link",
+ "Delete share": "Delete share",
+ "Are you sure you want to delete this shared link?": "Are you sure you want to delete this shared link?",
"Publicly shared pages from spaces you are a member of will appear here": "Publicly shared pages from spaces you are a member of will appear here"
}
diff --git a/apps/client/src/features/share/components/share-action-menu.tsx b/apps/client/src/features/share/components/share-action-menu.tsx
index be1dc591..398e25e9 100644
--- a/apps/client/src/features/share/components/share-action-menu.tsx
+++ b/apps/client/src/features/share/components/share-action-menu.tsx
@@ -46,22 +46,22 @@ export default function ShareActionMenu({ share }: Props) {
clipboard.copy(shareLink);
notifications.show({ message: t("Link copied") });
};
- const onRevoke = async () => {
+ const onDelete = async () => {
deleteShareMutation.mutateAsync(share.key);
};
- const openRevokeModal = () =>
+ const openDeleteModal = () =>
modals.openConfirmModal({
- title: t("Revoke public link"),
+ title: t("Delete public share link"),
children: (