diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2012-10-03 13:30:17 +1000 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2012-10-03 13:30:17 +1000 |
commit | 59bb5085dc6d5a005efb1f0b0b0f320f7fa16809 (patch) | |
tree | cfcfdb7561d002f132cf7da310dc056c9b9494cc | |
parent | be96333dafd0fa0623ca4495237c8c6fa5457c14 (diff) |
When only a single authority is found use the singular
-rw-r--r-- | app/views/public_body/list.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/public_body/list.rhtml b/app/views/public_body/list.rhtml index a66a7f8fd..4d905bfd3 100644 --- a/app/views/public_body/list.rhtml +++ b/app/views/public_body/list.rhtml @@ -44,7 +44,7 @@ </div> <% end %> -<h2 class="publicbody_results"><%= _('Found {{count}} public authorities {{description}}', :count=>@public_bodies.total_entries, :description=>@description) %></h2> +<h2 class="publicbody_results"><%= n_('Found %d public authority %s', 'Found %d public authorities %s', @public_bodies.total_entries) % [@public_bodies.total_entries, @description] %></h2> <%= render :partial => 'body_listing', :locals => { :public_bodies => @public_bodies } %> <%= will_paginate(@public_bodies) %><br/> |