Add new translations for profile tabs

This commit is contained in:
Andreas Nedbal 2022-07-31 16:02:59 +02:00
parent f22c69cfe8
commit 0575bb8ee3
2 changed files with 9 additions and 4 deletions

View file

@ -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

View file

@ -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"