diff --git a/app/views/request_game/play.html.erb b/app/views/request_game/play.html.erb index e120b65481..98edff6d37 100644 --- a/app/views/request_game/play.html.erb +++ b/app/views/request_game/play.html.erb @@ -2,15 +2,12 @@
- <%= image_tag "https://chart.googleapis.com/chart?chs=250x125&cht=gom&chd=t:#{@percentage}",
- :size => "250x125",
- :alt => "A chart showing #{@percentage}% of requests have been categorised",
- :title => "#{@percentage}% of requests have been categorised" %>
-
<%= n_("{{number_of_requests}} request left to categorise / {{total_number_of_requests}} total",
- "{{number_of_requests}} requests left to categorise / {{total_number_of_requests}} total",
- @missing,
- :number_of_requests => number_with_delimiter(@missing),
- :total_number_of_requests => number_with_delimiter(@total)) %>
+
+ <%= n_('{{number_of_requests}} request left to categorise / {{total_number_of_requests}} total',
+ '{{number_of_requests}} requests left to categorise / {{total_number_of_requests}} total',
+ @missing,
+ number_of_requests: number_with_delimiter(@missing),
+ total_number_of_requests: number_with_delimiter(@total)) %>