[openstreetmap-website] Set OpenLayers lang unobtrusively (#70)

John Firebaugh notifications at github.com
Sat Aug 25 03:14:19 BST 2012


We output the locale code as the lang attribute, so use that rather than
interpolating into embedded JS.

You can merge this Pull Request by running:

  git pull https://github.com/jfirebaugh/openstreetmap-website unobtrusive_lang

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/70

-- Commit Summary --

  * Set OpenLayers lang unobtrusively

-- File Changes --

M app/assets/javascripts/openlayers.js.erb (2)
M app/views/browse/_map.html.erb (2)
M app/views/changeset/_map.html.erb (2)
M app/views/diary_entry/edit.html.erb (4)
M app/views/site/index.html.erb (2)
M app/views/user/_map.html.erb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/70.patch
https://github.com/openstreetmap/openstreetmap-website/pull/70.diff


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/70
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120824/692bdbdd/attachment.html>


More information about the rails-dev mailing list