forked from srxl/akkoma-fe
fix: enable translating login form placeholder
This commit is contained in:
parent
648f31f44c
commit
da1112297a
2 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
<form v-on:submit.prevent='submit(user)' class='login-form'>
|
||||
<div class='form-group'>
|
||||
<label for='username'>{{$t('login.username')}}</label>
|
||||
<input :disabled="loggingIn" v-model='user.username' class='form-control' id='username' placeholder='e.g. lain'>
|
||||
<input :disabled="loggingIn" v-model='user.username' class='form-control' id='username' v-bind:placeholder="$t('login.placeholder')">
|
||||
</div>
|
||||
<div class='form-group'>
|
||||
<label for='password'>{{$t('login.password')}}</label>
|
||||
|
|
|
@ -314,6 +314,7 @@ const en = {
|
|||
login: {
|
||||
login: 'Log in',
|
||||
username: 'Username',
|
||||
placeholder: 'e.g. lain',
|
||||
password: 'Password',
|
||||
register: 'Register',
|
||||
logout: 'Log out'
|
||||
|
|
Loading…
Reference in a new issue