AuthForm: add missing i18n for "Username" and "Password"

Bug: #336
This commit is contained in:
Jesse Chan
2021-06-25 19:54:07 +08:00
parent a2ec8b02e0
commit 6a565f9e7d
@@ -116,11 +116,11 @@ const AuthForm: FC<AuthFormProps> = ({mode}: AuthFormProps) => {
</FormRow>
) : null}
<FormRow>
<Textbox placeholder="Username" id="username" autoComplete="username" />
<Textbox placeholder={i18n._('auth.username')} id="username" autoComplete="username" />
</FormRow>
<FormRow>
<Textbox
placeholder="Password"
placeholder={i18n._('auth.password')}
id="password"
type="password"
autoComplete={isLoginMode ? 'current-password' : 'new-password'}