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