diff --git a/app/views/stats/index.html.erb b/app/views/stats/index.html.erb index 81b8a692fd..78ae0c16f3 100644 --- a/app/views/stats/index.html.erb +++ b/app/views/stats/index.html.erb @@ -1,10 +1,10 @@
-

<%= raw t('notes.stats.contributors_statistics') %>

+

<%= raw translation('notes.stats.contributors_statistics') %>


See also <%= link_to "subscription statistics", stats_subscriptions_path %>
-
<%= raw t('notes.stats.research_notes_posted_by_contributors', :note_count => @all_notes, :contributors_count => @all_contributors, +
<%= raw translation('notes.stats.research_notes_posted_by_contributors', :note_count => @all_notes, :contributors_count => @all_contributors, :time => time_ago_in_words(Node.find_by(type: 'note', status: 1).created_at)) %>

@@ -38,8 +38,8 @@

Notes, Wikis and Comments Statistics between <%= @start.to_date%> to <%= @end.to_date%>


-

<%= raw t('notes.stats.edits_per_week', :count => @edits_per_week_period) %>

-

<%= raw t('notes.stats.notes_per_week', :note_count => @notes_per_week_period) %>

+

<%= raw translation('notes.stats.edits_per_week', :count => @edits_per_week_period) %>

+

<%= raw translation('notes.stats.notes_per_week', :note_count => @notes_per_week_period) %>


Member registration may include spam accounts