aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-18 14:10:05 +1100
committerLouise Crow <louise.crow@gmail.com>2013-04-09 19:14:57 +0100
commit54d9fcb1dd7218d23b3e162b22c87b7e2bce80e6 (patch)
tree9e1b03d31a780259ac6862da5b76b1a9777a5016 /app
parent26679b1b514e1a8f823cd86a81955a7867d537b6 (diff)
In translation strings replace %d with {{}} formatting
Diffstat (limited to 'app')
-rw-r--r--app/views/general/_frontpage_bodies_list.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/general/_frontpage_bodies_list.rhtml b/app/views/general/_frontpage_bodies_list.rhtml
index 503b38953..a32885f31 100644
--- a/app/views/general/_frontpage_bodies_list.rhtml
+++ b/app/views/general/_frontpage_bodies_list.rhtml
@@ -6,7 +6,7 @@
<ul>
<% for popular_body in @popular_bodies %>
<li><%=public_body_link(popular_body)%>
- <%= n_('%d request', '%d requests', popular_body.info_requests_count) % popular_body.info_requests_count %>
+ <%= n_('{{count}} request', '{{count}} requests', popular_body.info_requests_count, :count => popular_body.info_requests_count) %>
</li>
<% end%>
</ul>