aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-21 12:53:36 +1100
committerLouise Crow <louise.crow@gmail.com>2013-04-09 19:23:14 +0100
commit14bc45c803422a0ba0702e7806f7bc2ffefb3ae7 (patch)
tree038e614b9dba423bb62475f5f304e895190d1ffe /app
parente39ca6eec6c06b9bf81b1ba622672284c4eb9d16 (diff)
In translation strings replace %d with {{}} formatting
Diffstat (limited to 'app')
-rw-r--r--app/views/user/show.rhtml2
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 %>