X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7561eacbf4d1e45ae3bf954a55093b4ff1be5ba4..18883b59c88940b9bd323756e60603302f185dfd:/app/views/site/copyright.html.erb diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index 897f9cda3..b5f0db418 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -1,4 +1,4 @@ -

+

-<% 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 %>