From: Tom Hughes Date: Mon, 26 Sep 2011 20:18:45 +0000 (+0100) Subject: Mark some locale lookups as raw X-Git-Tag: live~6610 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b63ce5d460cf794602aa7996cdd857dc39faa3d9 Mark some locale lookups as raw --- diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 97f57e41c..aff873e45 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -8,5 +8,5 @@ <% end %> <%= render :partial => "changeset_details", :object => @changeset %>
-<%= t 'browse.changeset.download', :changeset_xml_link => link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read"), - :osmchange_xml_link => link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %> +<%= raw t 'browse.changeset.download', :changeset_xml_link => link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read"), + :osmchange_xml_link => link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %> diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index e388d65ae..dfa5bc806 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -6,7 +6,7 @@ id_link = link_to(changeset.id, {:controller => 'browse', :action => 'changeset', :id => changeset.id}, {:title => t('changeset.changeset.view_changeset_details')}) - t'changeset.changeset.id', :id => id_link + raw t 'changeset.changeset.id', :id => id_link %> diff --git a/app/views/user/login.html.erb b/app/views/user/login.html.erb index 8c079d0f1..66392095b 100644 --- a/app/views/user/login.html.erb +++ b/app/views/user/login.html.erb @@ -42,7 +42,7 @@ diff --git a/app/views/user/terms.html.erb b/app/views/user/terms.html.erb index eab21e455..24f0f5bb6 100644 --- a/app/views/user/terms.html.erb +++ b/app/views/user/terms.html.erb @@ -52,5 +52,5 @@


-

<%= t 'user.terms.guidance', :summary => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary', :translations => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations' %>

+

<%= raw t 'user.terms.guidance', :summary => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary', :translations => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations' %>

<% end %>
- <%= t 'user.login.openid', :logo => openid_logo %> + <%= raw t 'user.login.openid', :logo => openid_logo %> <%= text_field_tag("openid_url", "", { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %> diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb index 04c86b5a8..a829773f0 100644 --- a/app/views/user/new.html.erb +++ b/app/views/user/new.html.erb @@ -59,7 +59,7 @@
- <%= link_to_function(t('user.new.use openid', :logo => openid_logo), "enableOpenID()") %> + <%= link_to_function(raw(t('user.new.use openid', :logo => openid_logo)), "enableOpenID()") %> <%= t 'user.new.openid no password' %>