<p dir="auto">This PR removes two incorrect language blocks declarations from the copyright page. In both cases, the text is shown in the users native language that is used for the rest of the page (i.e. there are no <code class="notranslate">@locale</code> overrides) and so no additional language declarations are required for those parts of the page.</p>
<p dir="auto">Although marking the language incorrectly in html doesn't have much of a user-visible impact, the dir attribute causes problems that are easier to see. If you set your language preference to <code class="notranslate">ar</code> and view the copyright page, then you will see Arabic written LTR due to these incorrect declarations.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/360803/226868848-81de9335-7504-4cf0-ac99-3e258b263cea.png"><img src="https://user-images.githubusercontent.com/360803/226868848-81de9335-7504-4cf0-ac99-3e258b263cea.png" alt="Screenshot from 2023-03-22 10-00-52" style="max-width: 100%;"></a></p>
<p dir="auto">The solution is to remove them, while keeping the language (and direction) overrides for the parts of the page that use the <code class="notranslate">@locale</code> override.</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/3981'>https://github.com/openstreetmap/openstreetmap-website/pull/3981</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3981/commits/1d5ba57c4943c804486ab2891ae5e73a6c798a4d" class="commit-link">1d5ba57</a> Remove the language block from around the guidance</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3981/commits/473d425c10862824ffdaa21f9ed68a9e9f33bc0e" class="commit-link">473d425</a> Remove the language block from around the original guidance</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3981/files">1 file</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3981/files#diff-6d1c2a3c013c9bfb7a5d14e48aaf10688765c4433ed14ca6932786c5cfd09d65">app/views/site/copyright.html.erb</a>
(42)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3981.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3981.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3981.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3981.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/3981">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLM4DFCA6MCLVB2HV3TW5LFOZANCNFSM6AAAAAAWDS6N4Q">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLLU5JFOIO2SAF2CRTW5LFOZA5CNFSM6AAAAAAWDS6N4SWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGC6XSFY.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/3981</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/3981",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3981",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>