mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +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',
|
key: 'title',
|
||||||
value: function 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',
|
key: 'content',
|
||||||
|
@ -26871,7 +26871,7 @@ System.register('flarum/components/RenameDiscussionModal', ['flarum/components/M
|
||||||
className: 'Button Button--primary',
|
className: 'Button Button--primary',
|
||||||
type: 'submit',
|
type: 'submit',
|
||||||
loading: this.loading,
|
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() {
|
title() {
|
||||||
return app.translator.trans('core.forum.discussion_controls.rename_discussion.title');
|
return app.translator.trans('core.forum.rename_discussion.title');
|
||||||
}
|
}
|
||||||
|
|
||||||
content() {
|
content() {
|
||||||
|
@ -33,7 +33,7 @@ export default class RenameDiscussionModal extends Modal {
|
||||||
className: 'Button Button--primary',
|
className: 'Button Button--primary',
|
||||||
type: 'submit',
|
type: 'submit',
|
||||||
loading: this.loading,
|
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>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user