Update MenuFormBuilder.js

This commit is contained in:
wed150
2026-03-02 20:05:18 +08:00
committed by GitHub
Unverified
parent 75f0551659
commit 3f8c442746
+7 -2
View File
@@ -33,7 +33,12 @@ export class MenuFormBuilder {
allStructuresForm.button(`§2${structureName}`); allStructuresForm.button(`§2${structureName}`);
}); });
allStructuresForm.button({ translate: 'construct.mainmenu.selectstructure.other' }); allStructuresForm.button({ translate: 'construct.mainmenu.selectstructure.other' });
allStructuresForm.button({ translate: 'construct.mainmenu.selectstructure.howto' }); //allStructuresForm.button({ translate: 'construct.mainmenu.selectstructure.howto' }); useless
//here is a same button at buildAllInstanceName() already
//It work as the button construct.mainmenu.selectstructure.other
//here is no locationkey named construct.mainmenu.selectstructure.howto but there's a key named construct.mainmenu.howto
return allStructuresForm; return allStructuresForm;
} }
@@ -57,4 +62,4 @@ export class MenuFormBuilder {
.title(this.menuTitle) .title(this.menuTitle)
.body(message); .body(message);
} }
} }