mirror of
https://github.com/flarum/core.git
synced 2025-08-01 14:10:37 +02:00
Make front-end localizable
This commit is contained in:
@@ -21,6 +21,6 @@ export default class DiscussionRenamedNotification extends Notification {
|
||||
}
|
||||
|
||||
content() {
|
||||
return [username(this.props.notification.sender()), ' changed the title'];
|
||||
return app.trans('core.discussion_renamed_notification', {user: this.props.notification.sender()});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user