forked from AkkomaGang/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'>
|
<form v-on:submit.prevent='submit(user)' class='login-form'>
|
||||||
<div class='form-group'>
|
<div class='form-group'>
|
||||||
<label for='username'>{{$t('login.username')}}</label>
|
<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>
|
||||||
<div class='form-group'>
|
<div class='form-group'>
|
||||||
<label for='password'>{{$t('login.password')}}</label>
|
<label for='password'>{{$t('login.password')}}</label>
|
||||||
|
|
|
@ -314,6 +314,7 @@ const en = {
|
||||||
login: {
|
login: {
|
||||||
login: 'Log in',
|
login: 'Log in',
|
||||||
username: 'Username',
|
username: 'Username',
|
||||||
|
placeholder: 'e.g. lain',
|
||||||
password: 'Password',
|
password: 'Password',
|
||||||
register: 'Register',
|
register: 'Register',
|
||||||
logout: 'Log out'
|
logout: 'Log out'
|
||||||
|
|
Loading…
Reference in a new issue