Fix nesting of rename_discussion translations

Refs flarum/flarum-ext-english#98.
This commit is contained in:
Franz Liedke 2017-02-28 22:40:59 +01:00
parent adb01adc4c
commit 47ca69d131
2 changed files with 4 additions and 4 deletions

View File

@ -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')
})
)
)

View File

@ -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>