X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7561eacbf4d1e45ae3bf954a55093b4ff1be5ba4..83821816359187fa2b877a29b7ab7d9f974c17b5:/app/views/site/copyright.html.erb diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index 897f9cda3..eaaf3f366 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -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.title' %>

<%= t 'license_page.native.text', @@ -26,20 +26,20 @@


<% end %> - <%= t('license_page.legal_babble', :locale => 'en') %> + <%= t('license_page.legal_babble', :locale => :en) %> <% else %> - <% if t('license_page.legal_babble') != t('license_page.legal_babble', :locale => 'en') %> + <% if t('license_page.legal_babble') != t('license_page.legal_babble', :locale => :en) %>

<%= t 'license_page.foreign.title' %>

<%= 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') %>


<% end %> + <%= t('license_page.legal_babble') %> <% end %>