|
|
发表于 2026-4-8 07:09:52
|
显示全部楼层
本帖最后由 zzzdragon 于 2026-4-8 08:56 编辑
這有個解法 就是把標籤還原回原文
裝個7-zip, 在mod文件夾裡找到bionicalteration.jar
打開後在裡面找到"lunalib"這個資料夾,
抓原版mod, 把原版mod jar裡的"lunalib"取出替換掉漢化mod裡的
我測試結果就是這標籤要保持原文才不會報錯
====================================================
更正一下
準確的錯誤是發生於"lunalib"裡的"ba_bionic_refit_btn.class"
有一段字串作為內部識別ID不該被漢化卻被漢化
詳細代碼:
public void initPanel(CustomPanelAPI backgroundPanel, FleetMemberAPI member, ShipVariantAPI variant, MarketAPI market) {
this.workshopPanel = new ba_uiplugin();
this.workshopPanel.init(backgroundPanel, null, null, "工作台", null);
this.workshopPanel.setCurrentPerson(member.getCaptain());
this.containerPanel = backgroundPanel.createCustomPanel(Global.getSettings().getScreenWidth() - 150.0F, Global.getSettings().getScreenWidth() - 150.0F, (CustomUIPanelPlugin)this.workshopPanel);
backgroundPanel.addComponent((UIComponentAPI)this.containerPanel);
}
"工作台"這個字串不該被漢化,應改回"WORKSHOP"
最後附上修正過的漢化mod檔
|
|