<p dir="auto">This is part of a larger project to enable the ("No Hardcoded Strings"](<a href="https://github.com/Shopify/erb_lint/tree/main?tab=readme-ov-file#hardcodedstring">https://github.com/Shopify/erb_lint/tree/main?tab=readme-ov-file#hardcodedstring</a>) linter in erb_lint. Before I resolve some edge cases with that linter, I'm submitting this PR to fix some hardcoded strings that it found in our views.</p>
<p dir="auto">For the <code class="notranslate">layouts.project_name.h1</code> key (see first commit) I checked every translation and validated that, if the translation existed, it matched the <code class="notranslate">layouts.project_name.title</code> key. This is true for all locales. I don't think there was ever a good reason to have two translations available for this.</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/6583'>https://github.com/openstreetmap/openstreetmap-website/pull/6583</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6583/commits/1239d9e4319a104e21251108ab2c493d4ffab1e4" class="commit-link">1239d9e</a>  Remove duplicate project_name translation</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6583/commits/64348dd14f9da80bed69dd23f509d324be7976f2" class="commit-link">64348dd</a>  Allow various hardcoded strings to be translated</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6583/files">6 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6583/files#diff-d18a4729497eb1db32f2d20773ca0b4706f94a2e50fd7721a123e6da97fecc44">app/views/browse/_relation.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6583/files#diff-fec0f9d24ec8e74969ee82b54520d2c639f73cf8782f342c5128417d26575374">app/views/export/show.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6583/files#diff-6d2ef58207c92d1533287af551a075122ba98240a861819047a2ae77b7674f0b">app/views/layouts/_header.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6583/files#diff-32662374155481d62f434c2617848b7d00825d0e4ea6e85d3a274dd82cc710d3">app/views/layouts/error.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6583/files#diff-110844e9466003ad42a36dcb2dd283878e871230e8d0247bd7da37688c97e407">app/views/layouts/user_mailer.html.erb</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6583/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (6)
  </li>
</ul>

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