feat(per-forum-stats): add community guides to graph
Fixed: twpowertools:170
Change-Id: Id0bba431f50763fef4ea2cd6dd3052fcb5be2a4f
diff --git a/src/contentScripts/communityConsole/utils/PerForumStatsSection.js b/src/contentScripts/communityConsole/utils/PerForumStatsSection.js
index c0154e8..e263965 100644
--- a/src/contentScripts/communityConsole/utils/PerForumStatsSection.js
+++ b/src/contentScripts/communityConsole/utils/PerForumStatsSection.js
@@ -11,6 +11,7 @@
[6, 'replies', '#DADCE0'],
[5, 'questions', '#77909D'],
[7, 'communityvideos', '#F4511E'],
+ [8, 'communityguides', '#9334E6'],
];
const kRoles = {
1: 'bronze',
diff --git a/src/static/_locales/en/messages.json b/src/static/_locales/en/messages.json
index 2b2bf21..ee327ca 100644
--- a/src/static/_locales/en/messages.json
+++ b/src/static/_locales/en/messages.json
@@ -425,6 +425,10 @@
"message": "Community videos",
"description": "Label shown in the legend of the per-forum activity chart."
},
+ "inject_perforumstats_chart_communityguides": {
+ "message": "Community guides",
+ "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."