]> git.openstreetmap.org Git - rails.git/commit
Implement a hack so that we can interpolate JavaScript variables in
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 6 Jun 2009 17:57:08 +0000 (17:57 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 6 Jun 2009 17:57:08 +0000 (17:57 +0000)
commitb653ace377aa47d2b0eba08e5c6f0dcd7622f00b
tree8c4846b5658dc26434cbc586c606d0e33609f501
parent91aaae1933183fc9e7311abd3b815b5b74ce2d3c
Implement a hack so that we can interpolate JavaScript variables in
translation strings from Ruby, doing the string replacement lient-side
instead of on the server.

This partially solves ticket:1919. I still have to move the rest of
the JS functions over to the new system.
12 files changed:
app/views/browse/start.rjs
config/locales/de.yml
config/locales/en.yml
config/locales/fr.yml
config/locales/he.yml
config/locales/is.yml
config/locales/it.yml
config/locales/nl.yml
config/locales/pl.yml
config/locales/ru.yml
config/locales/sl.yml
config/locales/zh-CN.yml