aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/widgets/show.html.erb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/widgets/show.html.erb b/app/views/widgets/show.html.erb
index 8722dd664..5b25514d7 100644
--- a/app/views/widgets/show.html.erb
+++ b/app/views/widgets/show.html.erb
@@ -47,9 +47,10 @@
<% end %>
</div>
</div>
- <div class="alaveteli-widget__count">
- <%= TrackThing.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) + 1 + WidgetVote.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) %>
- </div>
+
+ <% count = TrackThing.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) + 1 + WidgetVote.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) %>
+ <%= n_('<div class="alaveteli-widget__count">{{count}}</div> <div class="alaveteli-widget__people">person wants to know</div>', '<div class="alaveteli-widget__count">{{count}}</div> <div class="alaveteli-widget__people">people want to know</div>', count, :count => count) %>
+
</div>
<%
if @user