X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e484b6894c533f5364b248df2d5beaad62f0e7f3..e23313fbd492c714cdd3eb5757d8d019e86611b0:/app/views/site/copyright.html.erb diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index c83cef99c..03dee8716 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -10,9 +10,9 @@ { :rel => "license" }) %>
-<% if I18n.locale == 'en' or params[:copyright_locale] == 'en' %> +<% if @locale == 'en' %> - <% if t('license_page.legal_babble') != t('license_page.legal_babble', :locale => :en) %> + <% if t('license_page.legal_babble', :locale => I18n.locale) != t('license_page.legal_babble', :locale => :en) %><%= raw t 'license_page.native.text', @@ -25,11 +25,9 @@
<%= raw t 'license_page.foreign.text', @@ -40,6 +38,6 @@