<h4 dir="auto">Background</h4>
<p dir="auto">This PR addresses the need for distinct translatable messages for the privacy policy link in different contexts within the signup form mentioned in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2286023536" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4773" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/4773/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/4773">#4773</a> , enhancing localization and ensuring accurate translations.</p>
<p dir="auto">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.</p>
<h4 dir="auto">Changes:</h4>
<ul dir="auto">
<li>Added separate translation keys for the privacy policy link in the email_help and by_signing_up sections.</li>
<li>Updated the form to use these new translation keys, ensuring the correct link label is used in each context.</li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4936'>https://github.com/openstreetmap/openstreetmap-website/pull/4936</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4936/commits/ea7b19c8fa71089bdc4a33b30f6ecf6e9fda7dfb" class="commit-link">ea7b19c</a>  separate translatable messages for privacy policy link in sign up form</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4936/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4936/files#diff-8dd599ea27028815c7fa912755a38dd05e4a768470cc792840b85fd1e486d69a">app/views/users/new.html.erb</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4936/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (19)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4936.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4936.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4936.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4936.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4936">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLI2QMXAJC724VFU7S3ZKGBADAVCNFSM6AAAAABKF5SJW2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DIMRXGUZDONI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMA4EEOCWQ7YZ6FWQLZKGBADA5CNFSM6AAAAABKF5SJW2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHI4HJHJM.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4936</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4936",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4936",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>