Mark some locale lookups as raw

This commit is contained in:
Tom Hughes 2011-09-26 21:18:45 +01:00
parent 5eb21cc2da
commit b63ce5d460
5 changed files with 6 additions and 6 deletions

View file

@ -8,5 +8,5 @@
<% end %>
<%= render :partial => "changeset_details", :object => @changeset %>
<hr />
<%= 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") %>

View file

@ -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
%>
</td>

View file

@ -42,7 +42,7 @@
<table>
<tr id="login_openid_url">
<td class="fieldName nowrap">
<%= t 'user.login.openid', :logo => openid_logo %>
<%= raw t 'user.login.openid', :logo => openid_logo %>
</td>
<td>
<%= text_field_tag("openid_url", "", { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %>

View file

@ -59,7 +59,7 @@
<tr>
<td></td>
<td>
<span id="openid_prompt" class="minorNote"><%= link_to_function(t('user.new.use openid', :logo => openid_logo), "enableOpenID()") %></span>
<span id="openid_prompt" class="minorNote"><%= link_to_function(raw(t('user.new.use openid', :logo => openid_logo)), "enableOpenID()") %></span>
<span id="openid_note" class="minorNote"><%= t 'user.new.openid no password' %></span>
</td>
</tr>

View file

@ -52,5 +52,5 @@
</div>
</p>
<br clear="all" />
<p id="contributorGuidance"><%= 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' %></p>
<p id="contributorGuidance"><%= 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' %></p>
<% end %>