Commit 8819b7eb6abad8f4a991e16cea4485c4664bbe28

Authored by Victor Costa
1 parent a16338fe

Translate point description in dashboard

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
views/gamification/dashboard.html.erb
@@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
24 <% @target.score_points.order('created_at desc').limit(5).each do |point| %> 24 <% @target.score_points.order('created_at desc').limit(5).each do |point| %>
25 <div class="score <%= point.score.category %> <%= score_point_class(point) %>"> 25 <div class="score <%= point.score.category %> <%= score_point_class(point) %>">
26 <span class="value"><%= point.num_points %></span> 26 <span class="value"><%= point.num_points %></span>
27 - <span class="category"><%= score_point_category(point) %></span> 27 + <span class="category"><%= _(score_point_category(point)) %></span>
28 <span class="date timeago" title="<%= point.created_at %>"><%= point.created_at %></span> 28 <span class="date timeago" title="<%= point.created_at %>"><%= point.created_at %></span>
29 </div> 29 </div>
30 <% end %> 30 <% end %>