diff --git a/public/locales/bg/auth.json b/public/locales/bg/auth.json index f9f868f58..596d070e0 100644 --- a/public/locales/bg/auth.json +++ b/public/locales/bg/auth.json @@ -52,7 +52,11 @@ "individual": "Личен", "corporate": "Организация" }, - "registration": { + "register": { + "individual": "Регистрация като физическо лице", + "individual-subtitle": "Дарения от този профил, ще се извършват от физическо лице ", + "corporate": "Регистрация като юридическо лице", + "corporate-subtitle": "Дарения от този профил, ще се извършват от името на организацията, която представлявате", "success": "Регистрацията беше успешна", "corporate-subtitle-success": "Член от екипа на Podkrepi.bg, ще се свърже с вас, за да потвърдим самоличността на компанията, която представлявате" } diff --git a/public/locales/bg/common.json b/public/locales/bg/common.json index 9d0c0160a..b32ec0243 100644 --- a/public/locales/bg/common.json +++ b/public/locales/bg/common.json @@ -101,6 +101,7 @@ "email": "Имейл" }, "cta": { + "more-information": "Повече информация", "read-more": "Прочетете още", "see-profile": "Вижте профил", "question": "Имате въпрос?" diff --git a/public/locales/en/auth.json b/public/locales/en/auth.json index ce8344d59..b1f2904d0 100644 --- a/public/locales/en/auth.json +++ b/public/locales/en/auth.json @@ -52,7 +52,15 @@ "corporate": "Organization" }, "registration": { - "success-title": "Registration successfull", + "success": "Registration successfull", + "corporate-subtitle-success": "Member of Podkrepi.bg, will contact you, to verify the corporation you represent" + }, + "register": { + "individual": "Register as individual", + "individual-subtitle": "Donations made by this account, will be done by the individual", + "corporate": "Register as corporation", + "corporate-subtitle": "Donations made by this account, will be done by the represented company", + "success": "Registration successfull", "corporate-subtitle-success": "Member of Podkrepi.bg, will contact you, to verify the corporation you represent" } } diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 92e14551c..2321e2fe5 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -42,7 +42,8 @@ "continue-with": "Continue with", "changePassword": "Change your password", "forgottenPassword": "Forgotten password?", - "go-back": "Go back" + "go-back": "Go back", + "go-back-to-index": "Go back to index page" }, "meta": { "title": "Podkrepi.bg" @@ -97,6 +98,7 @@ "targetCampaignId": "Target campaign" }, "cta": { + "more-information": "More information", "read-more": "Read more", "see-profile": "See profile", "question": "Have a question?" diff --git a/src/components/client/auth/register/RegisterPage.tsx b/src/components/client/auth/register/RegisterPage.tsx index aec4600fa..75472b890 100644 --- a/src/components/client/auth/register/RegisterPage.tsx +++ b/src/components/client/auth/register/RegisterPage.tsx @@ -69,7 +69,6 @@ export default function RegisterPage({ providers }: RegisterPageProps) { } if (values.type === AccountType.CORPORATE && isRegistrationSuccessfull) { setLoading(false) - console.log(`here`) router.replace({ query: { ...router.query, type: values.type, success: true } }) return } @@ -125,9 +124,24 @@ export default function RegisterPage({ providers }: RegisterPageProps) { {profileType === AccountType.INDIVIDUAL && ( <> - - Регистриране на профил на физическо лице - + {t('auth:register.individual')} + + + - - Регистриране на профил на юридическо лице - - + {t('auth:register.corporate')} +