<p></p>
<p><b>@gravitystorm</b> requested changes on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3879#discussion_r1065015061">config/locales/en.yml</a>:</p>
<pre style='color:#555'>> @@ -572,6 +572,19 @@ en:
applications:
create:
notice: Application Registered.
+ errors:
+ contact:
+ html: Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if you have found a broken link / bug. Make a note of the exact URL of your request.
</pre>
<p dir="auto">We should avoid including raw html tags in translations - these can be hard for translators to get right, among other things. Instead I think it's better to have each component of the paragraph as separate keys, e.g.</p>
<pre class="notranslate"><code class="notranslate">errors:
contact:
contact_url: http:/...
contact_url_title: Various...
contact: contact
contact_the_community_html: Feel free to %{contact_link} the OpenStreetMap ....
</code></pre>
<p dir="auto">... and the appropriate <code class="notranslate">link_to</code> when calling the translation.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3879#discussion_r1065015308">config/locales/en.yml</a>:</p>
<pre style='color:#555'>> @@ -572,6 +572,19 @@ en:
applications:
create:
notice: Application Registered.
+ errors:
+ contact:
+ html: Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if you have found a broken link / bug. Make a note of the exact URL of your request.
</pre>
<p dir="auto"><code class="notranslate">https</code> for the link too</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3879#discussion_r1065016826">config/locales/en.yml</a>:</p>
<pre style='color:#555'>> @@ -572,6 +572,19 @@ en:
applications:
create:
notice: Application Registered.
+ errors:
+ contact:
+ html: Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if you have found a broken link / bug. Make a note of the exact URL of your request.
+ forbidden:
+ title: Forbidden
+ paragraph_1: The operation you requested on the OpenStreetMap server is only available to administrators (HTTP 403)
+ internal_server_error:
+ title: Application error
+ paragraph_1: The OpenStreetMap server encountered an unexpected condition that prevented it from fulfilling the request (HTTP 500)
+ paragraph_2: This may be a problem in our Ruby On Rails code. 500 occurs with exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code)
</pre>
<p dir="auto">I think the second sentence here is jargon that we shouldn't show to end users. I mention it here because I don't know what "Dispatcher setups" are, in this context, and so I wouldn't be able to advise a translator what it means either! <g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji></p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3879#discussion_r1065017302">config/locales/en.yml</a>:</p>
<pre style='color:#555'>> @@ -572,6 +572,19 @@ en:
applications:
create:
notice: Application Registered.
+ errors:
+ contact:
+ html: Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if you have found a broken link / bug. Make a note of the exact URL of your request.
+ forbidden:
+ title: Forbidden
+ paragraph_1: The operation you requested on the OpenStreetMap server is only available to administrators (HTTP 403)
</pre>
<p dir="auto">Eh, not strictly true, but whatever.</p>
<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/3879#pullrequestreview-1241061049">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPCRL3REODRJOSWOZLWRRPQ5ANCNFSM6AAAAAATUAMVDQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLP2JCOHG6635FAFP3LWRRPQ5A5CNFSM6AAAAAATUAMVDSWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTSJ7ELLS.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/3879/review/1241061049</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/3879#pullrequestreview-1241061049",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3879#pullrequestreview-1241061049",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>