diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-18 13:45:20 +1100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-04-09 19:14:48 +0100 |
commit | 0b9378f8f4f621d403d7aa7b8060a9eddecb2e33 (patch) | |
tree | b4e180512c8396b71b107d588bc9ffe5114af35b /app | |
parent | 0196035acd1d7d113a7130263fda23f096306c84 (diff) |
In translation strings replace %s and %d with {{}} formatting
Diffstat (limited to 'app')
-rw-r--r-- | app/views/public_body/show.rhtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml index 4833657f6..563beb383 100644 --- a/app/views/public_body/show.rhtml +++ b/app/views/public_body/show.rhtml @@ -93,7 +93,11 @@ <% if @public_body.info_requests.size > 4 %> <%= n_('Search within the %d Freedom of Information requests to %s', 'Search within the %d Freedom of Information requests made to %s', @public_body.info_requests.size) % [@public_body.info_requests.size, @public_body.name] %> <% else %> - <%= n_('%d Freedom of Information request to %s', '%d Freedom of Information requests to %s', @public_body.info_requests.size) % [@public_body.info_requests.size, @public_body.name] %> + <%= n_('{{count}} Freedom of Information request to {{public_body_name}}', + '{{count}} Freedom of Information requests to {{public_body_name}}', + @public_body.info_requests.size, + :count => @public_body.info_requests.size, + :public_body_name => @public_body.name) %> <% end %> <% end %> <%= @page_desc %> |