From aa6edfd0f01ea0ff9f0d530e8d8e392f9a679b70 Mon Sep 17 00:00:00 2001
From: Carlos <28845529+mesacarlos@users.noreply.github.com>
Date: Wed, 28 Aug 2019 02:32:06 +0200
Subject: [PATCH] Added Chinese to client and Spanish to server
---
client/index.html | 14 +++---
client/scripts/WebConsoleJqueryHandler.js | 2 +-
client/scripts/WebConsoleLanguage.js | 1 -
phrases.properties | 33 ++++++++++++++
phrases_en.properties | 33 ++++++++++++++
phrases_es.properties | 33 ++++++++++++++
plugin.yml | 2 +-
pom.xml | 3 +-
simplelogger.properties | 7 ---
src/com/mesacarlos/webconsole/WebConsole.java | 9 +++-
.../webconsole/util/Internationalization.java | 35 +++++++++++++++
.../webconsole/websocket/WSServer.java | 43 +++++++++----------
.../websocket/command/CpuUsageCommand.java | 3 +-
.../websocket/command/ExecCommand.java | 3 +-
.../websocket/command/LogInCommand.java | 11 ++---
.../websocket/command/PlayersCommand.java | 12 +++++-
.../websocket/command/RamUsageCommand.java | 8 +++-
17 files changed, 201 insertions(+), 51 deletions(-)
create mode 100644 phrases.properties
create mode 100644 phrases_en.properties
create mode 100644 phrases_es.properties
delete mode 100644 simplelogger.properties
create mode 100644 src/com/mesacarlos/webconsole/util/Internationalization.java
diff --git a/client/index.html b/client/index.html
index b0cc703..894af76 100644
--- a/client/index.html
+++ b/client/index.html
@@ -211,7 +211,7 @@
@@ -221,11 +221,11 @@
-
-
-
-
-
-
+
+
+
+
+
+