]> git.openstreetmap.org Git - rails.git/commit
Make the printable_name() function call i18n.t to translate its
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 28 Jun 2009 21:13:27 +0000 (21:13 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 28 Jun 2009 21:13:27 +0000 (21:13 +0000)
commitbc66c8adeb20b4332c01e093f83ac4fc9bd0aa5a
tree569176037ff996b3c44f3b6d1ab6a83e1c4ac0e7
parent91a6ed60c1004f2d88cd49e1b3f2e9ef75dabc07
Make the printable_name() function call i18n.t to translate its
output. Makes e.g. "#{name}, v#{object.version.to_s}" which is used in
the changeset browser translatable.

I'm still not happy with how the anchor is constructed. we're linking
from /browse/changeset/1234 to e.g. node "[[366672999, v1]]" even
though the page we're linking to might take us to that node at version
2. The link should be "[[366672999]], v1" instead.

But that's something to solve later.
app/helpers/browse_helper.rb
config/locales/en.yml
config/locales/is.yml