fix: update languages and fix keybind parsing

This commit is contained in:
ChomeNS
2024-11-15 18:07:04 +07:00
parent c738a37948
commit a9fb768795
5 changed files with 1873 additions and 341 deletions

View File

@@ -321,7 +321,7 @@ public class ComponentUtilities {
public static PartiallyStringified stringifyPartially (KeybindComponent message, boolean motd, boolean ansi, String lastColor, boolean noHex) {
String keybind = message.keybind();
Component component = keybinds.containsKey(keybind) ? Component.translatable(keybind) : Component.text(keybind); // TODO: Fix some keys like `key.keyboard.a`
Component component = keybinds.containsKey(keybind) ? Component.translatable(keybinds.get(keybind)) : Component.text(keybind);
return stringifyPartially(component, motd, ansi, lastColor, noHex);
}
}