Skip to content

Commit

Permalink
Add BG translations for Subscription dialog on Campaigns news page (#…
Browse files Browse the repository at this point in the history
…1905)

* Add BG translations for Subscription dialog on Campaigns news page

* Update punctuation

---------

Co-authored-by: ani-kalpachka <[email protected]>
  • Loading branch information
ani-kalpachka and ani-kalpachka authored Aug 31, 2024
1 parent f3843ce commit 2d7ff47
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
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

0 comments on commit 2d7ff47

Please sign in to comment.