X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7561eacbf4d1e45ae3bf954a55093b4ff1be5ba4..b90219f1d393c0b6e16848eb611e638fa14bf3ff:/app/views/site/copyright.html.erb?ds=sidebyside 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 %>