]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/copyright.html.erb
Site cleanup
[rails.git] / app / views / site / copyright.html.erb
index 3bc9bb202e9e8656e7861ef28e43a6540e030b83..160dfea7c48f7bc149127d11e8a5d94980046677 100644 (file)
@@ -1,49 +1,71 @@
-<p style="float: right"><a href="http://creativecommons.org/licenses/by-sa/2.0/"><img src="/images/cc_button.png" border="0" alt="" /></a></p>
-
-<h2>Copyright and License</h2>
-
-<p>OpenStreetMap is <i>open data</i>, licensed under the <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons Attribution-ShareAlike 2.0</a> licence (CC-BY-SA).</p>
-
-<p>You are free to copy, distribute, transmit and adapt our maps and data, as long as you credit OpenStreetMap and its contributors. If you alter or build upon our maps or data, you may distribute the result only under the same or similar licence. The full <a href="http://creativecommons.org/licenses/by-sa/2.0/legalcode">legal code</a> explains your rights and responsibilities.</p>
-
-<h3>How to credit OpenStreetMap</h3>
-
-<p>If you are using OpenStreetMap map images, we request that your credit reads at least &ldquo;&copy; OpenStreetMap contributors, CC-BY-SA&rdquo;. If you are using map data only, we request &ldquo;Map data &copy; OpenStreetMap contributors, CC-BY-SA&rdquo;.</p>
-
-<p>Where possible, OpenStreetMap should be hyperlinked to <a href="http://www.openstreetmap.org/">http://www.openstreetmap.org/</a> and CC-BY-SA to <a href="http://creativecommons.org/licenses/by-sa/2.0/">http://creativecommons.org/licenses/by-sa/2.0/</a>. If you are using a medium where links are not possible (e.g. a printed work), we suggest you direct your readers to www.openstreetmap.org (perhaps by expanding &lsquo;OpenStreetMap&rsquo; to this full address) and to www.creativecommons.org.</p>
-
-<h3>Finding out more</h3>
-
-<p>Read more about using our data at the <a href="http://wiki.openstreetmap.org/wiki/Legal_FAQ">Legal FAQ</a>.
-       
-<p>OSM contributors are reminded never to add data from any copyrighted sources (e.g. Google Maps or printed maps) without explicit permission from the copyright holders.</p>
-
-<p>Although OpenStreetMap is open data, we cannot provide a free-of-charge map API for third-party developers. See our <a href="http://wiki.openstreetmap.org/wiki/API_usage_policy">API Usage Policy</a>, <a href="http://wiki.openstreetmap.org/wiki/Tile_usage_policy">Tile Usage Policy</a> and <a href="http://wiki.openstreetmap.org/wiki/Nominatim#Usage_Policy">Nominatim Usage Policy</a>.
-
-<h3>Our contributors</h3>
-
-<p>Our CC-BY-SA licence requires you to &ldquo;give the Original Author credit reasonable to the medium or means You are utilising&rdquo;. Individual OSM mappers do not request a credit over and above that to &ldquo;OpenStreetMap contributors&rdquo;, but where data from a national mapping agency or other major source has been included in OpenStreetMap, it may be reasonable to credit them by directly reproducing their credit or by linking to it on this page.</p>
-
-<!--
-
-Information for page editors
-
-The following lists only those organisations who require attribution as a condition of their data being used in OpenStreetMap. It is not a general catalogue of imports, and must not be used except when attribution is required to comply with the licence of the imported data.
-
-Any additions here must be discussed with OSM sysadmins first.
-
--->
-
+<% content_for :heading do %>
+<% if @locale == 'en' %>
+  <!-- Maybe ease foreigners back to their native page -->
+
+    <% if t('license_page.legal_babble', :locale => I18n.locale) != t('license_page.legal_babble', :locale => :en) %>
+      <h2><%= t 'license_page.native.title' %></h2>
+      <p>
+        <%= raw t 'license_page.native.text',
+                    :native_link => link_to(t('license_page.native.native_link'),
+                                                :controller => 'site',
+                                                :action => 'copyright',
+                                                :copyright_locale => nil),
+                    :mapping_link => link_to(t('license_page.native.mapping_link'),
+                                                :controller => 'site',
+                                                :action => 'index') %>
+      </p>
+      <hr />
+    <% end %>
+  <% else %>
+    <!-- Maybe note that this page has been translated -->
+    <% if t('license_page.legal_babble', :locale => @locale) != t('license_page.legal_babble', :locale => :en) %>
+      <h2><%= t 'license_page.foreign.title' %></h2>
+      <p>
+        <%= raw t 'license_page.foreign.text',
+                    :english_original_link => link_to(t('license_page.foreign.english_link'),
+                                                          :controller => 'site',
+                                                          :action => 'copyright',
+                                                          :copyright_locale => 'en') %>
+      </p>
+      <hr />
+    <% end %>
+  <% end %>
+
+  <h2><%= t "license_page.legal_babble.title_html", :locale => @locale %></h2>
+
+<% end %>
+
+<p><%= t "license_page.legal_babble.intro_1_html", :locale => @locale %></p>
+<p><%= t "license_page.legal_babble.intro_2_html", :locale => @locale %></p>
+<p><%= t "license_page.legal_babble.intro_3_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,
+              :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>
+<p><%= t "license_page.legal_babble.more_2_html", :locale => @locale %></p>
+
+<h3><%= t "license_page.legal_babble.contributors_title_html", :locale => @locale %></h3>
+<p><%= t "license_page.legal_babble.contributors_intro_html", :locale => @locale %></p>
 <ul id="contributors">
-       
-<li><strong>Australia</strong>: Contains suburb data based on Australian Bureau of Statistics data.
-
-<li><strong>Canada</strong>: Contains data from GeoBase&reg;, GeoGratis (&copy; Department of Natural Resources Canada), CanVec (&copy; Department of Natural Resources Canada), and StatCan (Geography Division, Statistics Canada).
-
-<li><strong>New Zealand</strong>: Contains data sourced from Land Information New Zealand. Crown Copyright reserved.
-
-<li><strong>United Kingdom</strong>: Contains Ordnance Survey data &copy; Crown copyright and database right 2010.
-
+  <li><%= t "license_page.legal_babble.contributors_at_html", :locale => @locale %></li>
+  <li><%= t "license_page.legal_babble.contributors_ca_html", :locale => @locale %></li>
+  <li><%= t "license_page.legal_babble.contributors_fr_html", :locale => @locale %></li>
+  <li><%= t "license_page.legal_babble.contributors_nl_html", :locale => @locale %></li>
+  <li><%= t "license_page.legal_babble.contributors_nz_html", :locale => @locale %></li>
+  <li><%= t "license_page.legal_babble.contributors_za_html", :locale => @locale %></li>
+  <li><%= t "license_page.legal_babble.contributors_gb_html", :locale => @locale %></li>
 </ul>
+<p><%= t "license_page.legal_babble.contributors_footer_1_html", :locale => @locale %></p>
+<p><%= t "license_page.legal_babble.contributors_footer_2_html", :locale => @locale %></p>
 
-<p>Inclusion of data in OpenStreetMap does not imply that the original data provider endorses OpenStreetMap, provides any warranty, or accepts any liability.</p>
+<h3><%= t "license_page.legal_babble.infringement_title_html", :locale => @locale %></h3>
+<p><%= t "license_page.legal_babble.infringement_1_html", :locale => @locale %></p>
+<p><%= t "license_page.legal_babble.infringement_2_html", :locale => @locale %></p>
\ No newline at end of file