From 1356fdaa0cb29e9428621b14d49e5b83770880a8 Mon Sep 17 00:00:00 2001 From: Matchu Date: Sun, 30 Dec 2012 01:59:40 -0500 Subject: [PATCH] i18n for users#top_contributors --- app/views/users/top_contributors.html.haml | 8 ++++---- config/locales/en-meep.yml | 7 +++++++ config/locales/en.yml | 7 +++++++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/app/views/users/top_contributors.html.haml b/app/views/users/top_contributors.html.haml index 8b04129a..def20f2e 100644 --- a/app/views/users/top_contributors.html.haml +++ b/app/views/users/top_contributors.html.haml @@ -1,11 +1,11 @@ -- title 'Top Contributors' +- title t('.header') = will_paginate @users %table#top-contributors %thead %tr - %th{:scope => 'column'} Rank - %th{:scope => 'column'} User - %th{:scope => 'column'} Points + %th{:scope => 'column'}= t('.rank') + %th{:scope => 'column'}= t('.user') + %th{:scope => 'column'}= t('.points') %tbody - @users.each_with_index do |user, rank| %tr diff --git a/config/locales/en-meep.yml b/config/locales/en-meep.yml index 53a0551f..9865b526 100644 --- a/config/locales/en-meep.yml +++ b/config/locales/en-meep.yml @@ -71,3 +71,10 @@ en-meep: swf_asset_suffix: "on a new body meep" pet_type_suffix: "for the first meep" pet_state_prefix: "a new meep for" + + users: + top_contributors: + header: Top Conmeeputors + rank: Reep + user: Meepit + points: Peeps diff --git a/config/locales/en.yml b/config/locales/en.yml index 299fafb0..0e22e668 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -72,3 +72,10 @@ en: swf_asset_suffix: "on a new body type" pet_type_suffix: "for the first time" pet_state_prefix: "a new pose for" + + users: + top_contributors: + header: Top Contributors + rank: Rank + user: User + points: Points