Add system withheld status to InactiveCommentLabel

This commit is contained in:
Clint Brown
2018-04-18 07:55:11 +10:00
parent 786c91c4ff
commit 3ae1051148
2 changed files with 5 additions and 0 deletions
@@ -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}`);
}
+1
View File
@@ -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