From d2db785a2ac74eed0392694fa659cce7337c68d1 Mon Sep 17 00:00:00 2001 From: Steve Singer Date: Sun, 18 Mar 2012 15:31:07 -0400 Subject: [PATCH] Replace raw with a translation with the html suffix --- app/views/changeset/list.html.erb | 4 ++-- config/locales/en.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/changeset/list.html.erb b/app/views/changeset/list.html.erb index 9d3c407f3..0d0f8ba44 100644 --- a/app/views/changeset/list.html.erb +++ b/app/views/changeset/list.html.erb @@ -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] -%> diff --git a/config/locales/en.yml b/config/locales/en.yml index 5669d8437..354fcb04c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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 Beginners Guide." - empty_anon: "No edits made yet" + empty_user_html: "It looks you haven't made any edits yet. To get started, check out the Beginners Guide." + empty_anon_html: "No edits made yet" timeout: sorry: "Sorry, the list of changesets you requested took too long to retrieve." diary_entry: -- 2.39.5