Commit c9e54700 authored by Jonne Haß's avatar Jonne Haß

string concatenation is still bad

parent 7298cf92
......@@ -6,14 +6,13 @@
.span-24.last
%h2
= "#{t('.current_server')}: #{Time.now.to_date}"
= t('.current_server', :date => Time.now.to_date)
= form_tag('/admins/weekly_user_stats', :method => 'get') do
= select_tag(:week, options_for_select(@created_users_by_week.keys))
= submit_tag t('admins.stats.go')
= t('.amount_of')
= @counter
= t('.amount_of', :count => @counter)
%br
- @created_users_by_week[(params[:week])].each do |m|
= link_to m, "/u/#{m}"
......
......@@ -104,8 +104,11 @@ en:
many: "%{count} users found"
other: "%{count} users found"
weekly_user_stats:
current_server: "Current server date is"
amount_of: "amount of new users this week:"
current_server: "Current server date is %{date}"
amount_of:
zero: "amount of new users this week: none"
one: "amount of new users this week: %{count}"
other: "amount of new users this week: %{count}"
stats:
week: "Week"
2weeks: "2 Week"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment