]> git.openstreetmap.org Git - rails.git/commitdiff
Some of our JavaScript files have UI messages but we don't want to
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 2 Oct 2009 20:19:28 +0000 (20:19 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 2 Oct 2009 20:19:28 +0000 (20:19 +0000)
make them dynamic.

So I'm creating a globally scoped JavaScript array called rails_i18n
which holds some of these messages. It's loaded in <head> before any
of the JavaScript files so it should always be available.


No differences found