diff options
-rw-r--r-- | app/views/comment/new.html.erb | 7 |
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 “{{request_title}}”", + :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 “{{request_link}}”", - :request_link => request_link(@info_request)) %> + <%= _("Add an annotation to “{{request_title}}”", + :request_title => request_link(@info_request)) %> </h1> <p> |