mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +02:00
Rename the key for the "Locked" badge tooltip
- Shortens the key name for consistency with `badge:` namespace. - Revised YAML to follow.
This commit is contained in:
@@ -7,7 +7,7 @@ export default function addLockBadge() {
|
|||||||
if (this.isLocked()) {
|
if (this.isLocked()) {
|
||||||
badges.add('locked', Badge.component({
|
badges.add('locked', Badge.component({
|
||||||
type: 'locked',
|
type: 'locked',
|
||||||
label: app.translator.trans('flarum-lock.forum.badge.locked_discussion_tooltip'),
|
label: app.translator.trans('flarum-lock.forum.badge.locked_tooltip'),
|
||||||
icon: 'lock'
|
icon: 'lock'
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user