From 191bbe76a83123b5d63ec07af00723721552ddd7 Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Wed, 8 Nov 2017 12:34:15 +0200
Subject: Add a bunch of missed localization strings, update english and
 finnish to match.

---
 src/components/login_form/login_form.vue | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'src/components/login_form/login_form.vue')

diff --git a/src/components/login_form/login_form.vue b/src/components/login_form/login_form.vue
index d6291148..c05488ec 100644
--- a/src/components/login_form/login_form.vue
+++ b/src/components/login_form/login_form.vue
@@ -2,22 +2,22 @@
   <div class="login panel panel-default base00-background">
     <!-- Default panel contents -->
     <div class="panel-heading base01-background base04">
-      Log in
+      {{$t('login.login')}}
     </div>
     <div class="panel-body">
       <form v-on:submit.prevent='submit(user)' class='login-form'>
         <div class='form-group'>
-          <label for='username'>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'>
         </div>
         <div class='form-group'>
-          <label for='password'>Password</label>
+          <label for='password'>{{$t('login.password')}}</label>
           <input :disabled="loggingIn" v-model='user.password' class='form-control' id='password' type='password'>
         </div>
         <div class='form-group'>
           <div class='login-bottom'>
-            <div><router-link :to="{name: 'registration'}" v-if='registrationOpen' class='register'>Register</router-link></div>
-            <button :disabled="loggingIn" type='submit' class='btn btn-default base05 base01-background'>Log in</button>
+            <div><router-link :to="{name: 'registration'}" v-if='registrationOpen' class='register'>{{$t('login.register')}}</router-link></div>
+            <button :disabled="loggingIn" type='submit' class='btn btn-default base05 base01-background'>{{$t('login.login')}}</button>
           </div>
         </div>
         <div v-if="authError" class='form-group'>
-- 
cgit v1.2.3-70-g09d2

