From d02bb2d355843743f5915af983b1181ba6b540c2 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Mon, 27 May 2019 18:53:28 +0200 Subject: [PATCH] [New] Added showing version (cherry picked from commit 62488929798337279fa8ca10664b1b7f2831ad74) --- locales.json | 16 ++++++++++- strolch-wc-auth.html | 65 ++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 78 insertions(+), 3 deletions(-) diff --git a/locales.json b/locales.json index e580e9c..6a9c779 100644 --- a/locales.json +++ b/locales.json @@ -19,9 +19,23 @@ "authenticationFailed": "Authentication failed", "resetFailed": "Reset failed", "passwordsDontMatch": "Passwords don't match", - "cancel": "Cancel" + "cancel": "Cancel", + "missingInput": "Missing input", + "usernameEmpty": "Username can not be empty", + "passwordEmpty": "Password can not be empty", + "production": "Production", + "testing": "Testing", + "staging": "Staging", + "development": "Development" }, "de": { + "production": "Produktion", + "testing": "Testing", + "staging": "Staging", + "development": "Entwicklung", + "missingInput": "Fehlende Eingabe", + "usernameEmpty": "Benutzername kann nicht leer sein", + "passwordEmpty": "Passwort kann nicht leer sein", "cancel": "Abbrechen", "pleaseLogin": "Melden Sie sich bei {appTitle} an", "username": "Nutzername", diff --git a/strolch-wc-auth.html b/strolch-wc-auth.html index 86da885..b74320b 100644 --- a/strolch-wc-auth.html +++ b/strolch-wc-auth.html @@ -71,6 +71,13 @@ type="password" on-focus="onFocus" auto-validate> + + +
{{localize('reset')}} @@ -176,7 +183,13 @@ method="POST" on-response="_ajaxResponse" on-error="_handleAjaxError"> - +