From: Tom Hughes Date: Sun, 5 Jan 2020 18:51:42 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/pull/2494' X-Git-Tag: live~2312 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a570f59187efa0a298d31bae2b224de9762bb42f Merge remote-tracking branch 'upstream/pull/2494' --- a570f59187efa0a298d31bae2b224de9762bb42f diff --cc app/views/oauth_clients/index.html.erb index 54bb4f9f6,738e01a74..0ce09d57c --- a/app/views/oauth_clients/index.html.erb +++ b/app/views/oauth_clients/index.html.erb @@@ -29,7 -29,7 +29,7 @@@ <% end %>

<%= t ".my_apps" %>

<% if @client_applications.empty? %> -

<%= raw(t(".no_apps", :oauth => "OAuth")) %>

-

<%= t(".no_apps_html", :oauth => link_to(t(".oauth"), "https://oauth.net" )) %>

++

<%= t(".no_apps_html", :oauth => link_to(t(".oauth"), "https://oauth.net")) %>

<% else %>

<%= t ".registered_apps" %>

<% @client_applications.each do |client| %> diff --cc app/views/site/about.html.erb index 15255d9e0,3f310be5b..e62af1659 --- a/app/views/site/about.html.erb +++ b/app/views/site/about.html.erb @@@ -1,43 -1,41 +1,43 @@@ -
-
- <%= t ".copyright_html" %> -
- -
+<%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %> +
+
+ <%= t ".copyright_html", :locale => @locale %> +
-

<%= t ".used_by_html", :name => content_tag(:span, "OpenStreetMap", :class => "user-name") %>

-
+
-

<%= raw t ".used_by", :name => "OpenStreetMap", :locale => @locale %>

-
-
-

<%= t ".lede_text" %>

-

<%= t ".local_knowledge_title" %>

-

<%= t ".local_knowledge_html" %>

++

<%= t ".used_by_html", :name => content_tag(:span, "OpenStreetMap", :class => "user-name"), :locale => @locale %>

-
-

<%= t ".community_driven_title" %>

-

<%= t ".community_driven_html", :diary_path => diary_entries_path %>

-
+
+
+

<%= t ".lede_text", :locale => @locale %>

+

<%= t ".local_knowledge_title", :locale => @locale %>

+

<%= t ".local_knowledge_html", :locale => @locale %>

+
-
-

<%= t ".open_data_title" %>

-

<%= t ".open_data_html", :copyright_path => copyright_path %>

-
+
+

<%= t ".community_driven_title", :locale => @locale %>

+

<%= t ".community_driven_html", :locale => @locale, :diary_path => diary_entries_path %>

+
- +
+

<%= t ".open_data_title", :locale => @locale %>

+

<%= t ".open_data_html", :locale => @locale, :copyright_path => copyright_path %>

+
+ + -
-

<%= t ".partners_title" %>

-

<%= t "layouts.hosting_partners_html", - :ucl => link_to(t("layouts.partners_ucl"), "https://www.ucl.ac.uk"), - :bytemark => link_to(t("layouts.partners_bytemark"), "https://www.bytemark.co.uk"), - :partners => link_to(t("layouts.partners_partners"), "https://hardware.openstreetmap.org/thanks/") %> -

+
+

<%= t ".partners_title", :locale => @locale %>

+

<%= t "layouts.hosting_partners_html", :locale => @locale, + :ucl => link_to(t("layouts.partners_ucl", :locale => @locale), "https://www.ucl.ac.uk"), + :bytemark => link_to(t("layouts.partners_bytemark", :locale => @locale), "https://www.bytemark.co.uk"), + :partners => link_to(t("layouts.partners_partners", :locale => @locale), "https://hardware.openstreetmap.org/thanks/") %> +

+
-
+<% end %> diff --cc app/views/site/copyright.html.erb index feec81c82,c6a0348df..75f4e878d --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@@ -6,14 -6,14 +6,14 @@@ <%= tag.h1 :lang => @locale, :dir => t("html.dir", :locale => @locale) do %>

<%= t ".native.title" %>

- <%= raw t ".native.text", - :native_link => link_to(t(".native.native_link"), - :controller => "site", - :action => "copyright", - :copyright_locale => nil), - :mapping_link => link_to(t(".native.mapping_link"), - :controller => "site", - :action => "index") %> + <%= t ".native.html", - :native_link => link_to(t(".native.native_link"), - :controller => "site", - :action => "copyright", - :copyright_locale => nil), - :mapping_link => link_to(t(".native.mapping_link"), - :controller => "site", - :action => "index") %> ++ :native_link => link_to(t(".native.native_link"), ++ :controller => "site", ++ :action => "copyright", ++ :copyright_locale => nil), ++ :mapping_link => link_to(t(".native.mapping_link"), ++ :controller => "site", ++ :action => "index") %>

<% end %>
@@@ -24,11 -24,11 +24,11 @@@ <% if t(".legal_babble", :locale => @locale) != t(".legal_babble", :locale => :en) %>

<%= t ".foreign.title" %>

- <%= raw t ".foreign.text", - :english_original_link => link_to(t(".foreign.english_link"), - :controller => "site", - :action => "copyright", - :copyright_locale => "en") %> + <%= t ".foreign.html", - :english_original_link => link_to(t(".foreign.english_link"), - :controller => "site", - :action => "copyright", - :copyright_locale => "en") %> ++ :english_original_link => link_to(t(".foreign.english_link"), ++ :controller => "site", ++ :action => "copyright", ++ :copyright_locale => "en") %>

<% end %>