diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-21 12:53:36 +1100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-04-09 19:23:14 +0100 |
commit | 14bc45c803422a0ba0702e7806f7bc2ffefb3ae7 (patch) | |
tree | 038e614b9dba423bb62475f5f304e895190d1ffe /app | |
parent | e39ca6eec6c06b9bf81b1ba622672284c4eb9d16 (diff) |
In translation strings replace %d with {{}} formatting
Diffstat (limited to 'app')
-rw-r--r-- | app/views/user/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml index 33e3d8f56..0bb12ac4a 100644 --- a/app/views/user/show.rhtml +++ b/app/views/user/show.rhtml @@ -128,7 +128,7 @@ <% end %> <% else %> <h2 class="foi_results" id="foi_requests"> - <%= @is_you ? n_('Your %d Freedom of Information request', 'Your %d Freedom of Information requests', @xapian_requests.matches_estimated) % @xapian_requests.matches_estimated.to_s : n_("This person's {{count}} Freedom of Information request", "This person's {{count}} Freedom of Information requests", @xapian_requests.matches_estimated, :count => @xapian_requests.matches_estimated) %> + <%= @is_you ? n_('Your {{count}} Freedom of Information request', 'Your {{count}} Freedom of Information requests', @xapian_requests.matches_estimated, :count => @xapian_requests.matches_estimated) : n_("This person's {{count}} Freedom of Information request", "This person's {{count}} Freedom of Information requests", @xapian_requests.matches_estimated, :count => @xapian_requests.matches_estimated) %> <!-- matches_estimated <%=@xapian_requests.matches_estimated%> --> <%= @match_phrase %> <%= @page_desc %> |