1
0
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:
Toby Zerner
2015-07-17 17:43:28 +09:30
parent 7e75eb16ff
commit f93ff7cb3f
49 changed files with 438 additions and 148 deletions

View File

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