aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/request/_followup.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/request/_followup.rhtml')
-rw-r--r--app/views/request/_followup.rhtml58
1 files changed, 29 insertions, 29 deletions
diff --git a/app/views/request/_followup.rhtml b/app/views/request/_followup.rhtml
index f3dcbd785..47857108d 100644
--- a/app/views/request/_followup.rhtml
+++ b/app/views/request/_followup.rhtml
@@ -1,54 +1,54 @@
<div id="followup">
<% if @internal_review %>
- <h1>Request an internal review
- from <%=h OutgoingMailer.name_for_followup(@info_request, nil) %>
+ <h1><%= _('Request an internal review from') %> <%=h OutgoingMailer.name_for_followup(@info_request, nil) %>
</h1>
<% elsif incoming_message.nil? || !incoming_message.valid_to_reply_to? %>
- <h2>Send a public follow up message
- to <%=h OutgoingMailer.name_for_followup(@info_request, nil) %>
+ <h2><%= _('Send a public follow up message to') %> <%=h OutgoingMailer.name_for_followup(@info_request, nil) %>
</h2>
<% else %>
- <h2>Send a public reply to
+ <h2><%= _('Send a public reply to') %>
<%=h OutgoingMailer.name_for_followup(@info_request, incoming_message) %>
</h2>
<% end %>
<% if @info_request.allow_new_responses_from == 'nobody' %>
- <p>Follow ups and new responses to this request have been stopped to prevent spam. Please
- <a href="/help/contact">contact us</a> if you are <%= user_link(@info_request.user) %>
- and need to send a follow up.</p>
+ <p><%= _('Follow ups and new responses to this request have been stopped to prevent spam. Please
+ <a href="%s">contact us</a> if you are') % [help_contact_path] %> <%= user_link(@info_request.user) %>
+ <%= _('and need to send a follow up.') %></p>
<% else %>
<% if @internal_review %>
<p>
- If you are dissatisfied by the response you got from
+ <%= _('If you are dissatisfied by the response you got from
the public authority, you have the right to
- complain (<a href="http://foiwiki.com/foiwiki/index.php/Internal_reviews">details</a>).
+ complain (<a href="%s">details</a>).') % "http://foiwiki.com/foiwiki/index.php/Internal_reviews" %>
</p>
<% end %>
- <p>Please <strong>only</strong> write messages directly relating to your
- request '<%= request_link(@info_request) %>'. If you would like to ask for information
- that was not in your original request, then
- <%= link_to "file a new request", new_request_to_body_url(:url_name => @info_request.public_body.url_name) %>.
+ <p>
+ <%= _('Please <strong>only</strong> write messages directly relating to your
+ request') %> '<%= request_link(@info_request) %>'. <%= _('If you would like to ask for information
+ that was not in your original request, then') %>
+ <%= link_to _("file a new request"), new_request_to_body_url(:url_name => @info_request.public_body.url_name) %>.
</p>
<% status = @info_request.calculate_status %>
<% if status == 'waiting_response_overdue' %>
- <p>The response to your request has been <strong>delayed</strong>. You can say that,
+ <p><%= _('The response to your request has been <strong>delayed</strong>. You can say that,
by law, the authority should normally have responded
- <strong>promptly</strong> and
+ <strong>promptly</strong> and') %>
<% if @info_request.public_body.is_school? %>
- in term time
+ <%= _('in term time') %>
<% end %>
- by <strong><%= simple_date(@info_request.date_response_required_by) %></strong>
- (<%= link_to "details", "/help/requesting#quickly_response" %>).
+ <%= _('by') %> <strong><%= simple_date(@info_request.date_response_required_by) %></strong>
+ (<%= _('<a href="%s">details</a>') % ["#{help_requesting_path}#quickly_response"] %>).
+
</p>
<% elsif status == 'waiting_response_very_overdue' %>
<p>
- The response to your request is <strong>long overdue</strong>. You can say that, by
+ <%= _('The response to your request is <strong>long overdue</strong>. You can say that, by
law, under all circumstances, the authority should have responded
- by now (<%= link_to "details", "/help/requesting#quickly_response" %>).
+ by now') %> (<%= _('<a href="%s">details</a>') % ["#{help_requesting_path}#quickly_response"] %>).
</p>
<% end %>
@@ -61,7 +61,7 @@
<% if @internal_review %>
<%= hidden_field_tag "outgoing_message[what_doing]", "internal_review" %>
<% else %>
- <h3>What are you doing?</h3>
+ <h3><%= _('What are you doing?') %></h3>
<% if !@outgoing_message.errors[:what_doing_dummy].nil? %>
<div class="fieldWithErrors">
@@ -71,25 +71,25 @@
<!--
<div>
<%= radio_button "outgoing_message", "what_doing", "new_information", :id => "new_information" %>
- <label for="new_information">I am asking for <strong>new information</strong> </label>
+ <label for="new_information"><%= _('I am asking for <strong>new information</strong>') %> </label>
</div>
-->
<div>
<%= radio_button "outgoing_message", "what_doing", "internal_review", :id => "internal_review" %>
- <label for="internal_review">I am requesting an <strong>internal review</strong>
- (<a href="/help/unhappy">what's that?</a>)
+ <label for="internal_review"><%= _('I am requesting an <strong>internal review</strong>') %>
+ <%= _('<a href="%s">what\'s that?</a>') % ["/help/unhappy"] %>
</label>
</div>
<div>
<%= radio_button "outgoing_message", "what_doing", "normal_sort", :id => "sort_normal" %>
- <label for="sort_normal"><strong>Anything else</strong>, such as clarifying, prompting, thanking</label>
+ <label for="sort_normal"><%= _('<strong>Anything else</strong>, such as clarifying, prompting, thanking') %></label>
</div>
</div>
<% end %>
<% if @internal_review %>
- <p>Edit and add <strong>more details</strong> to the message above,
- explaining why you are dissatisfied with their response.
+ <p><%= _('Edit and add <strong>more details</strong> to the message above,
+ explaining why you are dissatisfied with their response.') %>
</p>
<% end %>
@@ -99,7 +99,7 @@
<% if @internal_review_pass_on %>
<%= hidden_field_tag(:internal_review, 1 ) %>
<% end %>
- <%= submit_tag "Preview your message" %>
+ <%= submit_tag _("Preview your message") %>
</p>
<% end %>