diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-02-09 10:37:35 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-02-09 10:37:35 +0000 |
commit | 6b96fe51a6220c06ba49b007d4eb607cd0edf582 (patch) | |
tree | 26c704d48ef40c518b20168b018ed40a9cfbe54e | |
parent | 1cebc5e37e16f1e09ba0c818d89427836412eaab (diff) |
Translate full sentences.
This makes it possible for languages with different grammars to make
a good translation, and gives all translators more context.
http://mysociety.github.io/internationalization.html#general-guidelines
-rw-r--r-- | app/views/request/followup_bad.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/request/followup_bad.html.erb b/app/views/request/followup_bad.html.erb index 81004701a..8b67c4ee7 100644 --- a/app/views/request/followup_bad.html.erb +++ b/app/views/request/followup_bad.html.erb @@ -8,17 +8,17 @@ <% if @reason == 'not_apply' %> <!-- we should never get here, but just in case give a sensible message --> - <p><%= _('Freedom of Information law no longer applies to') %> <%=h @info_request.public_body.name %>. + <p><%= _('Freedom of Information law no longer applies to {{public_body_name}}.', :public_body_name => @info_request.public_body.name) %> <%= _('From the request page, try replying to a particular message, rather than sending a general followup. If you need to make a general followup, and know an email which will go to the right place, please <a href="{{url}}">send it to us</a>.', :url => help_contact_path.html_safe) %> </p> <% elsif @reason == 'defunct' %> <!-- we should never get here, but just in case give a sensible message --> - <p><%=h @info_request.public_body.name %> <%= _('no longer exists. If you are trying to make + <p><%= _('{{public_body_name}} no longer exists. If you are trying to make From the request page, try replying to a particular message, rather than sending a general followup. If you need to make a general followup, and know - an email which will go to the right place, please <a href="{{url}}">send it to us</a>.', :url => help_contact_path.html_safe) %> + an email which will go to the right place, please <a href="{{url}}">send it to us</a>.', :url => help_contact_path.html_safe, :public_body_name => @info_request.public_body.name) %> </p> <% elsif @reason == 'bad_contact' %> <p><%= _('We do not have a working {{law_used_full}} address for {{public_body_name}}.', :law_used_full => @info_request.law_used_full, :public_body_name => @info_request.public_body.name) %> <%= _('You may be able to find |