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