From 8df3c7b12a0530a315e2b95ba67221c20fbffaef Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 15 Feb 2023 16:47:21 +0000 Subject: [PATCH 1/1] Rework about page to avoid html in the translations --- app/views/users/new.html.erb | 3 ++- config/locales/en.yml | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 262cd4a06..f160de913 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -13,7 +13,8 @@

<%= t ".about.header" %>

- <%= t ".about.html" %> +

<%= t ".about.paragraph_1" %>

+

<%= t ".about.paragraph_2" %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index f78d447cf..8996b1114 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2573,10 +2573,8 @@ en: support: support about: header: Free and editable - html: | -

Unlike other maps, OpenStreetMap is completely created by people like you, - and it's free for anyone to fix, update, download and use.

-

Sign up to get started contributing. We'll send an email to confirm your account.

+ 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:" -- 2.45.2