From: Tom Hughes Date: Fri, 12 Apr 2024 17:01:35 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/4685' X-Git-Tag: live~181 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/de18a0fe023304cd4f7b588c6b6b03e579895957?hp=3b2d34d86b75ec6acafcfa32ead9dd45e7d012a4 Merge remote-tracking branch 'upstream/pull/4685' --- diff --git a/app/views/site/_about_section.html.erb b/app/views/site/_about_section.html.erb index 60fd3f069..4baec7238 100644 --- a/app/views/site/_about_section.html.erb +++ b/app/views/site/_about_section.html.erb @@ -1,4 +1,4 @@ -<%= tag.div :class => "section", :id => local_assigns[:id] do %> +<%= tag.section :id => local_assigns[:id] do %>

<%= t "site.about.#{title}_title" %>

diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index c17f090af..f014eb037 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -140,6 +140,14 @@ <%= t ".legal_babble.contributors_fr_credit_html", :france => tag.strong(t(".legal_babble.contributors_fr_france")) %> +
  • + <%= t ".legal_babble.contributors_hr_credit_html", + :croatia => tag.strong(t(".legal_babble.contributors_hr_croatia")), + :dgu_link => link_to(t(".legal_babble.contributors_hr_dgu"), + t(".legal_babble.contributors_hr_dgu_url")), + :open_data_portal => link_to(t(".legal_babble.contributors_hr_open_data_portal"), + t(".legal_babble.contributors_hr_open_data_portal_url")) %> +
  • <%= t ".legal_babble.contributors_nl_credit_html", :netherlands => tag.strong(t(".legal_babble.contributors_nl_netherlands")), diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index 9b9499e65..7f97f9c64 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -6,7 +6,7 @@ <%= hidden_field_tag "format", "osm", :autocomplete => "off" %>
    -
    +
    <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %>
    <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control my-2") %> diff --git a/config/locales/en.yml b/config/locales/en.yml index f9117ca1c..77002268b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2098,6 +2098,14 @@ en: %{france}: Contains data sourced from Direction Générale des Impôts. contributors_fr_france: France + contributors_hr_credit_html: | + %{croatia}: Contains data from the %{dgu_link} and %{open_data_portal} + (public information of Croatia). + contributors_hr_croatia: Croatia + contributors_hr_dgu: State Geodetic Administration of Croatia + contributors_hr_dgu_url: https://dgu.gov.hr/ + contributors_hr_open_data_portal: National Open Data Portal + contributors_hr_open_data_portal_url: https://data.gov.hr/ contributors_nl_credit_html: | %{netherlands}: Contains © AND data, 2007 (%{and_link}) contributors_nl_netherlands: Netherlands