mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-22 16:48:25 +01:00
Add german translation for new setting
This commit is contained in:
parent
60a26d2bb1
commit
41a2139a98
@ -21,6 +21,6 @@ package de.florianmichael.viafabricplus.injection.access;
|
||||
|
||||
public interface IPlayerListHud {
|
||||
|
||||
void viaFabricPlus$setMaxPlayers(int maxPlayers);
|
||||
void viaFabricPlus$setMaxPlayers(final int maxPlayers);
|
||||
|
||||
}
|
||||
|
@ -43,16 +43,16 @@ import java.util.stream.Collectors;
|
||||
@Mixin(PlayerListHud.class)
|
||||
public abstract class MixinPlayerListHud implements IPlayerListHud {
|
||||
|
||||
@Unique
|
||||
private static final Comparator<PlayerListEntry> viaFabricPlus$FIFO_COMPARATOR
|
||||
= Comparator.comparingInt(ple -> ((IPlayerListEntry) ple).viaFabricPlus$getIndex());
|
||||
|
||||
@Shadow
|
||||
@Final
|
||||
private MinecraftClient client;
|
||||
|
||||
@Unique
|
||||
private static final Comparator<PlayerListEntry> viaFabricPlus$FIFO_COMPARATOR = Comparator.comparingInt(e -> ((IPlayerListEntry) e).viaFabricPlus$getIndex());
|
||||
|
||||
@Unique
|
||||
private int viaFabricPlus$maxSlots;
|
||||
|
||||
@Unique
|
||||
private boolean viaFabricPlus$hideSkins = true;
|
||||
|
||||
@ -97,8 +97,8 @@ public abstract class MixinPlayerListHud implements IPlayerListHud {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void viaFabricPlus$setMaxPlayers(final int maxPlayers) {
|
||||
this.viaFabricPlus$maxSlots = Math.min(200, Math.max(20,
|
||||
((maxPlayers + PlayerListHud.MAX_ROWS - 1) / PlayerListHud.MAX_ROWS) * PlayerListHud.MAX_ROWS));
|
||||
public void viaFabricPlus$setMaxPlayers(int maxPlayers) {
|
||||
this.viaFabricPlus$maxSlots = Math.min(200, Math.max(20, ((maxPlayers + PlayerListHud.MAX_ROWS - 1) / PlayerListHud.MAX_ROWS) * PlayerListHud.MAX_ROWS));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -83,6 +83,7 @@
|
||||
"visual_settings.viafabricplus.enable_block_hit_animation": "Block-Trefferanimation aktivieren",
|
||||
"visual_settings.viafabricplus.disable_server_pinging": "Server-Ping deaktivieren",
|
||||
"visual_settings.viafabricplus.sideways_backwards_walking": "Seitliches rückwärts laufen",
|
||||
"visual_settings.viafabricplus.enable_legacy_tablist": "Legacy-Tab-Liste aktivieren",
|
||||
|
||||
"bedrock.viafabricplus.login": "Dein Browser sollte sich geöffnet haben.\nDas Schließen dieses Bildschirms unterbricht den Vorgang!",
|
||||
"authentication.viafabricplus.failed_to_verify_session": "ViaFabricPlus konnte deine Sitzung nicht verifizieren! Bitte logge dich in einen Account ein oder deaktiviere die BetaCraft-Authentifizierung in den ViaFabricPlus-Einstellungen.",
|
||||
|
Loading…
Reference in New Issue
Block a user