Thanks for your time, comments, and advice. I just pushed a new version with :

- the counter stored in a cookie, with a duration of 30 days, as anonymous 
visitors don't necessarily post notes every day (I'm not sure about other 
cookie options, please review)
- the cookie read in the controller
- a message in the view template, included in the already existing warning
- with pluralization managment in en.yml

I have slightly modified the standard warning in this way, to insist that 
discussion will help to resolve the note:
![image](https://github.com/user-attachments/assets/61714d53-7619-4e08-afa4-3b5837e2bc84)

And I added the encouragement to contribute yourself in the same box, after at 
least 20 notes, with a link to the beginners' guide, and to the forum.
![image](https://github.com/user-attachments/assets/04e846c3-a2de-4c23-9010-ca8f511ef0b6)

I know that finding the perfect sentence is always complicated, and English is 
not my mother tongue, so tell me if you prefer another sentence.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5468#issuecomment-2576350236
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5468/c2576350...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to