translated login page

This commit is contained in:
Grzegorz Leoniec 2018-12-18 11:28:51 +01:00
parent e16a9ab5dc
commit 8252346d67
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377
3 changed files with 43 additions and 11 deletions

View File

@ -1,4 +1,11 @@
{
"login": {
"copy": "Wenn Du ein Konto bei Human Connection hast, melde Dich bitte hier an.",
"login": "Einloggen",
"email": "Deine E-Mail",
"password": "Dein Password",
"moreInfo": "Was ist Human Connection?"
},
"settings": {
"name": "Einstellungen",
"data": {
@ -71,5 +78,11 @@
"takeAction": {
"name": "Aktiv werde"
}
},
"quotes": {
"african": {
"quote": "Viele kleine Leute, an vielen kleinen Orten, die viele kleine Dinge tun, werden das Antlitz dieser Welt verändern.",
"author": "Afrikanisches Sprichwort"
}
}
}

View File

@ -1,4 +1,11 @@
{
"login": {
"copy": "If you already have an human-connection account, login here.",
"login": "Login",
"email": "Your Email",
"password": "Your Password",
"moreInfo": "What is Human Connection?"
},
"settings": {
"name": "Settings",
"data": {
@ -71,5 +78,11 @@
"takeAction": {
"name": "Take action"
}
},
"quotes": {
"african": {
"quote": "Many small people in many small places do many small things, that can alter the face of the world.",
"author": "African proverb"
}
}
}

View File

@ -2,19 +2,17 @@
<ds-container width="small">
<ds-space margin="small">
<blockquote>
<p>
Viele kleine Leute, an vielen kleinen Orten, die viele kleine Dinge tun, werden das Antlitz dieser Welt verändern.
</p>
<b>- Afrikanisches Sprichwort</b>
<p>{{ $t('quotes.african.quote') }}</p>
<b>- {{ $t('quotes.african.author') }}</b>
</blockquote>
</ds-space>
<ds-card>
<ds-card class="login-card">
<ds-flex gutter="small">
<ds-flex-item
:width="{ base: '100%', sm: '50%' }"
center
>
<locale-switch />
<locale-switch class="login-locale-switch" />
<ds-space
margin-top="small"
margin-bottom="xxx-small"
@ -33,7 +31,7 @@
>
<ds-space margin="small">
<ds-text size="small">
Wenn Du ein Konto bei Human Connection hast, melde Dich bitte hier an.
{{ $t('login.copy') }}
</ds-text>
</ds-space>
<form
@ -43,7 +41,7 @@
<ds-input
v-model="form.email"
:disabled="pending"
placeholder="Deine E-Mail"
:placeholder="$t('login.email')"
type="email"
name="email"
icon="envelope"
@ -51,7 +49,7 @@
<ds-input
v-model="form.password"
:disabled="pending"
placeholder="Dein Password"
:placeholder="$t('login.password')"
icon="lock"
icon-right="question-circle"
name="password"
@ -64,7 +62,7 @@
name="submit"
type="submit"
>
Anmelden
{{ $t('login.login') }}
</ds-button>
<ds-space margin="x-small">
<a
@ -72,7 +70,7 @@
title="zur Präsentationsseite"
target="_blank"
>
Was ist Human Connection?
{{ $t('login.moreInfo') }}
</a>
</ds-space>
</form>
@ -129,4 +127,12 @@ export default {
width: 90%;
max-width: 200px;
}
.login-card {
position: relative;
}
.login-locale-switch {
position: absolute;
top: 1em;
left: 1em;
}
</style>