Added japanese translation and bump to v2.3

This commit is contained in:
Carlos 2021-12-11 16:20:54 +01:00
parent b26deceeeb
commit 4dd842286a
5 changed files with 50 additions and 4 deletions

View File

@ -53,7 +53,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 (`zh`), Czech (`cs`), Deutsch (`de`), Dutch (`nl`), French (`fr`), Italian (`it`), Korean (`ko`), 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`), Chinese (`zh`), Czech (`cs`), Deutsch (`de`), Dutch (`nl`), French (`fr`), Italian (`it`), Japanese (`ja`) Korean (`ko`), 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**.
From 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.

View File

@ -265,7 +265,7 @@
<!-- Webpage footer -->
<footer class="footer mt-auto py-3">
<div class="container">
<span class="text-muted">WebConsole v2.2 - <a href="https://github.com/mesacarlos/WebConsole">GitHub</a></span>
<span class="text-muted">WebConsole v2.3 - <a href="https://github.com/mesacarlos/WebConsole">GitHub</a></span>
</div>
</footer>

46
phrases_ja.properties Normal file
View File

@ -0,0 +1,46 @@
# WebConsole.java
boot-error = WebSocket Serverの起動時にエラーが発生しました。
# WSServer.java
connection-resumed-message = 接続されています。既にログイン、接続している方を切断してもう一度接続してみてください。
connection-resumed-console = [WebConsole] から接続し、セッションを再開しました。 {0}
connection-login-message = 接続開始、ログイン待ち...
connection-login-console = [WebConsole] 接続され、ログインを待っています... {0}
unknown-command-message = 不明、または存在しないコマンドです
unknown-command-console = [WebConsole] シグナル "{0}" は有効ではないので処理されませんでした。プラグインやウェブインターフェイスは最新のものを使用していますか?
forbidden-message = Forbidden
forbidden-console = [WebConsole] {0} は、ログインしていない状態で "{1}" を実行しようとしました!
closed-connection = [WebConsole] 接続を閉じて、からログアウトしました。 {0}
error-on-connection = [WebConsole] 接続時にエラーが発生しました。 {0}: {1}
started-websocket = [WebConsole] WebSocketサーバが正常に起動しました。
error-disconnected-client = [WebConsole] 切断された WebSocket クライアントにメッセージを送信しようとしました。
# CpuUsageCommand.java
cpu-usage-message = Usage is {0}%
# ExecCommand.java
no-send-permission-console = [WebConsole] {0} は勝手に {1} を実行しようとしましたが権限がないためはじかれました。
cmd-executed-console = [WebConsole] {0} 実行 "{1}".
# LogInCommand.java
login-sucessful-message = ログイン
login-sucessful-console = [WebConsole] {0} ログインに成功しました。
login-failed-message = パスワードが正しくありません、もう一度お試しください。
login-failed-console = [WebConsole] ログイン時にパスワードが正しくないです。 {0}
# PlayersCommand.java
players-message = 接続数 | {0} ,最大接続数 | {1}
# RamUsageCommand.java
ram-usage-message = {0} 空き, {1} 使用済み, {2} 最大メモリ
# WebConsoleCommand.java
webconsole-version = WebConsoleのバージョン {0}.
webconsole-no-connections = 現在、WebConsoleのログイン接続はありません。
webconsole-active-connections = WebConsoleに接続しました。:
# ReadLogFileCommand.java
log-read-error = latest.logファイルの読み込みエラーが発生しました
# User.java
user-tostring = User {0} from {1} as {2}

View File

@ -1,7 +1,7 @@
name: WebConsole
main: es.mesacarlos.webconsole.WebConsole
api-version: 1.13
version: 2.2
version: 2.3
description: WebSocket-based web console
author: Carlos Mesa
commands:

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>WebConsole</groupId>
<artifactId>WebConsole</artifactId>
<version>2.2</version>
<version>2.3</version>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>