fix long button text

This commit is contained in:
Abhinav 2022-07-01 21:35:18 +05:30
parent f04926b77a
commit 4b3c43cc24
3 changed files with 4 additions and 4 deletions

View file

@ -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',
},

View file

@ -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');
},

View file

@ -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',