Add new translations for moderation tabs

This commit is contained in:
Andreas Nedbal 2022-07-30 02:55:56 +02:00
parent 8a5c7b2b3e
commit 0ca8c20845
2 changed files with 12 additions and 6 deletions

View File

@ -1,9 +1,9 @@
.card.d-none.d-sm-block
.card
.list-group
= list_group_item t('views.moderation.tabs.all'), moderation_path
= list_group_item t('views.general.answer').pluralize(2), moderation_path('answer')
= list_group_item t('views.general.comment').pluralize(2), moderation_path('comment')
= list_group_item t('views.general.user').pluralize(2), moderation_path('user')
= list_group_item t('views.general.question').pluralize(2), moderation_path('question')
= list_group_item t('.all'), moderation_path
= list_group_item t('.answers'), moderation_path('answer')
= list_group_item t('.comments'), moderation_path('comment')
= list_group_item t('.users'), moderation_path('user')
= list_group_item t('.questions'), moderation_path('question')
.d-none.d-sm-block= render 'shared/links'

View File

@ -439,6 +439,12 @@ en:
terms: "Terms of Service"
privacy: "Privacy Policy"
tabs:
moderation:
all: "All reports"
answers: :activerecord.models.answer.other
comments: :activerecord.models.comment.other
users: :activerecord.models.user.other
questions: :activerecord.models.question.other
notifications:
all: "All notifications"
new: "New notifications"