From dce0f1639e9ac0c4d79182725b2996ad85c4d279 Mon Sep 17 00:00:00 2001 From: Harry Wood Date: Mon, 27 Jun 2022 12:20:50 +0100 Subject: [PATCH] Add wording to discourage reporting a note Add some wording wrapped around the 'Report this note' link to explain to users to resolve the note instead. Tackling the issue reported by DWG, that too many note reports are coming to them, where the users could deal it themselves: https://github.com/openstreetmap/openstreetmap-website/issues/3071 --- app/views/browse/note.html.erb | 2 +- config/locales/en.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index af859651e..24240d6df 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -29,7 +29,7 @@ <% end -%> <% if current_user && current_user != @note.author %> -

<%= report_link(t(".report"), @note) %>

+

<%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %>

<% end %> <% if @note_comments.length > 1 %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 3c8f09a48..9db476748 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -421,7 +421,7 @@ en: reopened_by_html: "Reactivated by %{user} %{when}" reopened_by_anonymous_html: "Reactivated by anonymous %{when}" hidden_by_html: "Hidden by %{user} %{when}" - report: Report this note + report: report this note coordinates_html: "%{latitude}, %{longitude}" query: title: "Query Features" @@ -2883,6 +2883,7 @@ en: reactivate: Reactivate comment_and_resolve: Comment & Resolve comment: Comment + report_link_html: "If this note contains sensitive information that needs to be removed, you can %{link}. For all other problems with the note, please resolve it yourself with a comment." edit_help: Move the map and zoom in on a location you want to edit, then click here. directions: ascend: "Ascend" -- 2.43.2