]> git.openstreetmap.org Git - rails.git/commitdiff
Rework about page to avoid html in the translations
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 15 Feb 2023 16:47:21 +0000 (16:47 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Feb 2023 10:25:51 +0000 (10:25 +0000)
app/views/users/new.html.erb
config/locales/en.yml

index 262cd4a063f468cd869811330607da190e948338..f160de9130892403c41ba612c4a1269815c0c23d 100644 (file)
@@ -13,7 +13,8 @@
 <div class="row">
   <div class='text-muted col-sm order-sm-2'>
     <h4><%= t ".about.header" %></h4>
-    <%= t ".about.html" %>
+    <p><%= t ".about.paragraph_1" %></p>
+    <p><%= t ".about.paragraph_2" %></p>
   </div>
 
   <div class="col-sm">
index f78d447cfc338b222b3cc0248702daaa60b7ed1d..8996b111410d87a0123e5c3354820cec74d9abdd 100644 (file)
@@ -2573,10 +2573,8 @@ en:
       support: support
       about:
         header: Free and editable
-        html: |
-          <p>Unlike other maps, OpenStreetMap is completely created by people like you,
-          and it's free for anyone to fix, update, download and use.</p>
-          <p>Sign up to get started contributing. We'll send an email to confirm your account.</p>
+        paragraph_1: Unlike other maps, OpenStreetMap is completely created by people like you, and it's free for anyone to fix, update, download and use.
+        paragraph_2: Sign up to get started contributing. We'll send an email to confirm your account.
       email address: "Email Address:"
       confirm email address: "Confirm Email Address:"
       display name: "Display Name:"