From 59153238f21d64b1e73a4e5f158c552adbb51558 Mon Sep 17 00:00:00 2001 From: strawmanbobi Date: Sat, 6 Jun 2020 21:51:29 +0800 Subject: [PATCH] i18nized private console index --- console/configuration/system_configs.js | 2 +- console/web/code/index.html | 3 +- console/web/index.html | 90 ++--- console/web/js/index.js | 338 ++---------------- console/web/locales/dev/translation.json | 24 ++ console/web/locales/en-US/translation.json | 24 ++ console/web/locales/en/translation.json | 24 ++ console/web/locales/zh-CN/translation.json | 24 ++ console/web/locales/zh/translation.json | 24 ++ console/web/public_js/bower.json | 3 +- .../web/public_js/i18n/i18next-1.11.2.min.js | 7 + 11 files changed, 188 insertions(+), 375 deletions(-) create mode 100644 console/web/locales/dev/translation.json create mode 100644 console/web/locales/en-US/translation.json create mode 100644 console/web/locales/en/translation.json create mode 100644 console/web/locales/zh-CN/translation.json create mode 100644 console/web/locales/zh/translation.json create mode 100644 console/web/public_js/i18n/i18next-1.11.2.min.js diff --git a/console/configuration/system_configs.js b/console/configuration/system_configs.js index b0c1521..cd31546 100644 --- a/console/configuration/system_configs.js +++ b/console/configuration/system_configs.js @@ -15,7 +15,7 @@ exports.setupEnvironment = function () { MYSQL_DB_SERVER_ADDRESS = "localhost"; MYSQL_DB_NAME = "irext"; MYSQL_DB_USER = "root"; - MYSQL_DB_PASSWORD = "root"; + MYSQL_DB_PASSWORD = "421aWill."; REDIS_HOST = "localhost"; REDIS_PORT = "6379"; REDIS_PASSWORD = null; diff --git a/console/web/code/index.html b/console/web/code/index.html index 9477dd5..dd5482a 100644 --- a/console/web/code/index.html +++ b/console/web/code/index.html @@ -335,7 +335,7 @@ @@ -491,6 +491,7 @@ + diff --git a/console/web/index.html b/console/web/index.html index 85f5074..fbe0eba 100644 --- a/console/web/index.html +++ b/console/web/index.html @@ -6,29 +6,34 @@ - IRext + IRext - +
-
@@ -39,65 +44,14 @@ -
- - -