Skip to content

Commit

Permalink
change function t to translation (#7655) (#7659)
Browse files Browse the repository at this point in the history
Simply changed the functions t to "translation" on line 3,7,41 & 42.
  • Loading branch information
Shulammite-Aso authored Mar 18, 2020
1 parent a4a8491 commit c6dcb7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/stats/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="col-lg-10" style="margin: 20px auto; ">

<h2><%= raw t('notes.stats.contributors_statistics') %></h2>
<h2><%= raw translation('notes.stats.contributors_statistics') %></h2>
<hr>

<h6> See also <%= link_to "subscription statistics", stats_subscriptions_path %> </h6>
<h5><b><%= raw t('notes.stats.research_notes_posted_by_contributors', :note_count => @all_notes, :contributors_count => @all_contributors,
<h5><b><%= 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)) %></b></h5>
<br>

Expand Down Expand Up @@ -38,8 +38,8 @@
<h4 align="center">Notes, Wikis and Comments Statistics between <%= @start.to_date%> to <%= @end.to_date%></h4>
<br>
<div id="timeline"></div>
<p><b><%= raw t('notes.stats.edits_per_week', :count => @edits_per_week_period) %></b></p>
<p><b><%= raw t('notes.stats.notes_per_week', :note_count => @notes_per_week_period) %></b></p>
<p><b><%= raw translation('notes.stats.edits_per_week', :count => @edits_per_week_period) %></b></p>
<p><b><%= raw translation('notes.stats.notes_per_week', :note_count => @notes_per_week_period) %></b></p>
<br>
<i> Member registration may include spam accounts </i>

Expand Down

0 comments on commit c6dcb7c

Please sign in to comment.