instead of capitalizing the string in the template, just capitalize the locale
This commit is contained in:
parent
97f0594d13
commit
f011fddc9d
|
@ -6,7 +6,7 @@
|
||||||
%a{href: show_user_followers_path(@user.screen_name)}
|
%a{href: show_user_followers_path(@user.screen_name)}
|
||||||
.col-md-6.col-sm-6.col-xs-6
|
.col-md-6.col-sm-6.col-xs-6
|
||||||
%h4.entry-text#follower-count= @user.follower_count
|
%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)}
|
%a{href: show_user_friends_path(@user.screen_name)}
|
||||||
.col-md-6.col-sm-6.col-xs-6
|
.col-md-6.col-sm-6.col-xs-6
|
||||||
%h4.entry-text#friend-count= @user.friend_count
|
%h4.entry-text#friend-count= @user.friend_count
|
||||||
|
|
|
@ -69,12 +69,12 @@ en:
|
||||||
none: "You have not connected any services yet. Visit your %{settings} to connect one."
|
none: "You have not connected any services yet. Visit your %{settings} to connect one."
|
||||||
settings: "service settings"
|
settings: "service settings"
|
||||||
general:
|
general:
|
||||||
answer: "answer"
|
answer: "Answer"
|
||||||
question: "question"
|
question: "Question"
|
||||||
comment: "comment"
|
comment: "Comment"
|
||||||
smile: "smile"
|
smile: "Smile"
|
||||||
follower: "follower"
|
follower: "Follower"
|
||||||
following: "following"
|
following: "Following"
|
||||||
actions:
|
actions:
|
||||||
title: "Actions"
|
title: "Actions"
|
||||||
answer: "Answer"
|
answer: "Answer"
|
||||||
|
|
Loading…
Reference in New Issue