From b787e79a00cdea3bc4239451871b9cd6a51f70af Mon Sep 17 00:00:00 2001 From: MaciejkaG Date: Thu, 11 Apr 2024 19:37:41 +0200 Subject: [PATCH] Translation and animation improvements --- lang/en.json | 3 ++- lang/pl.json | 3 ++- public/assets/js/landing.js | 2 +- views/index.handlebars | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lang/en.json b/lang/en.json index 1c2a4a2..2119106 100644 --- a/lang/en.json +++ b/lang/en.json @@ -77,7 +77,8 @@ "No matches played": "No matches played" }, "Settings": { - "General": "General" + "General": "General", + "Log out": "Log out" }, "General": { "Unknown error occured": "Unknown error occured", diff --git a/lang/pl.json b/lang/pl.json index 777bdac..61cf4bd 100644 --- a/lang/pl.json +++ b/lang/pl.json @@ -78,7 +78,8 @@ "No matches played": "Nie zagrano żadnych meczy" }, "Settings": { - "General": "Ogólne" + "General": "Ogólne", + "Log out": "Wyloguj się" }, "General": { "Unknown error occured": "Wystąpił nieznany błąd", diff --git a/public/assets/js/landing.js b/public/assets/js/landing.js index 15e0100..a45633d 100644 --- a/public/assets/js/landing.js +++ b/public/assets/js/landing.js @@ -107,9 +107,9 @@ loginForm.addEventListener('submit', (e) => { return; } + lockUI(false); switchView("authView"); progressParalax(); - lockUI(false); break; default: diff --git a/views/index.handlebars b/views/index.handlebars index 514412a..d2f9e1d 100644 --- a/views/index.handlebars +++ b/views/index.handlebars @@ -101,7 +101,7 @@

{{ t 'landing.Privacy policy' }}

-

Log out

+

{{ t 'menu.Settings.Log out' }}