refactor: use localization constants for last remaining literals

This commit is contained in:
soarqin committed 2026-06-23 21:44:35 +08:00
1 parent 8d70ce8862
commit 76d9d9fa21
3 files changed
+3 -3

No files matched your search

@@ -88,7 +88,7 @@ public static class IllegalShellFunctions
}
if (nodePos.Count == 0)
{
UIMessageBox.Show(Localization.CheatEnabler.Translate(), string.Format("There is no Dyson Sphere shell on \"{0}\".".Translate(), star.displayName), Localization.OK.Translate(), UIMessageBox.ERROR, null);
UIMessageBox.Show(Localization.CheatEnabler.Translate(), string.Format(Localization.ThereIsNoDysonSphereShellOn0.Translate(), star.displayName), Localization.OK.Translate(), UIMessageBox.ERROR, null);
return;
}
var currentShellCount = layer.shellCount;