aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-12-11 09:41:53 +0000
committerGareth Rees <gareth@mysociety.org>2014-12-11 09:48:05 +0000
commit417e8d5886a7a52c9bda87ad20a9381bdd214dbb (patch)
tree06252ca6794c53d4918b81e91d09d3238742f28e
parent26bf3831106c9bca82112a05cbc8ac258320ca44 (diff)
Unify add annotation <title> and <h1>
Use the same msgids so that translators only have to translate one thing.
-rw-r--r--app/views/comment/new.html.erb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/comment/new.html.erb b/app/views/comment/new.html.erb
index 26371946f..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>
@@ -12,8 +13,8 @@
<%= foi_error_messages_for :comment %>
<h1>
- <%= _("Add an annotation to &ldquo;{{request_link}}&rdquo;",
- :request_link => request_link(@info_request)) %>
+ <%= _("Add an annotation to &ldquo;{{request_title}}&rdquo;",
+ :request_title => request_link(@info_request)) %>
</h1>
<p>