From: Tom Hughes Date: Thu, 12 Aug 2021 17:10:54 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/3293' X-Git-Tag: live~2341 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9778714046ce226e076e2075a826a81f5ea983af?hp=2436f9e580edb2d4f23db0f489e619d6fb69764f Merge remote-tracking branch 'upstream/pull/3293' --- diff --git a/app/views/site/_potlatch.html.erb b/app/views/site/_potlatch.html.erb index 946519d73..790a3bf5d 100644 --- a/app/views/site/_potlatch.html.erb +++ b/app/views/site/_potlatch.html.erb @@ -1,5 +1,5 @@

<%= t ".removed" %>

<%= t ".desktop_html" %>

-

<%= t ".id_html", :settings_url => user_account_path(current_user) %>

+

<%= t ".id_html", :settings_url => preferences_path %>

diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 0db30f5b5..caa7730cb 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -191,7 +191,7 @@
<% if @user.home_lat.nil? or @user.home_lon.nil? %>
-

<%= 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..5b1686c6b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2060,7 +2060,7 @@ en: potlatch: removed: Your default OpenStreetMap editor is set as Potlatch. Because Adobe Flash Player has been withdrawn, Potlatch is no longer available to use in a web browser. desktop_html: You can still use Potlatch by downloading the desktop application for Mac and Windows. - id_html: Alternatively, you can set your default editor to iD, which runs in your web browser as Potlatch formerly did. Change your user settings here. + id_html: Alternatively, you can set your default editor to iD, which runs in your web browser as Potlatch formerly did. Change your preferences here. sidebar: search_results: Search Results close: Close @@ -2505,7 +2505,8 @@ en: spam score: "Spam Score:" description: Description user location: User location - set_location_html: "Edit your profile 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"