mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 13:36:10 +08:00
Fix nesting of rename_discussion translations
Refs flarum/flarum-ext-english#98.
This commit is contained in:
parent
adb01adc4c
commit
47ca69d131
4
framework/core/js/forum/dist/app.js
vendored
4
framework/core/js/forum/dist/app.js
vendored
|
@ -26848,7 +26848,7 @@ System.register('flarum/components/RenameDiscussionModal', ['flarum/components/M
|
|||
}, {
|
||||
key: 'title',
|
||||
value: function title() {
|
||||
return app.translator.trans('core.forum.discussion_controls.rename_discussion.title');
|
||||
return app.translator.trans('core.forum.rename_discussion.title');
|
||||
}
|
||||
}, {
|
||||
key: 'content',
|
||||
|
@ -26871,7 +26871,7 @@ System.register('flarum/components/RenameDiscussionModal', ['flarum/components/M
|
|||
className: 'Button Button--primary',
|
||||
type: 'submit',
|
||||
loading: this.loading,
|
||||
children: app.translator.trans('core.forum.discussion_controls.rename_discussion.submit_button')
|
||||
children: app.translator.trans('core.forum.rename_discussion.submit_button')
|
||||
})
|
||||
)
|
||||
)
|
||||
|
|
|
@ -18,7 +18,7 @@ export default class RenameDiscussionModal extends Modal {
|
|||
}
|
||||
|
||||
title() {
|
||||
return app.translator.trans('core.forum.discussion_controls.rename_discussion.title');
|
||||
return app.translator.trans('core.forum.rename_discussion.title');
|
||||
}
|
||||
|
||||
content() {
|
||||
|
@ -33,7 +33,7 @@ export default class RenameDiscussionModal extends Modal {
|
|||
className: 'Button Button--primary',
|
||||
type: 'submit',
|
||||
loading: this.loading,
|
||||
children: app.translator.trans('core.forum.discussion_controls.rename_discussion.submit_button')
|
||||
children: app.translator.trans('core.forum.rename_discussion.submit_button')
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user