]> git.openstreetmap.org Git - rails.git/blob - app/views/site/copyright.html.erb
Merge remote-tracking branch 'upstream/pull/3981'
[rails.git] / app / views / site / copyright.html.erb
1 <% content_for :heading do %>
2 <% if @locale == "en" %>
3   <!-- Maybe ease foreigners back to their native page -->
4
5     <% if t(".legal_babble", :locale => I18n.locale) != t(".legal_babble", :locale => :en) %>
6       <h1><%= t ".native.title" %></h1>
7       <p>
8         <%= t ".native.html",
9               :native_link => link_to(t(".native.native_link"),
10                                       :controller => "site",
11                                       :action => "copyright",
12                                       :copyright_locale => nil),
13               :mapping_link => link_to(t(".native.mapping_link"),
14                                        :controller => "site",
15                                        :action => "index") %>
16       </p>
17       <hr />
18     <% end %>
19   <% else %>
20     <!-- Maybe note that this page has been translated -->
21     <% if t(".legal_babble", :locale => @locale) != t(".legal_babble", :locale => :en) %>
22       <h1><%= t ".foreign.title" %></h1>
23       <p>
24         <%= t ".foreign.html",
25               :english_original_link => link_to(t(".foreign.english_link"),
26                                                 :controller => "site",
27                                                 :action => "copyright",
28                                                 :copyright_locale => "en") %>
29       </p>
30       <hr />
31     <% end %>
32   <% end %>
33
34   <%= tag.h1 :lang => @locale, :dir => t("html.dir", :locale => @locale) do %>
35     <%= t ".legal_babble.title_html", :locale => @locale %>
36   <% end %>
37
38 <% end %>
39
40 <%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %>
41   <p><%= t ".legal_babble.intro_1_html", :locale => @locale %></p>
42   <p><%= t ".legal_babble.intro_2_html", :locale => @locale %></p>
43   <p><%= t ".legal_babble.intro_3_1_html", :locale => @locale %></p>
44
45   <h3><%= t ".legal_babble.credit_title_html", :locale => @locale %></h3>
46   <p><%= t ".legal_babble.credit_1_html", :locale => @locale %></p>
47   <p><%= t ".legal_babble.credit_2_1_html", :locale => @locale %></p>
48   <p><%= t ".legal_babble.credit_3_1_html", :locale => @locale %></p>
49   <p><%= t ".legal_babble.credit_4_html", :locale => @locale %></p>
50   <p><%= image_tag("attribution_example.png",
51                    :alt => t(".legal_babble.attribution_example.alt"),
52                    :border => 0,
53                    :title => t(".legal_babble.attribution_example.title")) %></p>
54
55   <h3><%= t ".legal_babble.more_title_html", :locale => @locale %></h3>
56   <p><%= t ".legal_babble.more_1_html", :locale => @locale %></p>
57   <p><%= t ".legal_babble.more_2_html", :locale => @locale %></p>
58
59   <h3><%= t ".legal_babble.contributors_title_html", :locale => @locale %></h3>
60   <p><%= t ".legal_babble.contributors_intro_html", :locale => @locale %></p>
61   <ul id="contributors">
62     <li><%= t ".legal_babble.contributors_at_html", :locale => @locale %></li>
63     <li><%= t ".legal_babble.contributors_au_html", :locale => @locale %></li>
64     <li><%= t ".legal_babble.contributors_ca_html", :locale => @locale %></li>
65     <li><%= t ".legal_babble.contributors_fi_html", :locale => @locale %></li>
66     <li><%= t ".legal_babble.contributors_fr_html", :locale => @locale %></li>
67     <li><%= t ".legal_babble.contributors_nl_html", :locale => @locale %></li>
68     <li><%= t ".legal_babble.contributors_nz_html", :locale => @locale %></li>
69     <li><%= t ".legal_babble.contributors_si_html", :locale => @locale %></li>
70     <li><%= t ".legal_babble.contributors_es_html", :locale => @locale %></li>
71     <li><%= t ".legal_babble.contributors_za_html", :locale => @locale %></li>
72     <li><%= t ".legal_babble.contributors_gb_html", :locale => @locale %></li>
73   </ul>
74   <p><%= t ".legal_babble.contributors_footer_1_html", :locale => @locale %></p>
75   <p><%= t ".legal_babble.contributors_footer_2_html", :locale => @locale %></p>
76
77   <h3><%= t ".legal_babble.infringement_title_html", :locale => @locale %></h3>
78   <p><%= t ".legal_babble.infringement_1_html", :locale => @locale %></p>
79   <p><%= t ".legal_babble.infringement_2_html", :locale => @locale %></p>
80
81   <h3><%= t ".legal_babble.trademarks_title_html", :locale => @locale %></h3>
82   <p><%= t ".legal_babble.trademarks_1_html", :locale => @locale %></p>
83 <% end %>