add i18n to last stats graph and update locales (google translate)

This commit is contained in:
Reinier Balt 2012-04-12 14:17:35 +02:00
parent a4d98a705a
commit 22feb7d7eb
7 changed files with 1218 additions and 1164 deletions

View file

@ -2,7 +2,7 @@
created_count_array = Array.new(30){ |i| @actions_created_last30days.count/30.0 }
done_count_array = Array.new(30){ |i| @actions_done_last30days.count/30.0 }
# TODO: make the strftime i18n proof
time_labels = Array.new(30){ |i| (Time.zone.now-i.days).strftime("%a %d-%m") }
time_labels = Array.new(30){ |i| l(Time.zone.now-i.days, :format => :stats) }
-%>
&title=<%= t('stats.actions_30days_title') %>,{font-size:16},&
&y_legend=<%= t('stats.legend.number_of_actions') %>,12,0x736AFF&