mirror of
https://github.com/flarum/framework.git
synced 2025-06-03 06:13:07 +08:00
Clean up translation keys (#964)
- Corrects the suffix on a key in the Change Email modal. - Extracts the title of the Edit User modal.
This commit is contained in:
@ -66,7 +66,7 @@ export default class ChangeEmailModal extends Modal {
|
|||||||
</div>
|
</div>
|
||||||
<div className="Form-group">
|
<div className="Form-group">
|
||||||
<input type="password" name="password" className="FormControl"
|
<input type="password" name="password" className="FormControl"
|
||||||
placeholder={app.translator.trans('core.forum.change_email.confirm_password_label')}
|
placeholder={app.translator.trans('core.forum.change_email.confirm_password_placeholder')}
|
||||||
bidi={this.password}
|
bidi={this.password}
|
||||||
disabled={this.loading}/>
|
disabled={this.loading}/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -29,7 +29,7 @@ export default class EditUserModal extends Modal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
title() {
|
title() {
|
||||||
return 'Edit User';
|
return app.translator.trans('core.forum.edit_user.title');
|
||||||
}
|
}
|
||||||
|
|
||||||
content() {
|
content() {
|
||||||
|
Reference in New Issue
Block a user