From 1d202b7a189c8e279ade717ea6c6354a0e10a983 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Wed, 27 Apr 2022 14:28:58 -0700 Subject: [PATCH] full login translations --- languages/en.json | 24 +++++++++++++++++++++++- resources/index.html | 14 +++++++------- resources/js/index.js | 8 ++++---- resources/js/login.js | 25 +++++++++++++++---------- resources/js/translation.js | 16 +++++++++++++++- 5 files changed, 64 insertions(+), 23 deletions(-) diff --git a/languages/en.json b/languages/en.json index b1249c3..c0d8cf7 100644 --- a/languages/en.json +++ b/languages/en.json @@ -39,5 +39,27 @@ "proxyInstallDeny": "No thanks", "gameFolderDialog": "Select game folder", - "grasscutterFileDialog": "Select Grasscutter server jar file" + "grasscutterFileDialog": "Select Grasscutter server jar file", + + "loggingInTo": "Logging in to: ", + "registeringFor": "Registering for: ", + "authUsername": "Username: ", + "authPassword": "Password: ", + "authConfirmPassword": "Confirm Password: ", + "authLoginBtn": "Login", + "authRegisterBtn": "Register", + "authLoginTitle": "Login", + "authRegisterTitle": "Register", + "launchWithoutAuth": "Launch without Authentication", + + "alertInvalid": "Invalid username or password", + "alertNoPass": "No password set, please change password", + "alertUnknown": "Unknown error, contact server owner", + "alertAuthNoLogin": "Authentication is disabled, no need to log in!", + "alertLoginSuccess": "Login successful! Token copied to clipboard. Paste this token into the username field of the game to log in.", + + "alertUserTaken": "Username is taken", + "alertPassMismatch": "Password and password confirmation do not match", + "alertAuthNoRegister": "Authentication is disabled, no need to register!", + "alertRegisterSuccess": "Registration successful!" } diff --git a/resources/index.html b/resources/index.html index 297f5e8..c971d61 100644 --- a/resources/index.html +++ b/resources/index.html @@ -44,18 +44,18 @@
- Logging in to + Logging in to
- + Username:
- + Password: @@ -82,24 +82,24 @@