Merge pull request #127 from angela0930/patch-3

Patch 3
This commit is contained in:
Carlos Mesa 2022-11-13 10:46:48 +01:00 committed by GitHub
commit f0d6372451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 38 deletions

View File

@ -14,7 +14,7 @@ Don't worry about privacy or security: all data is stored in your browser locall
* Colors supported, for both Windows and Linux hosts. (Colors are represented different in each platform).
* Real-time connected players, machine CPU and server RAM usage information.
* Capable of keeping active connections to more than one server to keep retrieving console log in the background for them all.
* English, Spanish, Chinese, Czech, Deutsch, Dutch, French, Italian, Japanese, Korean, Portuguese, Russian and Turkish supported. Big shout-out to all contributors around the world that helped translating this project into all these languages!
* English, Spanish, Traditional Chinese, Simplified Chinese, Czech, Deutsch, Dutch, French, Italian, Japanese, Korean, Portuguese, Russian and Turkish supported. Big shout-out to all contributors around the world that helped translating this project into all these languages!
* Free!
![Screenshot1](https://i.imgur.com/tWp3JaB.png)
@ -56,7 +56,7 @@ A explanation of the `host`, `port`, `language` and `passwords` fields follows:
`port`: A port where to run this plugin (cannot be the port you are using for Minecraft).
You can modify `language` to view console and command messages in your preferred language. Valid languages are English (`en`), Spanish (`es`), Chinese Simplified (`zh_CN`), Chinese Traditional (`zh_TW`), Czech (`cs`), Deutsch (`de`), Dutch (`nl`), French (`fr`), Italian (`it`), Japanese (`ja`) Korean (`ko`), Polskie (`pl`), Portuguese (`pt`), Russian (`ru`) and Turkish (`tr`). **IMPORTANT: There is a known issue with Microsoft Windows cmd that shows weird characters when using a language different than English. If you are using Windows to host your server, check [this wiki page](https://github.com/mesacarlos/WebConsole/wiki/Show-local-characters-in-Windows-Console) to solve the problem**.
You can modify `language` to view console and command messages in your preferred language. Valid languages are English (`en`), Spanish (`es`), Traditional Chinese (`zh_TW`), Simplified Chinese (`zh_CN`), Czech (`cs`), Deutsch (`de`), Dutch (`nl`), French (`fr`), Italian (`it`), Japanese (`ja`) Korean (`ko`), Polskie (`pl`), Portuguese (`pt`), Russian (`ru`) and Turkish (`tr`). **IMPORTANT: There is a known issue with Microsoft Windows cmd that shows weird characters when using a language different than English. If you are using Windows to host your server, check [this wiki page](https://github.com/mesacarlos/WebConsole/wiki/Show-local-characters-in-Windows-Console) to solve the problem**.
Since version 2.0 you can now create more than one user and set them as admin (Permission for both reading console and executing commands) or viewer (Permission for only reading console and CPU and RAM usage). This is configured using the `passwords` section:
- By default, a user called user1 with password mySecurePassword is created, please replace or remove it as it is only served as an example.
@ -81,4 +81,4 @@ Since v1.3, you can use /WebConsole command to view how many clients are connect
You can find how client and server comunicate [here](https://github.com/mesacarlos/WebConsole/wiki/WebSocket-commands-and-responses).
## Bugs, suggestions or problems configuring WebConsole?
You can open an issue on [GitHub](https://github.com/mesacarlos/WebConsole/issues) or ask me at [Spigot forums](https://www.spigotmc.org/threads/webconsole.390291/).
You can open an issue on [GitHub](https://github.com/mesacarlos/WebConsole/issues) or ask me at [Spigot forums](https://www.spigotmc.org/threads/webconsole.390291/).

View File

@ -1,49 +1,49 @@
# WebConsole.java
boot-error = 啟動WebSocket服務器時出錯
boot-error = 启动WebSocket服务器时出错
# WSServer.java
connection-resumed-message = 經登錄,歡迎回來
connection-resumed-console = [網站控制台] 重新恢復連接 {0}
connection-login-message = 連接開始,等待登錄
connection-login-console = [網站控制台] 已連接並等待登錄 {0}
connection-resumed-message = 经登录,欢迎回来
connection-resumed-console = [网站控制台] 重新恢复连接{0}
connection-login-message = 连接开始,等待登录
connection-login-console = [网站控制台] 已连接并等待登录 {0}
unknown-command-message = 未知的命令
unknown-command-console = [網站控制台] 信號 '{0}' 未被處理,因為是無效的。 您的插件/網頁界面是最新的嗎
forbidden-message = 禁止
forbidden-console = [網站控制台] {0} 嘗試在未登錄的情況下運行 '{1}' !
closed-connection = [網站控制台] 關閉連接並註銷 {0}
error-on-connection = [網站控制台] 連接時出錯 {0}: {1}
started-websocket = [網站控制台] 網站控制台 伺服器成功啟動
unknown-command-console = [网站控制面板] 信号 '{0}' 未被处理,因为是无效的。 您的插件/网页界面是最新的吗
forbidden-message = 屏蔽
forbidden-console = [网站控制台] {0} 尝试在未登录的情况下运行 '{1}' !
closed-connection = [网站控制台] 关闭连接并注销 {0}
error-on-connection = [网站控制台] 连接时出错 {0}: {1}
started-websocket = [网站控制台] 网站控制台 服务器成功启动
error-disconnected-client = [WebConsole] 尝试向断开连接的WebSocket客户端发送消息。
# CpuUsageCommand.java
cpu-usage-message = 已使用 {0}%
# ExecCommand.java
no-send-permission-console = [WebConsole] {0}试图未经许可而运行{1}。
cmd-executed-console = [網站控制台] {0} 執行 '{1}'.
no-send-permission-console = [网站控制台] {0}试图未经许可而运行{1}。
cmd-executed-console = [网站控制台] {0} 执行 '{1}'.
# LogInCommand.java
login-sucessful-message =
login-sucessful-console = [站控制台] {0}已成功登录。
login-failed-message = 碼不正確,請重試
login-failed-console = [網站控制台] 登錄時密碼不正確 {0}
login-sucessful-message =
login-sucessful-console = [站控制台] {0}已成功登录。
login-failed-message = 码不正确,请重试
login-failed-console = [网站控制面板] 登录时密码不正确 {0}
# PlayersCommand.java
players-message = {0}玩家接,最多{1}
players-message = {0}玩家接,最多{1}
# RamUsageCommand.java
ram-usage-message = 閒{0} , 已使用{1} , 最大內存{2}
ram-usage-message = 闲{0} , 已使用{1} , 最大内存{2}
# TpsCommand.java
tps-message = {0} ticks from {1}
# WebConsoleCommand.java
webconsole-version = 站控制台版本 {0}.
webconsole-no-connections = 現在沒有連接登錄網站控制台。
webconsole-active-connections = 從以下位置連接到網站控制台
webconsole-version = 站控制台版本 {0}.
webconsole-no-connections = 现在没有连接登录网站控制台。
webconsole-active-connections = 从以下位置连接到网站控制面板
# ReadLogFileCommand.java
log-read-error = 读取Latest.log文件时出错
# User.java
user-tostring = 用户 {0} 从 {1} 如 {2}
user-tostring = 用户 {0} 从 {1} 如 {2}

View File

@ -1,18 +1,19 @@
# Translator: Angela_u83
# WebConsole.java
boot-error = 啟動WebSocket伺服器時出錯。
# WSServer.java
connection-resumed-message = 登入成功,歡迎回來!
connection-resumed-console = [網站控制臺] 重新恢復連接 {0}
connection-resumed-console = [WebConsole] 重新恢復連接 {0}
connection-login-message = 連接開始,等待登入
connection-login-console = [網站控制臺] 已連接並等待登入 {0}
connection-login-console = [WebConsole] 已連接並等待登入 {0}
unknown-command-message = 未知的命令
unknown-command-console = [網站控制臺] 訊號 '{0}' 未被處理,因為是無效的。 您的插件/網頁界面是最新的嗎?
unknown-command-console = [WebConsole] 訊號 '{0}' 未被處理,因為是無效的。 您的插件/網頁界面是最新的嗎?
forbidden-message = 被禁止
forbidden-console = [網站控制臺] {0} 嘗試在未登入的情況下運行 '{1}' !
closed-connection = [網站控制臺] 關閉連接並取消 {0}
error-on-connection = [網站控制臺] 連接時出錯 {0}: {1}
started-websocket = [網站控制臺] 網站控制臺 伺服器成功啟動。
forbidden-console = [WebConsole] {0} 嘗試在未登入的情況下運行 '{1}' !
closed-connection = [WebConsole] 關閉連接並取消 {0}
error-on-connection = [WebConsole] 連接時出錯 {0}: {1}
started-websocket = [WebConsole] WebConsole伺服器成功啟動。
error-disconnected-client = [WebConsole] 嘗試像斷開連結的WebSocket客戶端發送消息。
# CpuUsageCommand.java
@ -20,13 +21,13 @@ cpu-usage-message = 已使用 {0}%
# ExecCommand.java
no-send-permission-console = [WebConsole] {0}試圖未經許可而執行{1}。
cmd-executed-console = [網站控制臺] {0} 執行 '{1}'.
cmd-executed-console = [WebConsole] {0} 執行 '{1}'.
# LogInCommand.java
login-sucessful-message = 登入
login-sucessful-console = [網站控制臺] {0}已成功登入。
login-sucessful-console = [WebConsole] {0}已成功登入。
login-failed-message = 密碼不正確,請重試
login-failed-console = [網站控制臺] 登入時密碼不正確 {0}
login-failed-console = [WebConsole] 登入時密碼不正確 {0}
# PlayersCommand.java
players-message = {0}玩家連接,最多{1}
@ -38,7 +39,7 @@ ram-usage-message = 閒置{0} , 已使用{1} , 最大記憶體{2}
tps-message = {0} ticks from {1}
# WebConsoleCommand.java
webconsole-version = 網站控制臺版本 {0}.
webconsole-version = WebConsole 版本 {0}.
webconsole-no-connections = 現在沒有連接登錄網站控制臺。
webconsole-active-connections = 從以下位置連接到網站控制臺:
@ -46,4 +47,4 @@ webconsole-active-connections = 從以下位置連接到網站控制臺:
log-read-error = 讀取Latest.log文件時失敗
# User.java
user-tostring = 使用者 {0} 從 {1} 至 {2}
user-tostring = 使用者 {0} 從 {1} 至 {2}