]> git.openstreetmap.org Git - rails.git/commit
Avoid using raw html in translations for links.
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 12 Aug 2021 15:26:21 +0000 (16:26 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 12 Aug 2021 15:35:54 +0000 (16:35 +0100)
commit06d73857d1fe6e069d006aedcca2c447cce533ad
tree7ceae26c4767b71e733d8a4d8620aedcb8b4c78d
parentebb25a095ca05c62a3cada29900fcd568991e7c4
Avoid using raw html in translations for links.

This is a followup to 26698d6 which introduced the html. It's better
to use interpolation for links, since this avoids the translations
from introducing html syntax errors.

I had to change the translation key, since changing the interpolation
variables alone would lead to breakages.
app/views/users/show.html.erb
config/locales/en.yml