Compare commits

...

7 Commits

Author SHA1 Message Date
RK_01 44987bf2d3
Merge pull request #211 from komugikotan/main
Added Japanese language translations
2024-04-30 08:55:14 +02:00
Lenni0451 f836ed3650
Merge pull request #212 from ViaVersion/dependabot/gradle/net.lenni0451.commons-swing-1.5.1
Bump net.lenni0451.commons:swing from 1.5.0 to 1.5.1
2024-04-30 07:09:09 +02:00
dependabot[bot] f577dd3a04
Bump net.lenni0451.commons:swing from 1.5.0 to 1.5.1
Bumps [net.lenni0451.commons:swing](https://github.com/Lenni0451/commons) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/Lenni0451/commons/releases)
- [Commits](https://github.com/Lenni0451/commons/commits)

---
updated-dependencies:
- dependency-name: net.lenni0451.commons:swing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-30 04:41:54 +00:00
komugikotan 8ac74bff84 Added Japanese language support. 2024-04-29 18:08:53 -04:00
RaphiMC b37bccd28c
Updated MinecraftAuth 2024-04-29 22:46:36 +02:00
RaphiMC c7b66b8fd1
Marked 1.20.6 as supported 2024-04-29 17:41:46 +02:00
RaphiMC 1b009561c2
Fixed Realms handling issues 2024-04-29 17:40:25 +02:00
5 changed files with 150 additions and 7 deletions

View File

@ -6,7 +6,7 @@ Using it is very simple, just run the jar file, and it will start a user interfa
For a full user guide go to the [Usage for Players](#usage-for-players-gui) section or the [Usage for Server Owners](#usage-for-server-owners-config) section.
## Supported Server versions
- Release (1.0.0 - 1.20.5)
- Release (1.0.0 - 1.20.6)
- Beta (b1.0 - b1.8.1)
- Alpha (a1.0.15 - a1.2.6)
- Classic (c0.0.15 - c0.30 including [CPE](https://wiki.vg/Classic_Protocol_Extension))
@ -15,7 +15,7 @@ For a full user guide go to the [Usage for Players](#usage-for-players-gui) sect
- Bedrock Edition 1.20.70 ([Some features are missing](https://github.com/RaphiMC/ViaBedrock#features))
## Supported Client versions
- Release (1.7.2 - 1.20.5)
- Release (1.7.2 - 1.20.6)
- Bedrock Edition (Needs the [Geyser plugin](https://geysermc.org/download))
- Classic, Alpha, Beta, Release 1.0 - 1.6.4 (Only passthrough)

View File

@ -87,11 +87,11 @@ dependencies {
include("net.lenni0451:MCPing:1.4.1") {
exclude group: "com.google.code.gson", module: "gson"
}
include "net.lenni0451.commons:swing:1.5.0"
include "net.lenni0451.commons:swing:1.5.1"
include("net.raphimc.netminecraft:all:2.4.0") {
exclude group: "com.google.code.gson", module: "gson"
}
include("net.raphimc:MinecraftAuth:4.0.0") {
include("net.raphimc:MinecraftAuth:4.0.1") {
exclude group: "com.google.code.gson", module: "gson"
exclude group: "org.slf4j", module: "slf4j-api"
}

View File

@ -37,6 +37,7 @@ import net.raphimc.viaproxy.saves.impl.accounts.MicrosoftAccount;
import net.raphimc.viaproxy.ui.I18n;
import net.raphimc.viaproxy.ui.UITab;
import net.raphimc.viaproxy.ui.ViaProxyWindow;
import net.raphimc.viaproxy.util.StringUtil;
import net.raphimc.viaproxy.util.logging.Logger;
import javax.swing.*;
@ -205,12 +206,12 @@ public class RealmsTab extends UITab {
panel.setBorder(BorderFactory.createLineBorder(UIManager.getColor("Table.gridColor")));
String nameString = "";
if (!world.getOwnerName().isEmpty()) nameString += world.getOwnerName() + " - ";
if (world.getOwnerName() != null) nameString += world.getOwnerName() + " - ";
String versionString = "";
if (!world.getActiveVersion().isEmpty()) versionString += " - " + world.getActiveVersion();
GBC.create(panel).grid(0, 0).weightx(1).insets(5, 5, 0, 5).fill(GBC.HORIZONTAL).add(new JLabel(nameString + world.getName() + " (" + world.getState() + ")"));
GBC.create(panel).grid(0, 0).weightx(1).insets(5, 5, 0, 5).fill(GBC.HORIZONTAL).add(new JLabel(nameString + StringUtil.emptyIfNull(world.getName()) + " (" + world.getState() + ")"));
GBC.create(panel).grid(1, 0).insets(5, 5, 0, 5).anchor(GBC.LINE_END).add(new JLabel(world.getWorldType() + versionString));
GBC.create(panel).grid(0, 1).insets(5, 5, 0, 5).fill(GBC.HORIZONTAL).add(new JLabel(world.getMotd()));
GBC.create(panel).grid(0, 1).insets(5, 5, 0, 5).fill(GBC.HORIZONTAL).add(new JLabel(StringUtil.emptyIfNull(world.getMotd())));
final JButton join = new JButton(I18n.get("tab.realms.join"));
if (world.isExpired()) {
join.setEnabled(false);

View File

@ -0,0 +1,26 @@
/*
* This file is part of ViaProxy - https://github.com/RaphiMC/ViaProxy
* Copyright (C) 2021-2024 RK_01/RaphiMC and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaproxy.util;
public class StringUtil {
public static String emptyIfNull(final String s) {
return s == null ? "" : s;
}
}

View File

@ -0,0 +1,116 @@
# ViaProxy language file
#
# Language contribution guidelines:
# - Please use the same file content structure as in the en_US language file.
# - Use the en_US language file as a reference/template for your language file.
# - Keep the translations understandable and precise.
# - Do not use or rely on machine translation (Google Translate, DeepL, etc.) exclusively.
# - Do not copy an english translation into your language file. The en_US translation will be used as a fallback automatically.
# - Include this header (untranslated) in your language file.
# The display name of the language
language.name=日本語 (日本)
# The name of the author of the language file (Your name)
language.author=Komugikotan
generic.cancel=キャンセル
generic.could_not_open_url=次のリンクを開けませんでした: %s
tab.general.name=全般
tab.general.server_address.label=サーバーアドレス:
tab.general.server_address.tooltip=サポートされている形式:\n- アドレス\n- アドレス:ポート番号\n- ClassiCube Direct URL
tab.general.server_version.label=サーバーバージョン:
tab.general.minecraft_account.label=Minecraftアカウント:
tab.general.minecraft_account.option_no_account=アカウントを使用しない
tab.general.minecraft_account.option_select_account=選択したアカウントを使用する
tab.general.minecraft_account.option_openauthmod=OpenAuthModを使用する
tab.general.betacraft_auth.label=BetaCraft Auth (クラシック)
tab.general.betacraft_auth.tooltip=BetaCraft Authを有効にすると、online modeが有効化されたクラシックサーバーに参加できるようになります。
tab.general.state.loading=ViaProxyをロードしています...
tab.general.state.start=起動
tab.general.state.starting=起動中...
tab.general.state.stop=停止
tab.general.state.running=ViaProxyが起動しましたMinecraftバージョン: %s で %s に接続してください
tab.general.warning.ban_warning.line1=ViaProxyはバージョンの違いによるアイテムやブロック、動きの違いでアンチチート等を動作させることがあります。
tab.general.warning.bedrock_warning.line1=ViaBedrockは現在初期開発段階であり一般的な使用には向いていません。
tab.general.warning.risk=自己の責任において使用してください!
tab.general.error.no_server_version_selected=サーバーバージョンを選択してください!
tab.general.error.invalid_classicube_url=ClassiCubeのDirect URLが無効です
tab.general.error.invalid_server_address=サーバーアドレスが無効です!
tab.general.error.invalid_bind_address=転送アドレスが無効です!
tab.general.error.invalid_proxy_url=プロキシーのURLが無効です
tab.general.error.failed_to_start=ViaProxyの起動に失敗しました指定されたローカルポートがすでに使われていないことを確認してからもう一度試してください。
tab.advanced.name=詳細設定
tab.advanced.bind_address.label=転送アドレス:
tab.advanced.bind_address.tooltip=ViaProxyが接続を受け付けるアドレス
tab.advanced.proxy_url.label=プロキシのURL:
tab.advanced.proxy_url.tooltip=TCP接続に使われるSOCKS(4/5)/HTTP(S)プロキシのURL\nサポートされている形式:\n- type://address:port\n- type://username:password@address:port
tab.advanced.proxy_online_mode.label=プロキシのオンラインモード(認証モード)の有効化
tab.advanced.proxy_online_mode.tooltip=プロキシのオンラインモードを有効にすることでクライアントで有効なMinecraft アカウントでログインすることが必要になります。\n有効にすることで、オンラインサーバー上でスキンと署名付きメッセージの使用が可能になります。
tab.advanced.legacy_skin_loading.label=レガシーなスキンのロードの有効化
tab.advanced.legacy_skin_loading.tooltip=レガシーなスキンのロードを有効化することで1.6.4以下のサーバーでスキンの使用が可能になります。
tab.advanced.chat_signing.label=署名付きメッセージの有効化
tab.advanced.chat_signing.tooltip=1.19以上のサーバーで署名付きメッセージを送信することを有効化します。
tab.advanced.ignore_packet_translation_errors.label=パケットの変換エラーを無視
tab.advanced.ignore_packet_translation_errors.tooltip=これを有効にすることでパケットの変化ネラーが発生した際、ただコンソールにエラーを吐くだけではなくクライアントが切断されることを防ぎます。\nこの機能を有効化すると変換に失敗したパケットの種類のよって問題が発生することがあります。
tab.advanced.allow_beta_pinging.label=b1.7.3以下のバージョンでのサーバーピングを許可
tab.advanced.allow_beta_pinging.tooltip=これを有効にすることでb1.7.3以下のサーバーでピングを送信します。頻繁な接続をブロックするサーバーでは問題が発生することがあります。
tab.advanced.create_viaversion_dump.label=ViaVersionのダンプデーターを作成
tab.advanced.create_viaversion_dump.success=ViaVersionのダンプデーターのリンクをクリップボードにコピーしました。
tab.advanced.upload_latest_log.label=最新のログをアップロード
tab.advanced.upload_latest_log.success=ログを %s にアップロードしました(クリップボードにコピーしました)。
tab.advanced.upload_latest_log.error_generic=ログをアップロードできませんでした: %s
tab.advanced.upload_latest_log.error_not_found=ログが見つかりませんでした。
tab.accounts.name=アカウント
tab.accounts.description.line1=オンラインモードが有効化されたサーバーにViaproxyで参加するにはMinecraftアカウントでログインしている必要があります。使用したいアカウントを右クリックすることで選択できます。デフォルトでは一番最初のものが使用されます。
tab.accounts.description.line2=アカウントを頻繁に変える場合は、OpenAuthModをクライアントにインストールすることができます。これをインストールすることでクライアントでログインしているアカウントを使ってViaProxyで接続できます。
tab.accounts.list.context_menu.select=アカウントを選択
tab.accounts.list.context_menu.remove=削除
tab.accounts.list.context_menu.move_up=上に上げる↑
tab.accounts.list.context_menu.move_down=下に下げる↓
tab.accounts.add.title=アカウントを追加
tab.accounts.add_offline.label=オフラインアカウント
tab.accounts.add_offline.enter_username=オフラインアカウントのユーザー名を入力してください:
tab.accounts.add_microsoft.label=Microsoftアカウント
tab.accounts.add_bedrock.label=統合版アカウント
tab.accounts.add.success=アカウント「 %s 」を正常に追加しました。
tab.accounts.add.timeout=ログイン要求がタイムアウトしました。\n%s秒以内にログインしてください。
tab.realms.name=Realms
tab.realms.error_generic=Realmsリクエストを処理できませんでした: %s
tab.realms.error_generic_label=不明なエラーが発生しました。
tab.realms.error_account=選択されたアカウントをリフレッシュできませんでした。これは有効期限を過ぎたトークンを使用しているか回数制限に達したアカウントを使用しているせいかもしれません。少し時間をおいた後もう一度試してください。問題が解決しない場合は、一度アカウントを削除してもう一度追加してください。
tab.realms.error_account_label=アカウントエラー
tab.realms.no_account=アカウントが選択されていません。
tab.realms.unsupported_account=サポートされていないアカウントが選択されています。
tab.realms.refreshing_account=アカウントをリフレッシュしています...
tab.realms.availability_check=利用が可能か確認しています...
tab.realms.unavailable=あなたの使用しているViaProxyのバージョンが古くMinecraft Realmsと互換性がありません。\n最新版のViaProxyを使用してください。
tab.realms.loading_worlds=ワールドを読み込み中です...
tab.realms.no_worlds=ワールドが見つかりませんでした。
tab.realms.account=アカウント: %s
tab.realms.release=リリース
tab.realms.snapshot=スナップショット
tab.realms.join=参加
tab.realms.joining=参加中...
tab.realms.accept_tos=Minecraft Realmsを使用するには利用規約に同意してください: %s
tab.realms.expired=このRealmは期限切れです。
tab.realms.incompatible=このRealmのMinecraftバージョンが古すぎるか新しすぎます。
tab.ui_settings.name=UI設定
tab.ui_settings.language.label=言語:
tab.ui_settings.language.completion=%s翻訳済み
tab.ui_settings.language.author=by %s
tab.ui_settings.language.success=言語が %s (%s)に変更されました。ViaProxyを再起動します
popup.login_account.title=アカウントを追加
popup.login_account.instructions.browser=以下のURLをブラウザで開いてください
popup.login_account.instructions.close=ログイン後、このポップアップは自動的に閉じられます。
popup.download.title=ダウンロード中...
popup.update.info=あなたの使用しているViaProxyは古いバージョンです\n使用しているバージョン: %s\n最新バージョン: %s
popup.update.question=アップデートしますか?
popup.update.success=最新バージョンのViaProxyをダウンロードしました。ViaProxyを再起動します