Add namespacing for badges

- Adds a `lib.badge` namespace to match extension handling.
This commit is contained in:
dcsjapan 2015-10-21 16:30:53 +09:00
parent fc7db914db
commit 2903a7068c

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;