Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minor FE fixes #1802

Merged
merged 4 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions public/locales/bg/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
"profile-button": "На профилния",
"another-button": "На друг"
},
"subscribe": "Абонирай се за email известия за кампанията.",
"subscribeFooter": "Абонирай се за бюлетина",
"subscribe": "Абонирайте се за email известия за кампанията.",
"subscribeFooter": "Абонирайте се за бюлетина",
"subscribeGeneral": "Абонирайте се за email известия от Подкрепи.бг",
"subscribe-monthly-newsletter": "Месечен бюлетин на Подкрепи.бг",
"subscribeGeneralSubtext": "Получавайте нашия месечен бюлетин, в който ще Ви информираме за най-интересните новини от Подкрепи.бг!",
Expand Down
10 changes: 5 additions & 5 deletions public/locales/bg/notifications.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"subscribe": {
"thank-you-msg-heading": "Абонаментът ти е активен!",
"thank-you-msg-text": "Успешно активира своя абонамент. Очаквай новини от нас на {{email}}",
"thank-you-msg-heading": "Абонаментът Ви е активен!",
"thank-you-msg-text": "Успешно активирахте своя абонамент. Очаквайте новини от нас на {{email}}.",
"subscription-fail-heading": "Възникна грешка",
"subscription-fail-text": "Не успяхме да активираме абонамента ти. Моля, опитай пак.",
"subscription-fail-text": "Не успяхме да активираме абонамента Ви. Моля, опитайте пак.",
"cta": "Към сайта",
"cta-retry": "Опитай пак"
"cta-retry": "Опитайте пак"
},
"unsubscribe": {
"thank-you-msg": "Успешно деактивирахте абонамента си за известия!",
"subscription-fail": "Възникна проблем при деактивирането на абонамента за известия 🙄",
"subscription-fail": "Възникна проблем при деактивирането на абонамента за известия. 🙄",
"cta": "Към сайта",
"cta-retry": "Опитай пак"
}
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/notifications.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"subscribe": {
"thank-you-msg-heading": "Your subscription is active!",
"thank-you-msg-text": "You successfully activated your subscription. You can wait news from us on {{email}}",
"thank-you-msg-text": "You successfully activated your subscription. You can wait news from us on {{email}}.",
"subscription-fail-heading": "An error occurred",
"subscription-fail-text": "We couldn`t activate your subscription. Please, try again.",
"cta": "To the site",
Expand Down
2 changes: 1 addition & 1 deletion src/components/client/auth/profile/UpdateEmailModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function UpdateEmailModal({
validationSchema={validationSchema}>
<Grid container spacing={3}>
<Grid item xs={12} sm={8}>
<EmailField name="email" label="email" />
<EmailField name="email" label="Email" />
</Grid>
<Grid item xs={12} sm={8}>
<PasswordField />
Expand Down
4 changes: 3 additions & 1 deletion src/components/client/contact/ContactForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import { name, companyName, phone, email } from 'common/form/validation'
import AcceptPrivacyPolicyField from 'components/common/form/AcceptPrivacyPolicyField'
import EmailField from 'components/common/form/EmailField'

import theme from 'common/theme'

const validationSchema: yup.SchemaOf<ContactFormData> = yup
.object()
.defined()
Expand Down Expand Up @@ -137,7 +139,7 @@ export default function ContactForm({ initialValues = defaults }: ContactFormPro
type="text"
name="message"
label="auth:fields.message"
sx={{ '& textarea': { resize: 'vertical' } }}
sx={{ '& textarea': { resize: 'vertical', minHeight: theme.spacing(3) } }}
/>
</Grid>
<Grid item xs={12}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/client/privacy-policy/PrivacyPolicyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export default function AboutPage() {
случай, че сте доброволец или потенциален дарител, вие също предоставяне личните си данни
доброволно.
</Typography>
<p>Обработваните от нас лични данни включват:</p>
<ul>
<li>Обработваните от нас лични данни включват:</li>
<li>Три имена</li>
<li>
Единен граждански номер (ЕГН), личен номер на чужденец (ЛНЧ) или друг идентификатор
Expand Down
Loading