mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-05 12:30:15 +01:00
Swap min/max variables in i18n translation
The :min was pointing at the max value, and the inverse. I had to tweak a few of the language files as well, to make sure that minimum and maximum are pointing to the correct values. I didn't touch the hebrew language file, so someone with the correct language skills may want to take a look at it to make sure that the text matches the interpolation variables that get sent in.
This commit is contained in:
parent
1d932ccfe5
commit
cb9073f4bd
6 changed files with 7 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<p><%= t('stats.actions_avg_completion_time', :count => (@actions_avg_ttc*10).round/10.0) %>
|
||||
<%= t('stats.actions_min_max_completion_days', :min=> (@actions_max_ttc*10).round/10.0, :max => (@actions_min_ttc*10).round/10.0) %>
|
||||
<%= t('stats.actions_min_max_completion_days', :max => (@actions_max_ttc*10).round/10.0, :min => (@actions_min_ttc*10).round/10.0) %>
|
||||
<%= t('stats.actions_min_completion_time', :time => @actions_min_ttc_sec) %></p>
|
||||
|
||||
<p><%= t('stats.actions_actions_avg_created_30days', :count => (@sum_actions_created_last30days*10.0/30.0).round/10.0 )%>
|
||||
|
|
@ -31,4 +31,4 @@
|
|||
}.each do |action|
|
||||
%><%= render :partial => 'chart', :locals => {:width => @chart_width, :height => @chart_height, :data => url_for(:action => action)} -%><%
|
||||
end
|
||||
%>
|
||||
%>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue