diff --git a/app/actions/definitions/collections.tsx b/app/actions/definitions/collections.tsx index 6fc2539e3..693ecbdc9 100644 --- a/app/actions/definitions/collections.tsx +++ b/app/actions/definitions/collections.tsx @@ -161,9 +161,10 @@ export const unstarCollection = createAction({ }); export const deleteCollection = createAction({ - name: ({ t }) => t("Delete"), + name: ({ t }) => `${t("Delete")}…`, analyticsName: "Delete collection", section: CollectionSection, + dangerous: true, icon: , visible: ({ activeCollectionId, stores }) => { if (!activeCollectionId) { diff --git a/app/components/ConfirmationDialog.tsx b/app/components/ConfirmationDialog.tsx index 074664fb4..299ebd396 100644 --- a/app/components/ConfirmationDialog.tsx +++ b/app/components/ConfirmationDialog.tsx @@ -51,17 +51,19 @@ const ConfirmationDialog: React.FC = ({ return (
- {children} + + {children} - - + + + ); diff --git a/app/components/Sharing/MemberListItem.tsx b/app/components/Sharing/MemberListItem.tsx index 584ef5a99..5dba42e16 100644 --- a/app/components/Sharing/MemberListItem.tsx +++ b/app/components/Sharing/MemberListItem.tsx @@ -93,7 +93,7 @@ const MemberListItem = ({ ) : user.email ? ( user.email ) : ( - t("Member") + t("Editor") ) } actions={ diff --git a/app/menus/UserMenu.tsx b/app/menus/UserMenu.tsx index 5abb30496..c4e10a6bc 100644 --- a/app/menus/UserMenu.tsx +++ b/app/menus/UserMenu.tsx @@ -56,7 +56,7 @@ function UserMenu({ user }: Props) { (ev: React.SyntheticEvent) => { ev.preventDefault(); dialogs.openModal({ - title: t("Change role to member"), + title: t("Change role to editor"), isCentered: true, content: ( parent": "Has access through <2>parent", "Suspended": "Suspended", "Invited": "Invited", - "Member": "Member", "Leave": "Leave", "Only lowercase letters, digits and dashes allowed": "Only lowercase letters, digits and dashes allowed", "Sorry, this link has already been used": "Sorry, this link has already been used", @@ -443,7 +442,7 @@ "Headings you add to the document will appear here": "Headings you add to the document will appear here", "Table of contents": "Table of contents", "Change role to admin": "Change role to admin", - "Change role to member": "Change role to member", + "Change role to editor": "Change role to editor", "Change role to viewer": "Change role to viewer", "Change name": "Change name", "Suspend user": "Suspend user",