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.
This commit is contained in:
Andy Allan 2021-08-12 16:26:21 +01:00
parent ebb25a095c
commit 06d73857d1
2 changed files with 3 additions and 2 deletions

View file

@ -2505,7 +2505,8 @@ en:
spam score: "Spam Score:"
description: Description
user location: User location
set_location_html: "<a href=\"%{edit_profile_url}\">Edit your profile</a> and set your home location to see nearby users."
no_home_location_html: "%{edit_profile_link} and set your home location to see nearby users."
edit_your_profile: Edit your profile
my friends: My friends
no friends: You have not added any friends yet.
km away: "%{count}km away"