aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-12-11 09:48:41 +0000
committerGareth Rees <gareth@mysociety.org>2014-12-11 09:48:41 +0000
commita63505c5d904093972734b1edcdbb08447b4afe6 (patch)
tree06252ca6794c53d4918b81e91d09d3238742f28e
parentde5c998d72bac9e13c56b6089169da9647d014b2 (diff)
parent417e8d5886a7a52c9bda87ad20a9381bdd214dbb (diff)
Merge branch '2021-fragmented-translation' into rails-3-develop
-rw-r--r--app/views/comment/new.html.erb9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/comment/new.html.erb b/app/views/comment/new.html.erb
index 578732cdb..48fe055ac 100644
--- a/app/views/comment/new.html.erb
+++ b/app/views/comment/new.html.erb
@@ -1,4 +1,5 @@
-<% @title = "Make an annotation on '" + h(@info_request.title) + "'" %>
+<% @title = _("Add an annotation to &ldquo;{{request_title}}&rdquo;",
+ :request_title => h(@info_request.title)) %>
<% if @existing_comment %>
<div class="errorExplanation" id="errorExplanation"><ul>
@@ -11,8 +12,10 @@
<%= foi_error_messages_for :comment %>
-<h1><%= _('Add an annotation')%></h1>
-<h2>to &ldquo;<%=request_link(@info_request)%>&rdquo;</h2>
+<h1>
+ <%= _("Add an annotation to &ldquo;{{request_title}}&rdquo;",
+ :request_title => request_link(@info_request)) %>
+</h1>
<p>
<%= _('Annotations are so anyone, including you, can help the requester with their request. For example:')%>