<p>We output the locale code as the lang attribute, so use that rather than<br>
interpolating into embedded JS.</p>
<hr>
<h4>You can merge this Pull Request by running:</h4>
<pre> git pull https://github.com/jfirebaugh/openstreetmap-website unobtrusive_lang</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/70'>https://github.com/openstreetmap/openstreetmap-website/pull/70</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Set OpenLayers lang unobtrusively</li>
</ul>
<h4>File Changes</h4>
<ul>
<li><strong>M</strong> app/assets/javascripts/openlayers.js.erb (2)</li>
<li><strong>M</strong> app/views/browse/_map.html.erb (2)</li>
<li><strong>M</strong> app/views/changeset/_map.html.erb (2)</li>
<li><strong>M</strong> app/views/diary_entry/edit.html.erb (4)</li>
<li><strong>M</strong> app/views/site/index.html.erb (2)</li>
<li><strong>M</strong> app/views/user/_map.html.erb (2)</li>
</ul>
<h4>Patch Links</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/70.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/70.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/70.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/70.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
—<br>
Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/70'>view it on GitHub</a>.
</p>
<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpmLWAu4oQih75mggZl1E8_nwV57vcA1Q_vDZVdYXXLN1.gif' height='1' width='1'>