mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 04:03:58 +00:00
Fix debug command i18n keys
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user