<p dir="auto">Languages have names in the format of "English name (native name)". These names are used in diary entry language links and inputs.</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/b1290132-9d92-48b5-83c3-20f847344427">image.png (view on web)</a></p>
<p dir="auto">Sometimes <em>native name</em> is exactly the same as <em>English name</em>, so the same thing is displayed twice:</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/2c23bdae-692a-4e54-841a-1e08a6feeab1">image.png (view on web)</a></p>
<p dir="auto">I think we don't need "(native name)" in this case:</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/c7b2da51-5880-436f-94ff-a094f8336a40">image.png (view on web)</a></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/4452'>https://github.com/openstreetmap/openstreetmap-website/pull/4452</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4452/commits/6427f68ea744fe8b6c8b427d6be7e1729c67f138" class="commit-link">6427f68</a>  Don't show native language name if it's the same as English name</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4452/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4452/files#diff-fd43972003954839a7b36a37076c3a2202c6e4e7766fac5f04bc53a8f09a8f29">app/models/language.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4452/files#diff-726d9879b36a3e173a50897445630d5c3a00d4926587790d969b0cb20756dad3">test/models/language_test.rb</a>
    (5)
  </li>
</ul>

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