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 BG translations for Subscription dialog on Campaigns news page #1905

Merged
merged 2 commits into from
Aug 31, 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
2 changes: 1 addition & 1 deletion public/locales/bg/validation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"informed-agree-with": "Запознат съм и се съгласявам с",
"terms-and-conditions": "общите условия",
"gdpr": "политиката за защита на личните данни",
"newsletter": "Моля дайте своето съгласие",
"newsletter": "Моля дайте своето съгласие.",
"legal-entity": "Юридическо лице",
"unique-field-violation": "Полето `{1}` със тази стойност вече съществува в платформата.",
"payment-reference": "Невалиден формат на кода за плащане",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/validation.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"terms-and-conditions": "Terms and Conditions",
"gdpr": "General Data Protection Regulation (GDPR)",
"legal-entity": "Legal entity",
"newsletter": "Please give your consent",
"newsletter": "Please give your consent.",
"unique-field-violation": "The field `{1}` with this value already exists in the platform.",
"payment-reference": "Invalid payment code format",
"eik-invalid": "Invalid EIK",
Expand Down
7 changes: 6 additions & 1 deletion src/pages/campaigns/news/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ export const getServerSideProps: GetServerSideProps = async ({ query, locale })
)
return {
props: {
...(await serverSideTranslations(locale ?? 'bg', ['common', 'breadcrumb', 'news'])),
...(await serverSideTranslations(locale ?? 'bg', [
'common',
'breadcrumb',
'news',
'validation',
])),
page: page,
dehydratedState: dehydrate(client),
},
Expand Down
Loading