instead of capitalizing the string in the template, just capitalize the locale

This commit is contained in:
pixeldesu 2015-06-07 15:34:22 +02:00
parent 97f0594d13
commit f011fddc9d
2 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
%a{href: show_user_followers_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#follower-count= @user.follower_count
%h6.entry-subtext= t('views.general.follower').capitalize.pluralize(@user.follower_count)
%h6.entry-subtext= t('views.general.follower').pluralize(@user.follower_count)
%a{href: show_user_friends_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#friend-count= @user.friend_count

View File

@ -69,12 +69,12 @@ en:
none: "You have not connected any services yet. Visit your %{settings} to connect one."
settings: "service settings"
general:
answer: "answer"
question: "question"
comment: "comment"
smile: "smile"
follower: "follower"
following: "following"
answer: "Answer"
question: "Question"
comment: "Comment"
smile: "Smile"
follower: "Follower"
following: "Following"
actions:
title: "Actions"
answer: "Answer"