aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/contact_mailer
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/contact_mailer')
-rw-r--r--app/views/contact_mailer/message.rhtml6
-rw-r--r--app/views/contact_mailer/user_message.rhtml6
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/contact_mailer/message.rhtml b/app/views/contact_mailer/message.rhtml
index ad868ec5b..a28d9603b 100644
--- a/app/views/contact_mailer/message.rhtml
+++ b/app/views/contact_mailer/message.rhtml
@@ -1,11 +1,11 @@
<%= @message.strip %>
---------------------------------------------------------------------
-Message sent using WhatDoTheyKnow contact form,
+<%= _('Message sent using WhatDoTheyKnow contact form, ')%>
<%=(@logged_in_user ? ("logged in as user " + main_url(user_url(@logged_in_user))) : "not logged in")%><% if !@last_request.nil? %>
-Last request viewed: <%= main_url(request_url(@last_request)) %>
+<%= _('Last request viewed: ')%><%= main_url(request_url(@last_request)) %>
<% end %> <% if !@last_body.nil? %>
-Last authority viewed: <%= main_url(public_body_url(@last_body)) %>
+<%= _('Last authority viewed: ')%><%= main_url(public_body_url(@last_body)) %>
<% end %>---------------------------------------------------------------------
diff --git a/app/views/contact_mailer/user_message.rhtml b/app/views/contact_mailer/user_message.rhtml
index 436b73d1e..7a685c452 100644
--- a/app/views/contact_mailer/user_message.rhtml
+++ b/app/views/contact_mailer/user_message.rhtml
@@ -1,12 +1,12 @@
---------------------------------------------------------------------
<%=@from_user.name%> has used WhatDoTheyKnow to send you the message below.
-Your details have not been given to anyone, unless you choose to reply to this
-message, which will then go directly to the person who wrote the message.
+<%= _('Your details have not been given to anyone, unless you choose to reply to this
+message, which will then go directly to the person who wrote the message.')%>
---------------------------------------------------------------------
<%= @message.strip %>
---------------------------------------------------------------------
-View Freedom of Information requests made by <%=@from_user.name %>:
+<%= _('View Freedom of Information requests made by')%> <%=@from_user.name %>:
<%= @from_user_url %>
---------------------------------------------------------------------