]> git.openstreetmap.org Git - rails.git/commit
When displaying objects in /browse/* and in the JavaScript "Data"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 17 Sep 2009 23:36:54 +0000 (23:36 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 17 Sep 2009 23:36:54 +0000 (23:36 +0000)
commit658a34714f089c8cd9d8556e4dcea0cb708fa0ed
tree0b74b05cc794b72f68f1a1cccf713aa8deb5046e
parent619cacba7c2d98e95553c4782d23bb5a264e1263
When displaying objects in /browse/* and in the JavaScript "Data"
feature use the name key corresponding to the user's
locale. E.g. "name:is" for Icelandic.

This will fall back on "name". The interface will be equivalent unless
the user has selected another language than English in the preferences
and objects with localized name:* tags corresponding to the user's
language are being displayed.
app/helpers/browse_helper.rb
app/views/browse/start.rjs