i18n for users#top_contributors

This commit is contained in:
Emi Matchu 2012-12-30 01:59:40 -05:00
parent fea0b42a17
commit 1356fdaa0c
3 changed files with 18 additions and 4 deletions

View file

@ -1,11 +1,11 @@
- title 'Top Contributors' - title t('.header')
= will_paginate @users = will_paginate @users
%table#top-contributors %table#top-contributors
%thead %thead
%tr %tr
%th{:scope => 'column'} Rank %th{:scope => 'column'}= t('.rank')
%th{:scope => 'column'} User %th{:scope => 'column'}= t('.user')
%th{:scope => 'column'} Points %th{:scope => 'column'}= t('.points')
%tbody %tbody
- @users.each_with_index do |user, rank| - @users.each_with_index do |user, rank|
%tr %tr

View file

@ -71,3 +71,10 @@ en-meep:
swf_asset_suffix: "on a new body meep" swf_asset_suffix: "on a new body meep"
pet_type_suffix: "for the first meep" pet_type_suffix: "for the first meep"
pet_state_prefix: "a new meep for" pet_state_prefix: "a new meep for"
users:
top_contributors:
header: Top Conmeeputors
rank: Reep
user: Meepit
points: Peeps

View file

@ -72,3 +72,10 @@ en:
swf_asset_suffix: "on a new body type" swf_asset_suffix: "on a new body type"
pet_type_suffix: "for the first time" pet_type_suffix: "for the first time"
pet_state_prefix: "a new pose for" pet_state_prefix: "a new pose for"
users:
top_contributors:
header: Top Contributors
rank: Rank
user: User
points: Points