Replace raw with a translation with the html suffix

This commit is contained in:
Steve Singer 2012-03-18 15:31:07 -04:00 committed by Tom Hughes
parent 6403fead9c
commit d2db785a2a
2 changed files with 4 additions and 4 deletions

View file

@ -11,9 +11,9 @@
<%= render :partial => 'changeset_paging_nav' %>
<% elsif @user and @user.display_name == params[:display_name] %>
<%= raw t('changeset.list.empty_user') %>
<%= t('changeset.list.empty_user_html') %>
<% else %>
<%= raw t('changeset.list.empty_anon') %>
<%= t('changeset.list.empty_anon_html') %>
<% end %>
<% unless params[:friends] or params[:nearby] -%>

View file

@ -321,8 +321,8 @@ en:
description_user_bbox: "Changesets by %{user} within %{bbox}"
description_friend: "Changesets by your friends"
description_nearby: "Changesets by nearby users"
empty_user: "It looks you haven't made any edits yet. To get started, check out the <a href='http://wiki.openstreetmap.org/wiki/Beginners_Guide_1.3'>Beginners Guide</a>."
empty_anon: "No edits made yet"
empty_user_html: "It looks you haven't made any edits yet. To get started, check out the <a href='http://wiki.openstreetmap.org/wiki/Beginners_Guide_1.3'>Beginners Guide</a>."
empty_anon_html: "No edits made yet"
timeout:
sorry: "Sorry, the list of changesets you requested took too long to retrieve."
diary_entry: