[openstreetmap/openstreetmap-website] Avoid using html in translations (PR #3936)

Andy Allan notifications at github.com
Wed Feb 22 11:37:47 UTC 2023


@gravitystorm commented on this pull request.



> @@ -0,0 +1,14 @@
+<hr class="mb-3" />
+<a name="public"></a>
+<h2><%= t ".heading" %></h2>
+<p>
+  <%= t ".currently_not_public" %>
+  <strong><%= t ".only_public_can_edit" %></strong>
+  <%= t ".find_out_why_html", :link => link_to(t(".find_out_why"),
+                                               t(".find_out_why_url")) %>

Option 1 - put the parenthetical into the bolded sentence:

> Currently your edits are anonymous and people cannot send you messages or see your location. To show what you edited and allow people to contact you through the website, click the button below. **Since the 0.6 API changeover, only public users can edit map data** ([find out why](https://wiki.openstreetmap.org/wiki/Anonymous_edits)).

Option 2 - remove the parentheses from the final sentence, and capitalise

> Currently your edits are anonymous and people cannot send you messages or see your location. To show what you edited and allow people to contact you through the website, click the button below. **Since the 0.6 API changeover, only public users can edit map data.** [Find out why](https://wiki.openstreetmap.org/wiki/Anonymous_edits).

I'm happy to implement whichever is preferred, or any another option too. If it helps, I lean slightly towards option 2.

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

Message ID: <openstreetmap/openstreetmap-website/pull/3936/review/1309063643 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230222/e9a93757/attachment-0001.htm>


More information about the rails-dev mailing list