mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
refactor: use localization constants for last remaining literals
This commit is contained in:
1 parent
8d70ce8862
commit
76d9d9fa21
3 files changed
+3
-3
No files matched your search
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user