From 1fd341187748456a8322beba1126b71a470d13ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Panzar?= Date: Fri, 2 Oct 2020 18:03:23 +0200 Subject: [PATCH] Migrate to latest Play version - addresses #92 Integrates the language switcher on the main and login pages --- conf/messages | 1 + conf/messages.de | 1 + .../translatr-admin/src/assets/i18n/de.json | 1 + .../translatr-admin/src/assets/i18n/en.json | 1 + .../pages/main-page/main-page.component.html | 1 - ui/apps/translatr/src/assets/i18n/de.json | 1 + ui/apps/translatr/src/assets/i18n/en.json | 1 + .../auth-bar-language-switcher.component.html | 1 - .../auth-bar-language-switcher.component.ts | 5 +- .../modules/nav/navbar/navbar.component.scss | 4 + .../login-page/login-page.component.html | 51 +++++++---- .../login-page/login-page.component.scss | 91 ++++++++++--------- 12 files changed, 91 insertions(+), 68 deletions(-) diff --git a/conf/messages b/conf/messages index 50e83f45..1ec55538 100644 --- a/conf/messages +++ b/conf/messages @@ -76,6 +76,7 @@ auth.keycloak=Keycloak auth.login=Sign in auth.logout=Logout {{name}} auth.twitter=Twitter +authclients.title=Sign-in Services button.cancel=Cancel button.close=Close button.create=Create diff --git a/conf/messages.de b/conf/messages.de index 4e4b1f2e..5a711ebd 100644 --- a/conf/messages.de +++ b/conf/messages.de @@ -76,6 +76,7 @@ auth.keycloak=Keycloak auth.login=Anmelden auth.logout={{name}} abmelden auth.twitter=Twitter +authclients.title=Anmeldedienste button.cancel=Abbrechen button.close=Schließen button.create=Anlegen diff --git a/ui/apps/translatr-admin/src/assets/i18n/de.json b/ui/apps/translatr-admin/src/assets/i18n/de.json index 7931fdd5..81a2ec3f 100644 --- a/ui/apps/translatr-admin/src/assets/i18n/de.json +++ b/ui/apps/translatr-admin/src/assets/i18n/de.json @@ -77,6 +77,7 @@ "auth.login" : "Anmelden", "auth.logout" : "{{name}} abmelden", "auth.twitter" : "Twitter", + "authclients.title" : "Anmeldedienste", "button.cancel" : "Abbrechen", "button.close" : "Schließen", "button.create" : "Anlegen", diff --git a/ui/apps/translatr-admin/src/assets/i18n/en.json b/ui/apps/translatr-admin/src/assets/i18n/en.json index 35efcf5e..0ec1e3e6 100644 --- a/ui/apps/translatr-admin/src/assets/i18n/en.json +++ b/ui/apps/translatr-admin/src/assets/i18n/en.json @@ -77,6 +77,7 @@ "auth.login" : "Sign in", "auth.logout" : "Logout {{name}}", "auth.twitter" : "Twitter", + "authclients.title" : "Sign-in Services", "button.cancel" : "Cancel", "button.close" : "Close", "button.create" : "Create", diff --git a/ui/apps/translatr/src/app/modules/pages/main-page/main-page.component.html b/ui/apps/translatr/src/app/modules/pages/main-page/main-page.component.html index bcf45acd..1e22742e 100644 --- a/ui/apps/translatr/src/app/modules/pages/main-page/main-page.component.html +++ b/ui/apps/translatr/src/app/modules/pages/main-page/main-page.component.html @@ -1,6 +1,5 @@ diff --git a/ui/apps/translatr/src/assets/i18n/de.json b/ui/apps/translatr/src/assets/i18n/de.json index 7931fdd5..81a2ec3f 100644 --- a/ui/apps/translatr/src/assets/i18n/de.json +++ b/ui/apps/translatr/src/assets/i18n/de.json @@ -77,6 +77,7 @@ "auth.login" : "Anmelden", "auth.logout" : "{{name}} abmelden", "auth.twitter" : "Twitter", + "authclients.title" : "Anmeldedienste", "button.cancel" : "Abbrechen", "button.close" : "Schließen", "button.create" : "Anlegen", diff --git a/ui/apps/translatr/src/assets/i18n/en.json b/ui/apps/translatr/src/assets/i18n/en.json index 35efcf5e..0ec1e3e6 100644 --- a/ui/apps/translatr/src/assets/i18n/en.json +++ b/ui/apps/translatr/src/assets/i18n/en.json @@ -77,6 +77,7 @@ "auth.login" : "Sign in", "auth.logout" : "Logout {{name}}", "auth.twitter" : "Twitter", + "authclients.title" : "Sign-in Services", "button.cancel" : "Cancel", "button.close" : "Close", "button.create" : "Create", diff --git a/ui/libs/translatr-components/src/lib/modules/nav/navbar/auth-bar-language-switcher/auth-bar-language-switcher.component.html b/ui/libs/translatr-components/src/lib/modules/nav/navbar/auth-bar-language-switcher/auth-bar-language-switcher.component.html index 8d1104e2..7049cb14 100644 --- a/ui/libs/translatr-components/src/lib/modules/nav/navbar/auth-bar-language-switcher/auth-bar-language-switcher.component.html +++ b/ui/libs/translatr-components/src/lib/modules/nav/navbar/auth-bar-language-switcher/auth-bar-language-switcher.component.html @@ -1,5 +1,4 @@