diff options
Diffstat (limited to 'app/views/public_body')
-rw-r--r-- | app/views/public_body/_body_listing_single.rhtml | 6 | ||||
-rw-r--r-- | app/views/public_body/show.rhtml | 2 | ||||
-rw-r--r-- | app/views/public_body/view_email.rhtml | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/app/views/public_body/_body_listing_single.rhtml b/app/views/public_body/_body_listing_single.rhtml index 97cfd2e71..7637a1077 100644 --- a/app/views/public_body/_body_listing_single.rhtml +++ b/app/views/public_body/_body_listing_single.rhtml @@ -9,7 +9,7 @@ <span class="desc"> <% if !public_body.short_name.empty? || !public_body.notes_without_html.empty? %> <% if !public_body.short_name.empty? %> - Also called <%=highlight_words(public_body.short_name, @highlight_words) %>. + <%= _("Also called {{other_name}}.", :other_name => highlight_words(public_body.short_name, @highlight_words)) %> <% end %> <% if !public_body.notes_without_html.empty? %> <%= highlight_and_excerpt(public_body.notes_without_html, @highlight_words, 150) %> @@ -18,12 +18,12 @@ <% end %> </span> <span class="bottomline"> - <%= pluralize(public_body.info_requests.size, "request") %> made. + <%= n_('%d request made.', '%d requests made.', public_body.info_requests.size) % public_body.info_requests.size %> <% if !@include_request_link_in_authority_listing.nil? %> <%= link_to _("Make your own request"), public_body_url(public_body) %>. <% end %> <br> - Added on <%= simple_date(public_body.created_at) %>. + <%= _("Added on {{date}}", :date => simple_date(public_body.created_at)) %>. </span> </div> diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml index 69be52160..cfdf37935 100644 --- a/app/views/public_body/show.rhtml +++ b/app/views/public_body/show.rhtml @@ -78,7 +78,7 @@ <% if @public_body.eir_only? %> <%= pluralize(@public_body.info_requests.size, "Environmental Information Regulations request made using this site") %> <% else %> - <%= n_('%d Freedom of Information request', '%d Freedom of Information requests', @public_body.info_requests.size) % @public_body.info_requests.size %> made using this site + <%= n_('%d Freedom of Information request made using this site', '%d Freedom of Information requests made using this site', @public_body.info_requests.size) % @public_body.info_requests.size %> <% end %> <%= @page_desc %> </h2> diff --git a/app/views/public_body/view_email.rhtml b/app/views/public_body/view_email.rhtml index d6c8d85fe..50601069f 100644 --- a/app/views/public_body/view_email.rhtml +++ b/app/views/public_body/view_email.rhtml @@ -4,7 +4,7 @@ <p> <% if @public_body.is_requestable? %> -<%= _('WhatDoTheyKnow sends new requests to <strong>{{request_email}}</strong> for this authority.',:request_email=> h(@public_body.request_email))%> +<%= _('{{site_name}} sends new requests to <strong>{{request_email}}</strong> for this authority.', :site_name=>site_name, :request_email=> h(@public_body.request_email))%> <% else %> <% if @public_body.not_requestable_reason == 'not_apply' %> <p><%= _('Freedom of Information law no longer applies to this authority.Follow up messages to existing requests are sent to ')%><strong><%=h @public_body.request_email%></strong>. |