1
0
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:
dcsjapan
2015-10-22 09:35:34 +09:00
parent 26f4efb627
commit 1ec39e9b00

View File

@@ -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'
})); }));
} }