diff --git a/app/views/tabs/_moderation.haml b/app/views/tabs/_moderation.haml index a0ae3666..4b7c8f43 100644 --- a/app/views/tabs/_moderation.haml +++ b/app/views/tabs/_moderation.haml @@ -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' diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index 3b838fde..b0c8f5b6 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -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"