]> git.openstreetmap.org Git - rails.git/commitdiff
Provide example of correct attribution
authorRichard Fairhurst <richard@systemeD.net>
Thu, 11 Oct 2012 10:30:57 +0000 (11:30 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 12 Oct 2012 20:06:56 +0000 (21:06 +0100)
app/assets/images/attribution_example.png [new file with mode: 0644]
app/views/site/copyright.html.erb
config/locales/en.yml

diff --git a/app/assets/images/attribution_example.png b/app/assets/images/attribution_example.png
new file mode 100644 (file)
index 0000000..463c80e
Binary files /dev/null and b/app/assets/images/attribution_example.png differ
index 4a7a57bea8962785bb1dd7a37edab2a27db8ffa8..2f44386dab482b8258b48ba13dc3c22bea0cd360 100644 (file)
 <h3><%= t "license_page.legal_babble.credit_title_html", :locale => @locale %></h3>
 <p><%= t "license_page.legal_babble.credit_1_html", :locale => @locale %></p>
 <p><%= t "license_page.legal_babble.credit_2_html", :locale => @locale %></p>
 <h3><%= t "license_page.legal_babble.credit_title_html", :locale => @locale %></h3>
 <p><%= t "license_page.legal_babble.credit_1_html", :locale => @locale %></p>
 <p><%= t "license_page.legal_babble.credit_2_html", :locale => @locale %></p>
+<p><%= t "license_page.legal_babble.credit_3_html", :locale => @locale %></p>
+<p><%= image_tag("attribution_example.png",
+              :alt => t('license_page.legal_babble.attribution_example.alt'),
+              :border => 0,
+              :width => 193,
+              :height => 69,
+              :title => t('license_page.legal_babble.attribution_example.title')) %>
 
 <h3><%= t "license_page.legal_babble.more_title_html", :locale => @locale %></h3>
 <p><%= t "license_page.legal_babble.more_1_html", :locale => @locale %></p>
 
 <h3><%= t "license_page.legal_babble.more_title_html", :locale => @locale %></h3>
 <p><%= t "license_page.legal_babble.more_1_html", :locale => @locale %></p>
index 65cc2bda33dd16e0d68c616d227d860d7de180ed..197608aac58f1dba18b7c828f3a8d767a9274820 100644 (file)
@@ -1041,6 +1041,12 @@ en:
         direct your readers to openstreetmap.org (perhaps by expanding 
         'OpenStreetMap' to this full address), to opendatacommons.org, and 
         if relevant, to creativecommons.org.
         direct your readers to openstreetmap.org (perhaps by expanding 
         'OpenStreetMap' to this full address), to opendatacommons.org, and 
         if relevant, to creativecommons.org.
+      credit_3_html: |
+        For a browsable electronic map, the credit should appear in the corner of the map.
+        For example:
+      attribution_example:
+        alt: Example of how to attribute OpenStreetMap on a webpage
+        title: Attribution example
       more_title_html: Finding out more
       more_1_html: |
         Read more about using our data, and how to credit us, at the <a
       more_title_html: Finding out more
       more_1_html: |
         Read more about using our data, and how to credit us, at the <a