From 72bc93a6f03aa7af67f409720ceb3b638df10607 Mon Sep 17 00:00:00 2001 From: Kai Michael Poppe Date: Sun, 6 Sep 2026 10:13:37 +0200 Subject: [PATCH] Change "New Note" information texts and placements MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Resolves #2415 with updating the textarea placeholder for quality-note encouragements and adding a warning about publicity of notes. Co-Authored-By: Minh Nguyễn Co-Authored-By: Pablo Brasero <36066+pablobm@users.noreply.github.com> Co-Authored-By: Tom Hughes <147741+tomhughes@users.noreply.github.com> --- app/views/notes/new.html.erb | 10 +++++++++- config/locales/en.yml | 4 +++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/app/views/notes/new.html.erb b/app/views/notes/new.html.erb index 7031d97d1..b8d465b84 100644 --- a/app/views/notes/new.html.erb +++ b/app/views/notes/new.html.erb @@ -22,7 +22,12 @@
- <%= text_area_tag "text", "", :class => "form-control", :size => "40x10", :maxlength => "2000", :placeholder => t(".advice") %> + <%= text_area_tag "text", + "", + :class => "form-control", + :size => "40x10", + :maxlength => "2000", + :placeholder => [t(".advice_good_note"), t(".advice_conduct")].join("\n\n") %>
@@ -34,5 +39,8 @@ <%= submit_tag t(".add"), :name => "add", :disabled => 1, :class => "btn btn-primary" %>
+
+

<%= t(".advice") %>

+
<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index a0fb23e53..ca3eb79eb 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3730,7 +3730,9 @@ en: counter_warning_forum_link: text: "the community can help you" url: https://community.openstreetmap.org/ - advice: "Your note is public and may be used to update the map, so don't enter personal information, or information from copyrighted maps or directory listings." + advice: "Anyone in the public can see a note, even without an OpenStreetMap account!" + advice_good_note: "A good note is as descriptive as possible while avoiding personal information, or content from copyrighted maps or directory listings." + advice_conduct: "Please be kind, patient and respectful when communicating with community members." add: Add Note error: "There was an error when creating the note" new_readonly: -- 2.47.3