]> git.openstreetmap.org Git - rails.git/blob - app/views/site/copyright.html.erb
Merge remote-tracking branch 'upstream/pull/4438'
[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>
43       <%= t ".legal_babble.introduction_1_html",
44             :registered_trademark_link => tag.sup(link_to(t(".legal_babble.introduction_1_registered_trademark_html"),
45                                                           :anchor => "trademarks")),
46             :open_data => tag.i(t(".legal_babble.introduction_1_open_data")),
47             :odc_odbl_link => link_to(t(".legal_babble.introduction_1_odc_odbl"),
48                                       t(".legal_babble.introduction_1_odc_odbl_url")),
49             :osm_foundation_link => link_to(t(".legal_babble.introduction_1_osm_foundation"),
50                                             t(".legal_babble.introduction_1_osm_foundation_url")) %>
51     </p>
52     <p>
53       <%= t ".legal_babble.introduction_2_html",
54             :legal_code_link => link_to(t(".legal_babble.introduction_2_legal_code"),
55                                         t(".legal_babble.introduction_2_legal_code_url")) %>
56     </p>
57     <p>
58       <%= t ".legal_babble.introduction_3_html",
59             :creative_commons_link => link_to(t(".legal_babble.introduction_3_creative_commons"),
60                                               t(".legal_babble.introduction_3_creative_commons_url")) %>
61     </p>
62
63     <h3><%= t ".legal_babble.credit_title_html" %></h3>
64     <p><%= t ".legal_babble.credit_1_html" %></p>
65     <ul>
66       <li><%= t ".legal_babble.credit_2_1" %></li>
67       <li><%= t ".legal_babble.credit_2_2" %></li>
68     </ul>
69     <p>
70       <%= t ".legal_babble.credit_3_html",
71             :attribution_guidelines_link => link_to(t(".legal_babble.credit_3_attribution_guidelines"),
72                                                     t(".legal_babble.credit_3_attribution_guidelines_url")) %>
73     </p>
74     <p>
75       <%= t ".legal_babble.credit_4_1_html",
76             :this_copyright_page_link => link_to(t(".legal_babble.credit_4_1_this_copyright_page"),
77                                                  copyright_path) %>
78     </p>
79     <p><%= image_tag("attribution_example.png",
80                      :alt => t(".legal_babble.attribution_example.alt"),
81                      :border => 0,
82                      :title => t(".legal_babble.attribution_example.title")) %></p>
83
84     <h3><%= t ".legal_babble.more_title_html" %></h3>
85     <p>
86       <%= t ".legal_babble.more_1_1_html",
87             :osmf_licence_page_link => link_to(t(".legal_babble.more_1_1_osmf_licence_page"),
88                                                t(".legal_babble.more_1_1_osmf_licence_page_url")) %>
89     </p>
90     <p>
91       <%= t ".legal_babble.more_2_1_html",
92             :api_usage_policy_link => link_to(t(".legal_babble.more_2_1_api_usage_policy"),
93                                               t(".legal_babble.more_2_1_api_usage_policy_url")),
94             :tile_usage_policy_link => link_to(t(".legal_babble.more_2_1_tile_usage_policy"),
95                                                t(".legal_babble.more_2_1_tile_usage_policy_url")),
96             :nominatim_usage_policy_link => link_to(t(".legal_babble.more_2_1_nominatim_usage_policy"),
97                                                     t(".legal_babble.more_2_1_nominatim_usage_policy_url")) %>
98     </p>
99
100     <h3><%= t ".legal_babble.contributors_title_html" %></h3>
101     <p><%= t ".legal_babble.contributors_intro_html" %></p>
102     <ul id="contributors">
103       <li>
104         <%= t ".legal_babble.contributors_at_credit_html",
105               :austria => tag.strong(t(".legal_babble.contributors_at_austria")),
106               :stadt_wien_link => link_to(t(".legal_babble.contributors_at_stadt_wien"),
107                                           t(".legal_babble.contributors_at_stadt_wien_url")),
108               :cc_by_link => link_to(t(".legal_babble.contributors_at_cc_by"),
109                                      t(".legal_babble.contributors_at_cc_by_url")),
110               :land_vorarlberg_link => link_to(t(".legal_babble.contributors_at_land_vorarlberg"),
111                                                t(".legal_babble.contributors_at_land_vorarlberg_url")),
112               :cc_by_at_with_amendments_link => link_to(t(".legal_babble.contributors_at_cc_by_at_with_amendments"),
113                                                         t(".legal_babble.contributors_at_cc_by_at_with_amendments_url")) %>
114       </li>
115       <li>
116         <%= t ".legal_babble.contributors_au_credit_html",
117               :australia => tag.strong(t(".legal_babble.contributors_au_australia")),
118               :geoscape_australia_link => link_to(t(".legal_babble.contributors_au_geoscape_australia"),
119                                                   t(".legal_babble.contributors_au_geoscape_australia_url")),
120               :cc_licence_link => link_to(t(".legal_babble.contributors_au_cc_licence"),
121                                           t(".legal_babble.contributors_au_cc_licence_url")) %>
122       </li>
123       <li>
124         <%= t ".legal_babble.contributors_ca_credit_html",
125               :canada => tag.strong(t(".legal_babble.contributors_ca_canada")) %>
126       </li>
127       <li>
128         <%= t ".legal_babble.contributors_cz_credit_html",
129               :czechia => tag.strong(t(".legal_babble.contributors_cz_czechia")),
130               :cc_licence_link => link_to(t(".legal_babble.contributors_cz_cc_licence"),
131                                           t(".legal_babble.contributors_cz_cc_licence_url")) %>
132       </li>
133       <li>
134         <%= t ".legal_babble.contributors_fi_credit_html",
135               :finland => tag.strong(t(".legal_babble.contributors_fi_finland")),
136               :nlsfi_license_link => link_to(t(".legal_babble.contributors_fi_nlsfi_license"),
137                                              t(".legal_babble.contributors_fi_nlsfi_license_url")) %>
138       </li>
139       <li>
140         <%= t ".legal_babble.contributors_fr_credit_html",
141               :france => tag.strong(t(".legal_babble.contributors_fr_france")) %>
142       </li>
143       <li>
144         <%= t ".legal_babble.contributors_nl_credit_html",
145               :netherlands => tag.strong(t(".legal_babble.contributors_nl_netherlands")),
146               :and_link => link_to(t(".legal_babble.contributors_nl_and"),
147                                    t(".legal_babble.contributors_nl_and_url")) %>
148       </li>
149       <li>
150         <%= t ".legal_babble.contributors_nz_credit_html",
151               :new_zealand => tag.strong(t(".legal_babble.contributors_nz_new_zealand")),
152               :linz_data_service_link => link_to(t(".legal_babble.contributors_nz_linz_data_service"),
153                                                  t(".legal_babble.contributors_nz_linz_data_service_url")),
154               :cc_by_link => link_to(t(".legal_babble.contributors_nz_cc_by"),
155                                      t(".legal_babble.contributors_nz_cc_by_url")) %>
156       </li>
157       <li>
158         <%= t ".legal_babble.contributors_rs_credit_html",
159               :serbia => tag.strong(t(".legal_babble.contributors_rs_serbia")),
160               :rgz_link => link_to(t(".legal_babble.contributors_rs_rgz"),
161                                    t(".legal_babble.contributors_rs_rgz_url")),
162               :open_data_portal => link_to(t(".legal_babble.contributors_rs_open_data_portal"),
163                                            t(".legal_babble.contributors_rs_open_data_portal_url")) %>
164       </li>
165       <li>
166         <%= t ".legal_babble.contributors_si_credit_html",
167               :slovenia => tag.strong(t(".legal_babble.contributors_si_slovenia")),
168               :gu_link => link_to(t(".legal_babble.contributors_si_gu"),
169                                   t(".legal_babble.contributors_si_gu_url")),
170               :mkgp_link => link_to(t(".legal_babble.contributors_si_mkgp"),
171                                     t(".legal_babble.contributors_si_mkgp_url")) %>
172       </li>
173       <li>
174         <%= t ".legal_babble.contributors_es_credit_html",
175               :spain => tag.strong(t(".legal_babble.contributors_es_spain")),
176               :ign_link => link_to(t(".legal_babble.contributors_es_ign"),
177                                    t(".legal_babble.contributors_es_ign_url")),
178               :scne_link => link_to(t(".legal_babble.contributors_es_scne"),
179                                     t(".legal_babble.contributors_es_scne_url")),
180               :cc_by_link => link_to(t(".legal_babble.contributors_es_cc_by"),
181                                      t(".legal_babble.contributors_es_cc_by_url")) %>
182       </li>
183       <li>
184         <%= t ".legal_babble.contributors_za_credit_html",
185               :south_africa => tag.strong(t(".legal_babble.contributors_za_south_africa")),
186               :ngi_link => link_to(t(".legal_babble.contributors_za_ngi"),
187                                    t(".legal_babble.contributors_za_ngi_url")) %>
188       </li>
189       <li>
190         <%= t ".legal_babble.contributors_gb_credit_html",
191               :united_kingdom => tag.strong(t(".legal_babble.contributors_gb_united_kingdom")) %>
192       </li>
193     </ul>
194     <p>
195       <%= t ".legal_babble.contributors_2_html",
196             :contributors_page_link => link_to(t(".legal_babble.contributors_2_contributors_page"),
197                                                t(".legal_babble.contributors_2_contributors_page_url")) %>
198     </p>
199     <p><%= t ".legal_babble.contributors_footer_2_html" %></p>
200
201     <h3><%= t ".legal_babble.infringement_title_html" %></h3>
202     <p><%= t ".legal_babble.infringement_1_html" %></p>
203     <p>
204       <%= t ".legal_babble.infringement_2_1_html",
205             :takedown_procedure_link => link_to(t(".legal_babble.infringement_2_1_takedown_procedure"),
206                                                 t(".legal_babble.infringement_2_1_takedown_procedure_url")),
207             :online_filing_page_link => link_to(t(".legal_babble.infringement_2_1_online_filing_page"),
208                                                 t(".legal_babble.infringement_2_1_online_filing_page_url")) %>
209     </p>
210
211     <h3 id="trademarks">
212       <%= t ".legal_babble.trademarks_title" %>
213     </h3>
214     <p>
215       <%= t ".legal_babble.trademarks_1_1_html",
216             :trademark_policy_link => link_to(t(".legal_babble.trademarks_1_1_trademark_policy"),
217                                               t(".legal_babble.trademarks_1_1_trademark_policy_url")) %>
218     </p>
219   <% end %>
220 <% end %>