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

+1 -1
View File
@@ -347,7 +347,7 @@ public class PlayerPatch : PatchImpl<PlayerPatch>
AutoCruiseEnabled.Value = !AutoCruiseEnabled.Value;
if (!DSPGame.IsMenuDemo && GameMain.isRunning)
{
UIRoot.instance.uiGame.generalTips.InvokeRealtimeTipAhead((AutoCruiseEnabled.Value ? "AutoCruiseOn" : "AutoCruiseOff").Translate());
UIRoot.instance.uiGame.generalTips.InvokeRealtimeTipAhead((AutoCruiseEnabled.Value ? I18NKeys.AutoCruiseOn : I18NKeys.AutoCruiseOff).Translate());
}
}