1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 07:24:27 +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

@@ -35,7 +35,7 @@ export default class ForgotPasswordModal extends Modal {
}
title() {
return app.trans('core.forgot_password_title');
return app.trans('core.forum.forgot_password_title');
}
content() {
@@ -43,10 +43,10 @@ export default class ForgotPasswordModal extends Modal {
return (
<div className="Modal-body">
<div className="Form Form--centered">
<p className="helpText">{app.trans('core.forgot_password_email_sent_message')}</p>
<p className="helpText">{app.trans('core.forum.forgot_password_email_sent_message')}</p>
<div className="Form-group">
<Button className="Button Button--primary Button--block" onclick={this.hide.bind(this)}>
{app.trans('core.forgot_password_dismiss_button')}
{app.trans('core.forum.forgot_password_dismiss_button')}
</Button>
</div>
</div>
@@ -57,9 +57,9 @@ export default class ForgotPasswordModal extends Modal {
return (
<div className="Modal-body">
<div className="Form Form--centered">
<p className="helpText">{app.trans('core.forgot_password_text')}</p>
<p className="helpText">{app.trans('core.forum.forgot_password_text')}</p>
<div className="Form-group">
<input className="FormControl" name="email" type="email" placeholder={extractText(app.trans('core.forgot_password_email_placeholder'))}
<input className="FormControl" name="email" type="email" placeholder={extractText(app.trans('core.forum.forgot_password_email_placeholder'))}
value={this.email()}
onchange={m.withAttr('value', this.email)}
disabled={this.loading} />
@@ -69,7 +69,7 @@ export default class ForgotPasswordModal extends Modal {
className: 'Button Button--primary Button--block',
type: 'submit',
loading: this.loading,
children: app.trans('core.forgot_password_submit_button')
children: app.trans('core.forum.forgot_password_submit_button')
})}
</div>
</div>