From 8a8935c8b68269581f48c684d48c2a47cd1f5205 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Sat, 25 Feb 2023 12:27:30 +0100 Subject: [PATCH] Remove remaining html in translations from fixthemap page --- app/views/site/fixthemap.html.erb | 5 ++++- config/locales/en.yml | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/views/site/fixthemap.html.erb b/app/views/site/fixthemap.html.erb index fe6cf22c5..ab8684116 100644 --- a/app/views/site/fixthemap.html.erb +++ b/app/views/site/fixthemap.html.erb @@ -27,6 +27,9 @@

<%= t ".other_concerns.title" %>

-

<%= t ".other_concerns.explanation_html" %>

+

+ <%= t ".other_concerns.concerns_html", :copyright_link => link_to(t(".other_concerns.copyright"), copyright_path), + :working_group_link => link_to(t(".other_concerns.working_group"), t(".other_concerns.working_group_url")) %> +

<%= render "any_questions" %> diff --git a/config/locales/en.yml b/config/locales/en.yml index f5ab514d1..79be07cb9 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2107,10 +2107,12 @@ en: by dragging. Add your message, then click save, and other mappers will investigate. other_concerns: title: Other concerns - explanation_html: | + concerns_html: | If you have concerns about how our data is being used or about the contents please consult our - copyright page for more legal information, or contact the appropriate - OSMF working group. + %{copyright_link} for more legal information, or contact the appropriate %{working_group_link}. + copyright: copyright page + working_group: OSMF working group + working_group_url: https://wiki.osmfoundation.org/wiki/Working_Groups help: title: Getting Help introduction: | -- 2.43.2