mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 10:43:59 +00:00
Fix debug command i18n keys
This commit is contained in:
@@ -5,7 +5,7 @@ using MikuSB.Internationalization;
|
|||||||
|
|
||||||
namespace MikuSB.GameServer.Command.Commands;
|
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
|
public class CommandDebug : ICommands
|
||||||
{
|
{
|
||||||
private static readonly Logger Logger = new("CommandManager");
|
private static readonly Logger Logger = new("CommandManager");
|
||||||
@@ -22,7 +22,7 @@ public class CommandDebug : ICommands
|
|||||||
"simple" => EnableSimpleDebug(serverOption),
|
"simple" => EnableSimpleDebug(serverOption),
|
||||||
"detail" => EnableDetailDebug(serverOption),
|
"detail" => EnableDetailDebug(serverOption),
|
||||||
"file" => ToggleDebugFile(serverOption),
|
"file" => ToggleDebugFile(serverOption),
|
||||||
_ => "Usage: /debug [on|off|simple|detail|file]"
|
_ => I18NManager.Translate("Game.Command.Debug.Usage")
|
||||||
};
|
};
|
||||||
|
|
||||||
Logger.Info(message);
|
Logger.Info(message);
|
||||||
|
|||||||
Reference in New Issue
Block a user