mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 21:11:55 +08:00
Merge pull request #3 from dcsjapan/key-reorganization
Reorganize key names
This commit is contained in:
commit
1ffb7a2176
|
@ -6,23 +6,23 @@ export default class PusherSettingsModal extends SettingsModal {
|
|||
}
|
||||
|
||||
title() {
|
||||
return 'Pusher Settings';
|
||||
return app.translator.trans('flarum-pusher.admin.pusher_settings.title');
|
||||
}
|
||||
|
||||
form() {
|
||||
return [
|
||||
<div className="Form-group">
|
||||
<label>App ID</label>
|
||||
<label>{app.translator.trans('flarum-pusher.admin.pusher_settings.app_id_label')}</label>
|
||||
<input className="FormControl" bidi={this.setting('flarum-pusher.app_id')}/>
|
||||
</div>,
|
||||
|
||||
<div className="Form-group">
|
||||
<label>App Key</label>
|
||||
<label>{app.translator.trans('flarum-pusher.admin.pusher_settings.app_key_label')}</label>
|
||||
<input className="FormControl" bidi={this.setting('flarum-pusher.app_key')}/>
|
||||
</div>,
|
||||
|
||||
<div className="Form-group">
|
||||
<label>App Secret</label>
|
||||
<label>{app.translator.trans('flarum-pusher.admin.pusher_settings.app_secret_label')}</label>
|
||||
<input className="FormControl" bidi={this.setting('flarum-pusher.app_secret')}/>
|
||||
</div>
|
||||
];
|
||||
|
|
|
@ -79,7 +79,7 @@ app.initializers.add('flarum-pusher', () => {
|
|||
this.loadingUpdated = true;
|
||||
},
|
||||
loading: this.loadingUpdated,
|
||||
children: app.translator.transChoice('flarum-pusher.forum.show_updated_discussions', count, {count})
|
||||
children: app.translator.transChoice('flarum-pusher.forum.discussion_list.show_updates_text', count, {count})
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user