1
0
Fork 0
forked from srxl/akkoma-fe

fix: enable translating login form placeholder

This commit is contained in:
riking 2018-06-06 23:44:11 -07:00
parent 648f31f44c
commit da1112297a
2 changed files with 2 additions and 1 deletions

View file

@ -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>

View file

@ -314,6 +314,7 @@ const en = {
login: {
login: 'Log in',
username: 'Username',
placeholder: 'e.g. lain',
password: 'Password',
register: 'Register',
logout: 'Log out'