Merge pull request #598 from dcsjapan/badge-namespace

Add namespacing for badges
This commit is contained in:
Toby Zerner 2015-10-21 18:11:02 +10:30
commit 583a4f1d73

View File

@ -86,7 +86,7 @@ Object.assign(Discussion.prototype, {
const items = new ItemList();
if (this.isHidden()) {
items.add('hidden', <Badge type="hidden" icon="trash" label={app.translator.trans('core.lib.hidden_discussion_tooltip')}/>);
items.add('hidden', <Badge type="hidden" icon="trash" label={app.translator.trans('core.lib.badge.hidden_discussion_tooltip')}/>);
}
return items;