From 5ff986129a6575c64892384166f79433bffb37f1 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Fri, 9 Jun 2017 00:27:24 -0700 Subject: [PATCH] copyedit to unsubscribe email --- app/views/email/unsubscribe.html.erb | 3 +-- config/locales/server.en.yml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/email/unsubscribe.html.erb b/app/views/email/unsubscribe.html.erb index d5b2900e41b..762cd8afae4 100644 --- a/app/views/email/unsubscribe.html.erb +++ b/app/views/email/unsubscribe.html.erb @@ -12,8 +12,7 @@ <%- end %> <%- else %>
-

<%= t 'unsubscribe.title'%>

-
<%= t('unsubscribe.email_description', email: @user.email).html_safe %>
+

<%= t 'unsubscribe.title'%> <%= @user.email %>


<%= form_tag(email_perform_unsubscribe_path(key: params[:key])) do %> <%if @topic %> diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 0d31ca91d95..1d68e28403d 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -728,7 +728,6 @@ en: unsubscribe: title: "Unsubscribe" - email_description: "You are unsubscribing emails for %{email}." stop_watching_topic: "Stop watching this topic, %{link}" mute_topic: "Mute all notifications for this topic, %{link}" unwatch_category: "Stop watching all topics in %{category}"