<p dir="auto">By moving the translation outside the loop and calling t(...) with explicitly stated keys, <code class="notranslate">bundle exec i18n-tasks unused</code> no longer reports the keys as unused.</p>
<p dir="auto">Should we rename <code class="notranslate">i18n_key</code> to something different as well?</p>

<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/5145'>https://github.com/openstreetmap/openstreetmap-website/pull/5145</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5145/commits/bbaaf60c5aa2f410dc6a52bb6dfb5e1f0ff76b94" class="commit-link">bbaaf60</a>  I18n: messages: avoid dynamic translation keys</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5145/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5145/files#diff-90fd154fd8d11cc9c0667196f14db479a437ab2632785c18a15f8cbc06e0e35c">app/views/messages/_heading.html.erb</a>
    (6)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5145.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5145.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5145.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5145.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/5145">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLV4UIJGRRBM2TGJM3ZUNVO5AVCNFSM6AAAAABNPDOUA6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4TSNRVGI2DAOA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLQ3IM7CSQ77STU3C3ZUNVO5A5CNFSM6AAAAABNPDOUA6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJJ7NLHA.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/5145</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/5145",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5145",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>