From: Richard Fairhurst Date: Thu, 11 Oct 2012 10:30:57 +0000 (+0100) Subject: Provide example of correct attribution X-Git-Tag: live~5313 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/012d5b69c6807ec59b8b6dfacd36a43778902a06 Provide example of correct attribution --- diff --git a/app/assets/images/attribution_example.png b/app/assets/images/attribution_example.png new file mode 100644 index 000000000..463c80ed0 Binary files /dev/null and b/app/assets/images/attribution_example.png differ diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index 4a7a57bea..2f44386da 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -38,6 +38,13 @@

<%= t "license_page.legal_babble.credit_title_html", :locale => @locale %>

<%= t "license_page.legal_babble.credit_1_html", :locale => @locale %>

<%= t "license_page.legal_babble.credit_2_html", :locale => @locale %>

+

<%= t "license_page.legal_babble.credit_3_html", :locale => @locale %>

+

<%= 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')) %>

<%= t "license_page.legal_babble.more_title_html", :locale => @locale %>

<%= t "license_page.legal_babble.more_1_html", :locale => @locale %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index 65cc2bda3..197608aac 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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. + 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