diff --git a/packages/appstore/src/components/modals/account-type-modal/account-type-modal.tsx b/packages/appstore/src/components/modals/account-type-modal/account-type-modal.tsx index cf3a99bfc425..bd10965f0c96 100644 --- a/packages/appstore/src/components/modals/account-type-modal/account-type-modal.tsx +++ b/packages/appstore/src/components/modals/account-type-modal/account-type-modal.tsx @@ -109,19 +109,21 @@ const MT5AccountTypeModal = () => { const is_swapfree_available = useHasSwapFreeAccount(); const set_account_type = () => { - switch (account_type_card) { - case 'Derived': + const localizedAccountType = localize(account_type_card); + + switch (localizedAccountType) { + case localize('Derived'): setAccountType({ category: 'real', type: 'synthetic' }); break; - case 'Swap-Free': - setAccountType({ category: 'real', type: 'all' }); + case localize('Financial'): + setAccountType({ category: 'real', type: 'financial' }); break; - case 'Financial': default: - setAccountType({ category: 'real', type: 'financial' }); + setAccountType({ category: 'real', type: 'all' }); break; } }; + return (
}> diff --git a/packages/cfd/src/Containers/jurisdiction-modal/jurisdiction-modal.tsx b/packages/cfd/src/Containers/jurisdiction-modal/jurisdiction-modal.tsx index 317868656e5a..54405437302e 100644 --- a/packages/cfd/src/Containers/jurisdiction-modal/jurisdiction-modal.tsx +++ b/packages/cfd/src/Containers/jurisdiction-modal/jurisdiction-modal.tsx @@ -20,7 +20,7 @@ const JurisdictionModal = ({ const modal_title = show_eu_related_content ? localize('Choose a jurisdiction for your Deriv MT5 CFDs account') : localize('Choose a jurisdiction for your Deriv MT5 {{account_type}} account', { - account_type: getMT5Title(account_type.type), + account_type: localize(getMT5Title(account_type.type)), }); return (