From ccbc658d294b49db04b8177382902d5977853de3 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Thu, 13 Feb 2025 17:45:35 +0300 Subject: [PATCH] Add lead section --- app/views/site/copyright.html.erb | 8 ++++++++ config/locales/en.yml | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index adfe268f0..c0e6acb4f 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -39,6 +39,14 @@ <% I18n.with_locale @locale do %> <%= tag.div :lang => @locale, :dir => t("html.dir") do %> +

+ <%= legal_babble_paragraph "lead_1" %> +

+

+ <%= legal_babble_paragraph "lead_2", :links => %w[learn_more_about_osm osm_blog weeklyosm osm_foundation making_donation], + :local_links => { :get_started_mapping => new_user_path, + :osm_community => communities_path } %> +

<%= t ".legal_babble.licensing_title" %>

<%= t ".legal_babble.introduction_1_html", diff --git a/config/locales/en.yml b/config/locales/en.yml index 308f2877a..7b06055f4 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2120,6 +2120,27 @@ en: native_link: THIS_LANGUAGE_NAME_HERE version mapping_link: start mapping legal_babble: + lead_1_html: | + OpenStreetMap provides open map data for thousands of websites, mobile apps, and hardware devices. + OpenStreetMap is built by a community of people like you who contribute and maintain mapping data + about roads, trails, cafés, railway stations, and much more, all over the world. + lead_2_html: | + %{learn_more_about_osm_link} and %{get_started_mapping_link}! + You can read more on the %{osm_blog_link}, and subscribe to %{weeklyosm_link}. + Find other mappers in your local %{osm_community_link}. + Support the project by joining the %{osm_foundation_link} and %{making_donation_link}. + lead_2_learn_more_about_osm: Learn more about OpenStreetMap + lead_2_learn_more_about_osm_url: https://wiki.openstreetmap.org/wiki/About_OpenStreetMap + lead_2_get_started_mapping: get started mapping + lead_2_osm_blog: OpenStreetMap Blog + lead_2_osm_blog_url: https://blog.openstreetmap.org/ + lead_2_weeklyosm: weeklyOSM + lead_2_weeklyosm_url: https://weeklyosm.eu/ + lead_2_osm_community: OSM community + lead_2_osm_foundation: OSM Foundation + lead_2_osm_foundation_url: https://osmfoundation.org/ + lead_2_making_donation: making a donation + lead_2_making_donation_url: https://supporting.openstreetmap.org/ licensing_title: OpenStreetMap licensing introduction_1_html: | OpenStreetMap%{registered_trademark_link} is %{open_data}, licensed under the -- 2.39.5