From 2f8d0c6afc1f904c13d9139adb32bd056c7ee1d5 Mon Sep 17 00:00:00 2001 From: lvjia Date: Tue, 28 Apr 2026 14:05:32 +0800 Subject: [PATCH] Fix debug command i18n keys --- GameServer/Command/Commands/CommandDebug.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GameServer/Command/Commands/CommandDebug.cs b/GameServer/Command/Commands/CommandDebug.cs index a71da7a..1127dce 100644 --- a/GameServer/Command/Commands/CommandDebug.cs +++ b/GameServer/Command/Commands/CommandDebug.cs @@ -5,7 +5,7 @@ using MikuSB.Internationalization; namespace MikuSB.GameServer.Command.Commands; -[CommandInfo("debug", "Debug packet output", "/debug [on|off|simple|detail|file]", ["dbg"], [PermEnum.Admin, PermEnum.Support])] +[CommandInfo("debug", "Game.Command.Debug.Desc", "Game.Command.Debug.Usage", ["dbg"], [PermEnum.Admin, PermEnum.Support])] public class CommandDebug : ICommands { private static readonly Logger Logger = new("CommandManager"); @@ -22,7 +22,7 @@ public class CommandDebug : ICommands "simple" => EnableSimpleDebug(serverOption), "detail" => EnableDetailDebug(serverOption), "file" => ToggleDebugFile(serverOption), - _ => "Usage: /debug [on|off|simple|detail|file]" + _ => I18NManager.Translate("Game.Command.Debug.Usage") }; Logger.Info(message);