Add new translations for profile tabs
This commit is contained in:
parent
f22c69cfe8
commit
0575bb8ee3
|
@ -1,6 +1,6 @@
|
|||
.card
|
||||
.list-group.list-group-horizontal-sm.text-center
|
||||
= list_group_item 'Answers', user_path(user), badge: user.answered_count
|
||||
= list_group_item 'Questions', show_user_questions_path(user.screen_name), badge: user.asked_count
|
||||
= list_group_item 'Followers', show_user_followers_path(user.screen_name), badge: user.followers.count
|
||||
= list_group_item 'Following', show_user_followings_path(user.screen_name), badge: user.followings.count
|
||||
= list_group_item t(".answers"), user_path(user), badge: user.answered_count
|
||||
= list_group_item t(".questions"), show_user_questions_path(user.screen_name), badge: user.asked_count
|
||||
= list_group_item t(".followers"), show_user_followers_path(user.screen_name), badge: user.followers.count
|
||||
= list_group_item t(".following"), show_user_followings_path(user.screen_name), badge: user.followings.count
|
||||
|
|
|
@ -485,6 +485,11 @@ en:
|
|||
comment: "Comments"
|
||||
commentsmile: "Comment Smiles"
|
||||
relationship: "Followers"
|
||||
profile:
|
||||
answers: :activerecord.models.answer.other
|
||||
questions: :activerecord.models.question.other
|
||||
followers: "Followers"
|
||||
following: "Following"
|
||||
settings:
|
||||
account: "Account"
|
||||
profile: "Profile"
|
||||
|
|
Loading…
Reference in New Issue