diff options
author | Dessalines <tyhou13@gmx.com> | 2020-02-02 13:50:44 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-02-02 13:50:44 -0500 |
commit | ac943f8951fe7da86aaa9f41ee879ab670786c86 (patch) | |
tree | c8aabdada00514135c35d2aa9be6890a95bac743 /ui/src/components/password_change.tsx | |
parent | 23daba54b4dbc3220effaa5d55042db5398cde43 (diff) |
Finishing up interpolation rework.
Diffstat (limited to 'ui/src/components/password_change.tsx')
-rw-r--r-- | ui/src/components/password_change.tsx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ui/src/components/password_change.tsx b/ui/src/components/password_change.tsx index 7774b783..9445e8ed 100644 --- a/ui/src/components/password_change.tsx +++ b/ui/src/components/password_change.tsx @@ -10,7 +10,6 @@ import { import { WebSocketService, UserService } from '../services'; import { wsJsonToRes, capitalizeFirstLetter, toast } from '../utils'; import { i18n } from '../i18next'; -import { T } from 'inferno-i18next'; interface State { passwordChangeForm: PasswordChangeForm; @@ -58,9 +57,7 @@ export class PasswordChange extends Component<any, State> { <div class="container"> <div class="row"> <div class="col-12 col-lg-6 offset-lg-3 mb-4"> - <h5> - { i18n.t('password_change') } - </h5> + <h5>{i18n.t('password_change')}</h5> {this.passwordChangeForm()} </div> </div> @@ -73,7 +70,7 @@ export class PasswordChange extends Component<any, State> { <form onSubmit={linkEvent(this, this.handlePasswordChangeSubmit)}> <div class="form-group row"> <label class="col-sm-2 col-form-label"> - <T i18nKey="new_password">#</T> + {i18n.t('new_password')} </label> <div class="col-sm-10"> <input @@ -87,7 +84,7 @@ export class PasswordChange extends Component<any, State> { </div> <div class="form-group row"> <label class="col-sm-2 col-form-label"> - <T i18nKey="verify_password">#</T> + {i18n.t('verify_password')} </label> <div class="col-sm-10"> <input |