1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +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

@@ -38,7 +38,7 @@ export default class EditUserModal extends Modal {
<div className="Form">
<div className="Form-group">
<label>Username</label>
<input className="FormControl" placeholder={extractText(app.trans('core.edit_user_username_label'))}
<input className="FormControl" placeholder={extractText(app.trans('core.forum.edit_user_username_label'))}
value={this.username()}
onchange={m.withAttr('value', this.username)} />
</div>
@@ -46,7 +46,7 @@ export default class EditUserModal extends Modal {
<div className="Form-group">
<label>Email</label>
<div>
<input className="FormControl" placeholder={extractText(app.trans('core.edit_user_email_label'))}
<input className="FormControl" placeholder={extractText(app.trans('core.forum.edit_user_email_label'))}
value={this.email()}
onchange={m.withAttr('value', this.email)} />
</div>
@@ -65,7 +65,7 @@ export default class EditUserModal extends Modal {
Set new password
</label>
{this.setPassword() ? (
<input className="FormControl" type="password" name="password" placeholder={extractText(app.trans('core.edit_user_password_label'))}
<input className="FormControl" type="password" name="password" placeholder={extractText(app.trans('core.forum.edit_user_password_label'))}
value={this.password()}
onchange={m.withAttr('value', this.password)} />
) : ''}
@@ -94,7 +94,7 @@ export default class EditUserModal extends Modal {
className: 'Button Button--primary',
type: 'submit',
loading: this.loading,
children: app.trans('core.edit_user_submit_button')
children: app.trans('core.forum.edit_user_submit_button')
})}
</div>
</div>