diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-12-11 15:36:45 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-12-11 15:36:45 +0000 |
commit | 64e636fee3651f5f6c9d3e34bd1260d546e11ce7 (patch) | |
tree | ef3cdb5a673982695ef7b19b22338c9164779c9f | |
parent | 2a1fe08f90439f13b38cb1e9549e85d643aeef43 (diff) | |
parent | 2965acf903261301a28bf39dce67f1635ca208b3 (diff) |
Merge branch 'rails-3-develop' of ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
-rw-r--r-- | app/views/comment/new.html.erb | 9 | ||||
-rw-r--r-- | app/views/request/details.html.erb | 9 |
2 files changed, 13 insertions, 5 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 “{{request_title}}”", + :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 “<%=request_link(@info_request)%>”</h2> +<h1> + <%= _("Add an annotation to “{{request_title}}”", + :request_title => request_link(@info_request)) %> +</h1> <p> <%= _('Annotations are so anyone, including you, can help the requester with their request. For example:')%> diff --git a/app/views/request/details.html.erb b/app/views/request/details.html.erb index 3cb2f5afe..194820da6 100644 --- a/app/views/request/details.html.erb +++ b/app/views/request/details.html.erb @@ -1,5 +1,10 @@ -<% @title = _("Details of request '") + h(@info_request.title) + "'" %> -<h1><%= _("Details of request '") + request_link(@info_request) + "'" %></h1> +<% @title = _("Details of request “{{request_title}}”", + :request_title => h(@info_request.title)) %> + +<h1> + <%= _("Details of request “{{request_title}}”", + :request_title => request_link(@info_request)) %> +</h1> <h2><%= _('Event history') %></h2> |