fix long button text
This commit is contained in:
parent
f04926b77a
commit
4b3c43cc24
|
@ -26,7 +26,7 @@ export function MemberSubscriptionManage({ open, userDetails, onClose }) {
|
|||
title: `${constants.LEAVE_FAMILY_PLAN}`,
|
||||
content: constants.LEAVE_FAMILY_CONFIRM,
|
||||
proceed: {
|
||||
text: constants.LEAVE_FAMILY_PLAN,
|
||||
text: constants.LEAVE,
|
||||
action: onLeaveFamilyClick,
|
||||
variant: 'danger',
|
||||
},
|
||||
|
|
|
@ -22,11 +22,10 @@ export default function ExitSection() {
|
|||
|
||||
const showDeleteAccountDirections = () => {
|
||||
setDialogMessage({
|
||||
title: `${constants.DELETE_ACCOUNT}`,
|
||||
title: constants.DELETE_ACCOUNT,
|
||||
content: constants.DELETE_ACCOUNT_MESSAGE(),
|
||||
|
||||
proceed: {
|
||||
text: constants.DELETE_ACCOUNT,
|
||||
text: constants.DELETE,
|
||||
action: () => {
|
||||
initiateEmail('account-deletion@ente.io');
|
||||
},
|
||||
|
|
|
@ -246,6 +246,7 @@ const englishConstants = {
|
|||
MANAGEMENT_PORTAL: 'Manage payment method',
|
||||
MANAGE_FAMILY_PORTAL: 'Manage family',
|
||||
LEAVE_FAMILY_PLAN: 'Leave family plan',
|
||||
LEAVE: 'Leave',
|
||||
LEAVE_FAMILY_CONFIRM: 'Are you sure that you want to leave family plan?',
|
||||
CHOOSE_PLAN: 'Choose your subscription plan',
|
||||
MANAGE_PLAN: 'Manage your subscription',
|
||||
|
|
Loading…
Reference in a new issue