删除映射按钮本地化

This commit is contained in:
GaLi 2025-12-05 15:02:00 +08:00
parent 05032cc250
commit 3ef75ad18d
5 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,7 @@ license = "LGPL-3.0-or-later"
# A list of mods - how many allowed here is determined by the individual mod loader # A list of mods - how many allowed here is determined by the individual mod loader
[[mods]] [[mods]]
modId = "extendedae_plus" modId = "extendedae_plus"
version = "1.21.1-1.4.4" version = "1.21.1-1.5.0"
displayName = "ExtendedAE-Plus" displayName = "ExtendedAE-Plus"
issueTrackerURL = "https://github.com/GaLicn/ExtendedAE_Plus/issues" issueTrackerURL = "https://github.com/GaLicn/ExtendedAE_Plus/issues"
displayURL = "https://github.com/GaLicn/ExtendedAE_Plus" displayURL = "https://github.com/GaLicn/ExtendedAE_Plus"

View File

@ -273,7 +273,7 @@ public class ProviderSelectScreen extends Screen {
this.addRenderableWidget(addMap); this.addRenderableWidget(addMap);
// 删除映射按中文值精确匹配删除按钮 // 删除映射按中文值精确匹配删除按钮
Button delByCn = Button.builder(Component.literal("删除映射"), b -> this.deleteMappingByCnFromUI()) Button delByCn = Button.builder(Component.translatable("extendedae_plus.screen.remove_mapping"), b -> this.deleteMappingByCnFromUI())
.bounds(centerX + 240, navY + 30, 60, 20) .bounds(centerX + 240, navY + 30, 60, 20)
.build(); .build();
this.addRenderableWidget(delByCn); this.addRenderableWidget(delByCn);

View File

@ -104,7 +104,7 @@ public abstract class ContainerPatternEncodingTermMenuMixin implements IActionHo
return; // 仅服务器执行 return; // 仅服务器执行
} }
if (this.eap$consumeShiftUploadFlag()) { if (this.eap$consumeShiftUploadFlag()) {
return; // 按下 Shift不自动上传 return; // 按下 Shift不自动上传
} }
var menu = (PatternEncodingTermMenu) (Object) this; var menu = (PatternEncodingTermMenu) (Object) this;
if (menu.getMode() != EncodingMode.CRAFTING if (menu.getMode() != EncodingMode.CRAFTING

View File

@ -58,6 +58,7 @@
"extendedae_plus.upload_to_matrix.fail_full": "Assembly Matrix Pattern Storage Is Full or Cannot Be Inserted", "extendedae_plus.upload_to_matrix.fail_full": "Assembly Matrix Pattern Storage Is Full or Cannot Be Inserted",
"extendedae_plus.screen.reload_mapping": "Reload Mapping", "extendedae_plus.screen.reload_mapping": "Reload Mapping",
"extendedae_plus.screen.add_mapping": "Add Mapping", "extendedae_plus.screen.add_mapping": "Add Mapping",
"extendedae_plus.screen.remove_mapping": "Remove Mapping",
"extendedae_plus.screen.cn_name": "Chinese Name", "extendedae_plus.screen.cn_name": "Chinese Name",
"extendedae_plus.button.choose_provider": "Upload Pattern", "extendedae_plus.button.choose_provider": "Upload Pattern",
"extendedae_plus.pattern.hovertext.player": "Encoded by %s", "extendedae_plus.pattern.hovertext.player": "Encoded by %s",

View File

@ -58,6 +58,7 @@
"extendedae_plus.upload_to_matrix.fail_full": "装配矩阵的样板仓已满或无法插入", "extendedae_plus.upload_to_matrix.fail_full": "装配矩阵的样板仓已满或无法插入",
"extendedae_plus.screen.reload_mapping": "重载映射", "extendedae_plus.screen.reload_mapping": "重载映射",
"extendedae_plus.screen.add_mapping": "增加映射", "extendedae_plus.screen.add_mapping": "增加映射",
"extendedae_plus.screen.remove_mapping": "删除映射",
"extendedae_plus.screen.cn_name": "中文名", "extendedae_plus.screen.cn_name": "中文名",
"extendedae_plus.button.choose_provider":"上传样板", "extendedae_plus.button.choose_provider":"上传样板",
"extendedae_plus.pattern.hovertext.player": "由 %s 编码", "extendedae_plus.pattern.hovertext.player": "由 %s 编码",