refactor: centralize localization keys and remove runtime Chinese literals

This commit is contained in:
soarqin committed 2026-06-23 21:19:42 +08:00
1 parent 34c99701ca
commit 036243fd4a
32 files changed
+873 -403

No files matched your search

+1 -2
View File
@@ -19,8 +19,7 @@ public class DysonSpherePatch : PatchImpl<DysonSpherePatch>
public static void Init()
{
I18N.Add("[UXAssist] No node to fill", "[UXAssist] No node to fill", "[UXAssist] 无可建造节点");
Enable(true);
Enable(true);
StopEjectOnNodeCompleteEnabled.SettingChanged += (_, _) => StopEjectOnNodeComplete.Enable(StopEjectOnNodeCompleteEnabled.Value);
OnlyConstructNodesEnabled.SettingChanged += (_, _) => OnlyConstructNodes.Enable(OnlyConstructNodesEnabled.Value);
_totalNodeSpInfo = AccessTools.Field(typeof(DysonSphereLayer), "totalNodeSP");