]> git.openstreetmap.org Git - rails.git/commitdiff
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)
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.


No differences found