]> git.openstreetmap.org Git - rails.git/commitdiff
Add wording to discourage reporting a note
authorHarry Wood <github@harrywood.co.uk>
Mon, 27 Jun 2022 11:20:50 +0000 (12:20 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Aug 2022 17:10:03 +0000 (18:10 +0100)
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
config/locales/en.yml

index af859651e327f1dd63205154f8812427406d4019..24240d6df93250d22b3e792306b311e258f7adc0 100644 (file)
@@ -29,7 +29,7 @@
   <% end -%>
 
   <% if current_user && current_user != @note.author %>
-    <p class="text-muted"><%= report_link(t(".report"), @note) %></p>
+    <p class="text-muted"><%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %></p>
   <% end %>
 
   <% if @note_comments.length > 1 %>
index 3c8f09a489d48a2d4717efa3e1214687e804a5cd..9db47674843e2e337e651e63e6656cf883fceeaa 100644 (file)
@@ -421,7 +421,7 @@ en:
       reopened_by_html: "Reactivated by %{user} <abbr title='%{exact_time}'>%{when}</abbr>"
       reopened_by_anonymous_html: "Reactivated by anonymous <abbr title='%{exact_time}'>%{when}</abbr>"
       hidden_by_html: "Hidden by %{user} <abbr title='%{exact_time}'>%{when}</abbr>"
-      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"