Per-forum stats: show community videos
Fixed: twpowertools:168
Change-Id: Ib060d7c97b32ce6b9ee063dc8c5a46c541bf706c
diff --git a/src/contentScripts/communityConsole/utils/PerForumStatsSection.js b/src/contentScripts/communityConsole/utils/PerForumStatsSection.js
index 7ca0f38..b0074f6 100644
--- a/src/contentScripts/communityConsole/utils/PerForumStatsSection.js
+++ b/src/contentScripts/communityConsole/utils/PerForumStatsSection.js
@@ -10,6 +10,7 @@
[4, 'recommended', '#34A853'],
[6, 'replies', '#DADCE0'],
[5, 'questions', '#77909D'],
+ [7, 'communityvideos', '#F4511E'],
];
const kRoles = {
1: 'bronze',
diff --git a/src/static/_locales/en/messages.json b/src/static/_locales/en/messages.json
index 139131a..2b2bf21 100644
--- a/src/static/_locales/en/messages.json
+++ b/src/static/_locales/en/messages.json
@@ -421,6 +421,10 @@
"message": "Questions",
"description": "Label shown in the legend of the per-forum activity chart."
},
+ "inject_perforumstats_chart_communityvideos": {
+ "message": "Community videos",
+ "description": "Label shown in the legend of the per-forum activity chart."
+ },
"inject_extrainfo_profile_abusecategory": {
"message": "Abuse category: $1",
"description": "Message shown in profiles when there is a policy violation."