mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +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()) {
|
||||
badges.add('locked', Badge.component({
|
||||
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'
|
||||
}));
|
||||
}
|
||||
|
Reference in New Issue
Block a user