]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4685'
authorTom Hughes <tom@compton.nu>
Fri, 12 Apr 2024 17:01:35 +0000 (18:01 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 12 Apr 2024 17:01:35 +0000 (18:01 +0100)
app/views/site/_about_section.html.erb
app/views/site/copyright.html.erb
app/views/site/export.html.erb
config/locales/en.yml

index 60fd3f0690987d8bfd325762f1ae429918f4680c..4baec7238b25236581f8d2a4e113155a30360e8b 100644 (file)
@@ -1,4 +1,4 @@
-<%= tag.div :class => "section", :id => local_assigns[:id] do %>
+<%= tag.section :id => local_assigns[:id] do %>
   <div class='d-flex align-items-center gap-2 mb-2'>
     <div class='flex-shrink-0 icon <%= icon %>'></div>
     <h2 class='flex-grow-1 mb-0'><%= t "site.about.#{title}_title" %></h2>
index c17f090af865b9e8338c7c610e23aaa5c836f8b6..f014eb037842e584928b6533c4d0c44cbcfbba15 100644 (file)
         <%= t ".legal_babble.contributors_fr_credit_html",
               :france => tag.strong(t(".legal_babble.contributors_fr_france")) %>
       </li>
+      <li>
+        <%= 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")) %>
+      </li>
       <li>
         <%= t ".legal_babble.contributors_nl_credit_html",
               :netherlands => tag.strong(t(".legal_babble.contributors_nl_netherlands")),
index 9b9499e6586f4f117a7bc760a49741f3c0640bdf..7f97f9c640b7836dd5138cae3d66080277144c5e 100644 (file)
@@ -6,7 +6,7 @@
   <%= hidden_field_tag "format", "osm", :autocomplete => "off" %>
 
   <div class='export_area_inputs'>
-    <div class='export_boxy border border-secondary-subtle rounded bg-body-secondary'>
+    <div class='export_boxy border border-secondary-subtle rounded bg-body-secondary' dir='ltr'>
       <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %>
       <div class="clearfix">
         <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control my-2") %>
index f9117ca1cc89add7669440805fbb59138644c7b0..77002268b0e6b3c2f04c9995d5c70b39af6ac75c 100644 (file)
@@ -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 &copy; AND data, 2007 (%{and_link})
         contributors_nl_netherlands: Netherlands