X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7561eacbf4d1e45ae3bf954a55093b4ff1be5ba4..ce4a6eefa7405a3d23f722c987f0e22b966defc8:/app/views/site/copyright.html.erb diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index 897f9cda3..92c84c745 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -1,4 +1,4 @@ -
+
<%= link_to( image_tag("cc_button.png", :alt => t('layouts.license.alt'), @@ -10,9 +10,9 @@ { :rel => "license" }) %>
-<% if I18n.locale.to_s == "en" or params['locale'] == 'en' %> +<% if I18n.locale == 'en' or params[:copyright_locale] == 'en' %> - <% if params['orig_locale'] and params['orig_locale'] != params['locale'] %> + <% if t('license_page.legal_babble') != t('license_page.legal_babble', :locale => :en) %><%= t 'license_page.native.text', @@ -26,20 +26,20 @@
<%= t 'license_page.foreign.text', :english_original_link => link_to(t('license_page.foreign.english_link'), :controller => 'site', :action => 'copyright', - :locale => 'en', - :orig_locale => I18n.locale.to_s) %> + :copyright_locale => 'en') %>