Adjust ID key name

- Adjusts the key for the "Follow after reply" setting.
This commit is contained in:
dcsjapan 2016-06-04 18:22:39 +09:00
parent 2c10a42d6b
commit 45832485d1
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ System.register('flarum/subscriptions/addSubscriptionSettings', ['flarum/extend'
_export('default', function () {
extend(SettingsPage.prototype, 'notificationsItems', function (items) {
items.add('followAfterReply', Switch.component({
children: app.translator.trans('flarum-subscriptions.forum.settings.forum_follow_after_reply_label'),
children: app.translator.trans('flarum-subscriptions.forum.settings.follow_after_reply_label'),
state: this.user.preferences().followAfterReply,
onchange: this.preferenceSaver('followAfterReply')
}));

View File

@ -8,7 +8,7 @@ export default function() {
extend(SettingsPage.prototype, 'notificationsItems', function(items) {
items.add('followAfterReply',
Switch.component({
children: app.translator.trans('flarum-subscriptions.forum.settings.forum_follow_after_reply_label'),
children: app.translator.trans('flarum-subscriptions.forum.settings.follow_after_reply_label'),
state: this.user.preferences().followAfterReply,
onchange: this.preferenceSaver('followAfterReply')
})