1
0
mirror of https://github.com/flarum/core.git synced 2025-10-10 22:44:25 +02:00

Add "forum" namespacing to previously renamed core keys

- Does not affect "core.deleted_user" global string.
- Corresponding YAML will be sent later w/ more extracted strings.
This commit is contained in:
dcsjapan
2015-10-02 15:54:39 +09:00
parent 4e5b3099f8
commit 0a66229169
38 changed files with 121 additions and 121 deletions

View File

@@ -25,9 +25,9 @@ export default class ReplyComposer extends ComposerBody {
static initProps(props) {
super.initProps(props);
props.placeholder = props.placeholder || extractText(app.trans('core.composer_reply_body_placeholder'));
props.submitLabel = props.submitLabel || app.trans('core.composer_reply_submit_button');
props.confirmExit = props.confirmExit || extractText(app.trans('core.composer_reply_discard_confirmation'));
props.placeholder = props.placeholder || extractText(app.trans('core.forum.composer_reply_body_placeholder'));
props.submitLabel = props.submitLabel || app.trans('core.forum.composer_reply_submit_button');
props.confirmExit = props.confirmExit || extractText(app.trans('core.forum.composer_reply_discard_confirmation'));
}
headerItems() {
@@ -76,7 +76,7 @@ export default class ReplyComposer extends ComposerBody {
let alert;
const viewButton = Button.component({
className: 'Button Button--link',
children: app.trans('core.composer_reply_view_button'),
children: app.trans('core.forum.composer_reply_view_button'),
onclick: () => {
m.route(app.route.post(post));
app.alerts.dismiss(alert);
@@ -85,7 +85,7 @@ export default class ReplyComposer extends ComposerBody {
app.alerts.show(
alert = new Alert({
type: 'success',
message: app.trans('core.composer_reply_posted_message'),
message: app.trans('core.forum.composer_reply_posted_message'),
controls: [viewButton]
})
);