mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-31 18:18:04 +01:00
Change refresh button text and size, add new german translations
This commit is contained in:
parent
24ba0402e1
commit
33af996faa
@ -32,7 +32,6 @@ import net.minecraft.client.MinecraftClient;
|
||||
import net.minecraft.client.font.TextRenderer;
|
||||
import net.minecraft.client.gui.DrawContext;
|
||||
import net.minecraft.client.gui.screen.ConfirmLinkScreen;
|
||||
import net.minecraft.client.gui.screen.option.ControlsListWidget;
|
||||
import net.minecraft.client.gui.widget.ButtonWidget;
|
||||
import net.minecraft.text.Text;
|
||||
import net.minecraft.util.Formatting;
|
||||
@ -68,10 +67,10 @@ public class BetaCraftScreen extends VFPScreen {
|
||||
this.setupSubtitle(Text.of(BETA_CRAFT_SERVER_LIST_URL), ConfirmLinkScreen.opening(this, BETA_CRAFT_SERVER_LIST_URL));
|
||||
this.addDrawableChild(new SlotList(this.client, width, height, 3 + 3 /* start offset */ + (textRenderer.fontHeight + 2) * 3 /* title is 2 */, -5, (textRenderer.fontHeight + 2) * 3));
|
||||
|
||||
this.addDrawableChild(ButtonWidget.builder(ControlsListWidget.KeyBindingEntry.RESET_TEXT, button -> {
|
||||
this.addDrawableChild(ButtonWidget.builder(Text.translatable("base.viafabricplus.refresh"), button -> {
|
||||
SERVER_LIST = null;
|
||||
client.setScreen(prevScreen);
|
||||
}).position(width - 98 - 5, 5).size(98, 20).build());
|
||||
client.setScreen(this);
|
||||
}).position(width - 60 - 5, 5).size(60, 20).build());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -74,7 +74,7 @@ public class ClassiCubeServerListScreen extends VFPScreen {
|
||||
close();
|
||||
ViaFabricPlus.global().getSaveManager().getAccountsSave().setClassicubeAccount(null);
|
||||
SERVER_LIST.clear();
|
||||
}).position(width - 98 - 5, 5).size(98, 20).build());
|
||||
}).position(width - 60 - 5, 5).size(60, 20).build());
|
||||
|
||||
super.init();
|
||||
}
|
||||
|
@ -27,7 +27,6 @@ import de.florianmichael.viafabricplus.util.ConnectionUtil;
|
||||
import net.minecraft.client.MinecraftClient;
|
||||
import net.minecraft.client.font.TextRenderer;
|
||||
import net.minecraft.client.gui.DrawContext;
|
||||
import net.minecraft.client.gui.screen.option.ControlsListWidget;
|
||||
import net.minecraft.client.gui.widget.ButtonWidget;
|
||||
import net.minecraft.text.Text;
|
||||
import net.raphimc.minecraftauth.MinecraftAuth;
|
||||
@ -103,10 +102,10 @@ public class BedrockRealmsScreen extends VFPScreen {
|
||||
}
|
||||
this.addDrawableChild(slotList = new SlotList(this.client, width, height, 3 + 3 /* start offset */ + (textRenderer.fontHeight + 2) * 3 /* title is 2 */, 30, (textRenderer.fontHeight + 2) * 4));
|
||||
|
||||
this.addDrawableChild(ButtonWidget.builder(ControlsListWidget.KeyBindingEntry.RESET_TEXT, button -> {
|
||||
this.addDrawableChild(ButtonWidget.builder(Text.translatable("base.viafabricplus.refresh"), button -> {
|
||||
realmsWorlds = null;
|
||||
client.setScreen(this);
|
||||
}).position(width - 98 - 5, 5).size(98, 20).build());
|
||||
}).position(width - 60 - 5, 5).size(60, 20).build());
|
||||
|
||||
final int slotWidth = 360 - 4;
|
||||
|
||||
|
@ -28,6 +28,9 @@
|
||||
"base.viafabricplus.name": "Name",
|
||||
"base.viafabricplus.password": "Kennwort",
|
||||
"base.viafabricplus.login": "Anmeldung",
|
||||
"base.viafabricplus.code": "Code",
|
||||
"base.viafabricplus.accept": "Akzeptieren",
|
||||
"base.viafabricplus.refresh": "Aktualisieren",
|
||||
|
||||
"setting_group_name.viafabricplus.authentication": "Authentifizierung",
|
||||
"setting_group_name.viafabricplus.visual": "Visuell",
|
||||
@ -37,10 +40,12 @@
|
||||
|
||||
"screen.viafabricplus.force_version": "Version setzen",
|
||||
"screen.viafabricplus.report_issues": "Probleme melden",
|
||||
"screen.viafabricplus.server_list": "Server-Listen",
|
||||
"screen.viafabricplus.server_list": "Serverlisten",
|
||||
"screen.viafabricplus.classicube_login": "Classicube-Anmeldung",
|
||||
"screen.viafabricplus.classicube_mfa": "Classicube MFA",
|
||||
"screen.viafabricplus.settings": "Einstellungen",
|
||||
"screen.viafabricplus.bedrock_realms": "Bedrock Realms",
|
||||
"screen.viafabricplus.accept_invite": "Einladung akzeptieren",
|
||||
|
||||
"general_settings.viafabricplus.save_selected_protocol_version": "Ausgewählte Protokollversion speichern",
|
||||
"general_settings.viafabricplus.extra_information_in_debug_hud": "Zusätzliche Informationen im Debug-HUD anzeigen",
|
||||
@ -145,6 +150,18 @@
|
||||
"minecraftauth_library.viafabricplus.xbldevicetoken": "Authentifizierung des Geräts mit Xbox Live...",
|
||||
"minecraftauth_library.viafabricplus.xblsisuauthentication": "Authentifizierung mit Xbox Live über SISU...",
|
||||
"minecraftauth_library.viafabricplus.mcchain": "Authentifizierung mit den Minecraft-Diensten...",
|
||||
"minecraftauth_library.viafabricplus.xblxststoken": "Anfordern eines XSTS-Tokens...",
|
||||
"minecraftauth_library.viafabricplus.playfabtoken": "Authentifizierung mit PlayFab..."
|
||||
"minecraftauth_library.viafabricplus.xblxststoken": "Anfordern des XSTS-Tokens...",
|
||||
"minecraftauth_library.viafabricplus.playfabtoken": "Authentifizierung mit PlayFab...",
|
||||
"minecraftauth_library.viafabricplus.realmsxsts": "Anfordern des Realms XSTS Token...",
|
||||
|
||||
"bedrock_realms.viafabricplus.warning": "Für diese Funktion muss in den Einstellungen ein Bedrock-Edition-Konto eingerichtet werden!",
|
||||
"bedrock_realms.viafabricplus.availability_check": "Überprüfe Verfügbarkeit...",
|
||||
"bedrock_realms.viafabricplus.no_worlds": "Keine Welten gefunden :(",
|
||||
"bedrock_realms.viafabricplus.unavailable": "Dein ViaFabricPlus ist veraltet und nicht kompatibel mit Minecraft Realms.",
|
||||
"bedrock_realms.viafabricplus.error": "Es ist ein Fehler aufgetreten, weitere Informationen findest du in den Protokollen",
|
||||
"bedrock_realms.viafabricplus.join": "Realm beitreten",
|
||||
"bedrock_realms.viafabricplus.leave": "Realm verlassen",
|
||||
"bedrock_realms.viafabricplus.invite": "Einladungscode akzeptieren",
|
||||
"bedrock_realms.viafabricplus.expired": "Der Realm ist abgelaufen",
|
||||
"bedrock_realms.viafabricplus.incompatible": "Die Minecraft-Version des Realms ist entweder zu alt oder zu neu"
|
||||
}
|
||||
|
@ -30,6 +30,7 @@
|
||||
"base.viafabricplus.login": "Login",
|
||||
"base.viafabricplus.code": "Code",
|
||||
"base.viafabricplus.accept": "Accept",
|
||||
"base.viafabricplus.refresh": "Refresh",
|
||||
|
||||
"setting_group_name.viafabricplus.authentication": "Authentication",
|
||||
"setting_group_name.viafabricplus.visual": "Visual",
|
||||
@ -39,7 +40,7 @@
|
||||
|
||||
"screen.viafabricplus.force_version": "Force Version",
|
||||
"screen.viafabricplus.report_issues": "Report issues",
|
||||
"screen.viafabricplus.server_list": "Server Lists",
|
||||
"screen.viafabricplus.server_list": "Server lists",
|
||||
"screen.viafabricplus.classicube_login": "Classicube Login",
|
||||
"screen.viafabricplus.classicube_mfa": "Classicube MFA",
|
||||
"screen.viafabricplus.settings": "Settings",
|
||||
|
Loading…
Reference in New Issue
Block a user