openstreetmap-website
openstreetmap-website copied to clipboard
Separate translatable messages for privacy policy link in signup form
This PR addresses the need for distinct translatable messages for the privacy policy link in different contexts within the signup form mentioned in #4773.
In the signup form, the privacy_policy_link and its respective label were reused in two different sentences (in email help HTML and by signing up HTML messages). Different contexts may require distinct translations due to language-specific rules, such as declension.
Changes Made
- Added separate translation keys for the privacy policy link in the email_help and by_signing_up sections.
- Updated the form to use these new translation keys, ensuring the correct link label is used in each context.
This PR aims to solve the issue of translation nuances by providing separate translatable messages for the privacy policy link in different contexts within the signup form. This approach should enhance localization and ensure accurate translations.
Intuitively this makes sense, but any suggestions for improvements are very welcome.