Fix incorrect autocraft prompt on macOS (#3283)
* Fix incorrect autocraft prompt on macOS * Fix empty macOS autocrafting string in Japanese * Update CHANGELOG.md
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -15,3 +15,4 @@ run/
|
|||||||
out/
|
out/
|
||||||
/bin/
|
/bin/
|
||||||
logs/
|
logs/
|
||||||
|
**/.DS_Store
|
||||||
|
@@ -16,6 +16,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved Performance for grid updates
|
- Improved Performance for grid updates
|
||||||
|
- Fixed incorrect autocrafting keybind prompt on macOS
|
||||||
|
- Added Japanese translations for certain autocrafting actions
|
||||||
- Improved waterlogging to behave more like vanilla
|
- Improved waterlogging to behave more like vanilla
|
||||||
- Added Forge relocation and Packing Tape blacklist tag entries to prevent block movement
|
- Added Forge relocation and Packing Tape blacklist tag entries to prevent block movement
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@ import java.util.List;
|
|||||||
public class RecipeTransferCraftingGridError implements IRecipeTransferError {
|
public class RecipeTransferCraftingGridError implements IRecipeTransferError {
|
||||||
protected static final Color AUTOCRAFTING_HIGHLIGHT_COLOR = new Color(0.0f, 0.0f, 1.0f, 0.4f);
|
protected static final Color AUTOCRAFTING_HIGHLIGHT_COLOR = new Color(0.0f, 0.0f, 1.0f, 0.4f);
|
||||||
private static final Color MISSING_HIGHLIGHT_COLOR = new Color(1.0f, 0.0f, 0.0f, 0.4f);
|
private static final Color MISSING_HIGHLIGHT_COLOR = new Color(1.0f, 0.0f, 0.0f, 0.4f);
|
||||||
|
private static final boolean HOST_OS_IS_MACOS = System.getProperty("os.name").equals("Mac OS X");
|
||||||
protected final IngredientTracker tracker;
|
protected final IngredientTracker tracker;
|
||||||
|
|
||||||
public RecipeTransferCraftingGridError(IngredientTracker tracker) {
|
public RecipeTransferCraftingGridError(IngredientTracker tracker) {
|
||||||
@@ -59,7 +60,11 @@ public class RecipeTransferCraftingGridError implements IRecipeTransferError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (craftMessage) {
|
if (craftMessage) {
|
||||||
message.add(new TranslatableComponent("gui.refinedstorage.jei.transfer.request_autocrafting").withStyle(ChatFormatting.BLUE));
|
if (HOST_OS_IS_MACOS) {
|
||||||
|
message.add(new TranslatableComponent("gui.refinedstorage.jei.transfer.request_autocrafting_mac").withStyle(ChatFormatting.BLUE));
|
||||||
|
} else {
|
||||||
|
message.add(new TranslatableComponent("gui.refinedstorage.jei.transfer.request_autocrafting").withStyle(ChatFormatting.BLUE));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return message;
|
return message;
|
||||||
|
@@ -90,6 +90,7 @@
|
|||||||
"gui.refinedstorage.alternatives.apply": "Apply",
|
"gui.refinedstorage.alternatives.apply": "Apply",
|
||||||
"gui.refinedstorage.jei.transfer.autocrafting_available": "Autocrafting available",
|
"gui.refinedstorage.jei.transfer.autocrafting_available": "Autocrafting available",
|
||||||
"gui.refinedstorage.jei.transfer.request_autocrafting": "CTRL + CLICK to request autocrafting",
|
"gui.refinedstorage.jei.transfer.request_autocrafting": "CTRL + CLICK to request autocrafting",
|
||||||
|
"gui.refinedstorage.jei.transfer.request_autocrafting_mac": "CMD + CLICK to request autocrafting",
|
||||||
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
||||||
"misc.refinedstorage.energy_usage": "Usage: %d FE/t",
|
"misc.refinedstorage.energy_usage": "Usage: %d FE/t",
|
||||||
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
||||||
|
@@ -88,6 +88,7 @@
|
|||||||
"gui.refinedstorage.alternatives.apply": "Applica",
|
"gui.refinedstorage.alternatives.apply": "Applica",
|
||||||
"gui.refinedstorage.jei.transfer.autocrafting_available": "Fabbricazione automatica disponibile",
|
"gui.refinedstorage.jei.transfer.autocrafting_available": "Fabbricazione automatica disponibile",
|
||||||
"gui.refinedstorage.jei.transfer.request_autocrafting": "CTRL + CLICK per richiedere la fabbricazione automatica",
|
"gui.refinedstorage.jei.transfer.request_autocrafting": "CTRL + CLICK per richiedere la fabbricazione automatica",
|
||||||
|
"gui.refinedstorage.jei.transfer.request_autocrafting_mac": "CMD + CLICK per richiedere la fabbricazione automatica",
|
||||||
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
||||||
"misc.refinedstorage.energy_usage": "Utilizzo: %d FE/t",
|
"misc.refinedstorage.energy_usage": "Utilizzo: %d FE/t",
|
||||||
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
||||||
|
@@ -88,7 +88,9 @@
|
|||||||
"gui.refinedstorage.crafter_manager": "クラフターマネージャー",
|
"gui.refinedstorage.crafter_manager": "クラフターマネージャー",
|
||||||
"gui.refinedstorage.alternatives": "代替案",
|
"gui.refinedstorage.alternatives": "代替案",
|
||||||
"gui.refinedstorage.alternatives.apply": "適用",
|
"gui.refinedstorage.alternatives.apply": "適用",
|
||||||
|
"gui.refinedstorage.jei.transfer.autocrafting_available": "自動クラフトが出来る",
|
||||||
|
"gui.refinedstorage.jei.transfer.request_autocrafting": "CTRLキーを押しながらクリックするために自動クラフトする",
|
||||||
|
"gui.refinedstorage.jei.transfer.request_autocrafting_mac": "CMDキーを押しながらクリックするために自動クラフトする",
|
||||||
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
||||||
"misc.refinedstorage.energy_usage": "消費電力: %d FE/t",
|
"misc.refinedstorage.energy_usage": "消費電力: %d FE/t",
|
||||||
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
||||||
|
@@ -90,6 +90,7 @@
|
|||||||
"gui.refinedstorage.alternatives.apply": "적용",
|
"gui.refinedstorage.alternatives.apply": "적용",
|
||||||
"gui.refinedstorage.jei.transfer.autocrafting_available": "자동 제작 사용 가능",
|
"gui.refinedstorage.jei.transfer.autocrafting_available": "자동 제작 사용 가능",
|
||||||
"gui.refinedstorage.jei.transfer.request_autocrafting": "CTRL + 클릭하여 자동 제작 요청",
|
"gui.refinedstorage.jei.transfer.request_autocrafting": "CTRL + 클릭하여 자동 제작 요청",
|
||||||
|
"gui.refinedstorage.jei.transfer.request_autocrafting_mac": "CMD + 클릭하여 자동 제작 요청",
|
||||||
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
||||||
"misc.refinedstorage.energy_usage": "사용: %d FE/t",
|
"misc.refinedstorage.energy_usage": "사용: %d FE/t",
|
||||||
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
||||||
|
@@ -90,6 +90,7 @@
|
|||||||
"gui.refinedstorage.alternatives.apply": "Zastosuj",
|
"gui.refinedstorage.alternatives.apply": "Zastosuj",
|
||||||
"gui.refinedstorage.jei.transfer.autocrafting_available": "Auto-wytwarzanie dostępne",
|
"gui.refinedstorage.jei.transfer.autocrafting_available": "Auto-wytwarzanie dostępne",
|
||||||
"gui.refinedstorage.jei.transfer.request_autocrafting": "CTRL + KLIKNIJ aby zażądać wytworzenia",
|
"gui.refinedstorage.jei.transfer.request_autocrafting": "CTRL + KLIKNIJ aby zażądać wytworzenia",
|
||||||
|
"gui.refinedstorage.jei.transfer.request_autocrafting_mac": "CMD + KLIKNIJ aby zażądać wytworzenia",
|
||||||
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
"misc.refinedstorage.energy_stored": "%d / %d FE",
|
||||||
"misc.refinedstorage.energy_usage": "Zużycie: %d FE/t",
|
"misc.refinedstorage.energy_usage": "Zużycie: %d FE/t",
|
||||||
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
"misc.refinedstorage.energy_usage_minimal": "%d FE/t",
|
||||||
|
Reference in New Issue
Block a user