parent
84bfeddc1c
commit
9c9107c434
2 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,8 @@ public enum KeyModifier {
|
||||||
public String getLocalizedComboName(int keyCode)
|
public String getLocalizedComboName(int keyCode)
|
||||||
{
|
{
|
||||||
String keyName = GameSettings.getKeyDisplayString(keyCode);
|
String keyName = GameSettings.getKeyDisplayString(keyCode);
|
||||||
return I18n.format("forge.controlsgui.control", keyName);
|
String localizationFormatKey = Minecraft.isRunningOnMac ? "forge.controlsgui.control.mac" : "forge.controlsgui.control";
|
||||||
|
return I18n.format(localizationFormatKey, keyName);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
SHIFT {
|
SHIFT {
|
||||||
|
|
|
@ -145,6 +145,7 @@ fml.configgui.tooltip.defaultNumeric=[range: %s ~ %s, default: %s]
|
||||||
|
|
||||||
forge.controlsgui.shift=SHIFT + %s
|
forge.controlsgui.shift=SHIFT + %s
|
||||||
forge.controlsgui.control=CTRL + %s
|
forge.controlsgui.control=CTRL + %s
|
||||||
|
forge.controlsgui.control.mac=CMD + %s
|
||||||
forge.controlsgui.alt=ALT + %s
|
forge.controlsgui.alt=ALT + %s
|
||||||
|
|
||||||
fml.menu.mods=Mods
|
fml.menu.mods=Mods
|
||||||
|
|
Loading…
Reference in a new issue