mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 09:11:40 +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:
parent
909f52522b
commit
ac096926af
@ -66,7 +66,7 @@ export default class ChangeEmailModal extends Modal {
|
||||
</div>
|
||||
<div className="Form-group">
|
||||
<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}
|
||||
disabled={this.loading}/>
|
||||
</div>
|
||||
|
@ -29,7 +29,7 @@ export default class EditUserModal extends Modal {
|
||||
}
|
||||
|
||||
title() {
|
||||
return 'Edit User';
|
||||
return app.translator.trans('core.forum.edit_user.title');
|
||||
}
|
||||
|
||||
content() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user