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

Andy Allan notifications at github.com
Wed Feb 22 10:57:09 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")) %>

Ah, right, now I understand the point - sorry!

I don't think we need to do that though, since they are three separate sentences, albeit in the same paragraph:

> 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)).

We could rework that text though, since that final sentence is just a text fragment in its own sentence, and isn't capitalised or anything.

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

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


More information about the rails-dev mailing list