-<p style="float: right">
+<p id="cc_logo">
<%= link_to(
image_tag("cc_button.png",
:alt => t('layouts.license.alt'),
{ :rel => "license" }) %>
</p>
-<% if I18n.locale.to_s == "en" or params['locale'] == 'en' %>
+<% if I18n.locale == 'en' or params[:copyright_locale] == 'en' %>
<!-- Maybe ease foreigners back to their native page -->
- <% if params['orig_locale'] and params['orig_locale'] != params['locale'] %>
+ <% if t('license_page.legal_babble') != t('license_page.legal_babble', :locale => :en) %>
<h2><%= t 'license_page.native.title' %></h2>
<p>
<%= t 'license_page.native.text',
<hr />
<% end %>
- <%= t('license_page.legal_babble', :locale => 'en') %>
+ <%= t('license_page.legal_babble', :locale => :en) %>
<% else %>
<!-- Maybe note that this page has been translated -->
- <% 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) %>
<h2><%= t 'license_page.foreign.title' %></h2>
<p>
<%= 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') %>
</p>
<hr />
<% end %>
+
<%= t('license_page.legal_babble') %>
<% end %>