-
<%= t(".set_location_html", :edit_profile_url => edit_profile_path) %>
+
<%= t(".no_home_location_html", :edit_profile_link => link_to(t(".edit_your_profile"), edit_profile_path)) %>
<% else %>
<% content_for :head do %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 1b411a229..430836bce 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2505,7 +2505,8 @@ en:
spam score: "Spam Score:"
description: Description
user location: User location
- set_location_html: "
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"