From 3ae105114818aa42bd563dc3629a95d6e1a3abf2 Mon Sep 17 00:00:00 2001 From: Clint Brown Date: Tue, 17 Apr 2018 15:44:33 +1000 Subject: [PATCH] Add system withheld status to InactiveCommentLabel --- .../src/tabs/stream/components/InactiveCommentLabel.js | 4 ++++ locales/en.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/client/coral-embed-stream/src/tabs/stream/components/InactiveCommentLabel.js b/client/coral-embed-stream/src/tabs/stream/components/InactiveCommentLabel.js index 3f0360099..48ea7767c 100644 --- a/client/coral-embed-stream/src/tabs/stream/components/InactiveCommentLabel.js +++ b/client/coral-embed-stream/src/tabs/stream/components/InactiveCommentLabel.js @@ -18,6 +18,10 @@ const InactiveCommentLabel = ({ status, className, ...rest }) => { label = t('modqueue.rejected'); icon = 'close'; break; + case 'SYSTEM_WITHHELD': + label = t('modqueue.system_withheld'); + icon = 'flag'; + break; default: throw new Error(`Unknown inactive status ${status}`); } diff --git a/locales/en.yml b/locales/en.yml index 6b2330f27..0fbd7bf01 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -344,6 +344,7 @@ en: sort: "Sort" show_shortcuts: "Show Shortcuts" singleview: "Zen mode" + system_withheld: "System Withheld" thismenu: "Open this menu" jump_to_queue: "Jump to specific queue" thousand: k