Don't try and commas to the trace size
It breaks pluralisation lookups in the locale and in any case adding a comma every three digits is locale specific. Fixes #2388
This commit is contained in:
parent
651342197a
commit
3b636ddb6f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
<td class="<%= cl %>"><%= link_to trace.name, :controller => "traces", :action => "show", :display_name => trace.user.display_name, :id => trace.id %>
|
||||
<span class="trace_summary" title="<%= trace.timestamp %>"> ...
|
||||
<% if trace.inserted %>
|
||||
(<%= t ".count_points", :count => trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/, '\1,') %>)
|
||||
(<%= t ".count_points", :count => trace.size %>)
|
||||
<% end %>
|
||||
... <%= time_ago_in_words(trace.timestamp, :scope => :'datetime.distance_in_words_ago') %></span>
|
||||
<%= link_to_if trace.inserted?, t(".map"), { :controller => "site", :action => "index", :mlat => trace.latitude, :mlon => trace.longitude, :anchor => "map=14/#{trace.latitude}/#{trace.longitude}" }, { :title => t(".view_map") } %> /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue