mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 15:13:42 +08:00
Merge pull request #601 from dcsjapan/badge-key-rename
Rename the key for the "Hidden" badge tooltip
This commit is contained in:
commit
2c87f36869
|
@ -86,7 +86,7 @@ Object.assign(Discussion.prototype, {
|
||||||
const items = new ItemList();
|
const items = new ItemList();
|
||||||
|
|
||||||
if (this.isHidden()) {
|
if (this.isHidden()) {
|
||||||
items.add('hidden', <Badge type="hidden" icon="trash" label={app.translator.trans('core.lib.badge.hidden_discussion_tooltip')}/>);
|
items.add('hidden', <Badge type="hidden" icon="trash" label={app.translator.trans('core.lib.badge.hidden_tooltip')}/>);
|
||||||
}
|
}
|
||||||
|
|
||||||
return items;
|
return items;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user