diff --git a/frontend/src/components/Profile/ProfileCompletionModal.tsx b/frontend/src/components/Profile/ProfileCompletionModal.tsx index 5cb8d070a..0644f2881 100644 --- a/frontend/src/components/Profile/ProfileCompletionModal.tsx +++ b/frontend/src/components/Profile/ProfileCompletionModal.tsx @@ -253,7 +253,7 @@ export const ProfileCompletionModal: React.FC = ({ {t.cart.profileCompletion.fields.address.label[lang]} - ({t.cart.profileCompletion.fields.address.optional[lang]}) + {t.cart.profileCompletion.fields.address.optional[lang]}

@@ -368,7 +368,7 @@ export const ProfileCompletionModal: React.FC = ({ - + - + + + {isCheckoutDisabled && ( + +

{t.cart.buttons.wrongRole[lang]}

+ )} - + diff --git a/frontend/src/translations/modules/cart.ts b/frontend/src/translations/modules/cart.ts index 46ce7ffb3..dd527b832 100644 --- a/frontend/src/translations/modules/cart.ts +++ b/frontend/src/translations/modules/cart.ts @@ -129,6 +129,10 @@ export const cart = { fi: "Tuntematon virhe", en: "Unknown error", }, + wrongRole: { + fi: "Valitse toinen rooli jatkaaksesi kassalle", + en: "Please choose another role to proceed with checkout", + }, }, toast: { clearCartTitle: {