mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
19 lines
500 B
C#
19 lines
500 B
C#
using Robust.Shared.Console;
|
|
using Robust.Shared.IoC;
|
|
using Robust.Shared.Localization;
|
|
|
|
namespace Robust.Server.Console.Commands
|
|
{
|
|
internal sealed class ReloadLocalizationsCommand : LocalizedCommands
|
|
{
|
|
[Dependency] private readonly ILocalizationManager _loc = default!;
|
|
|
|
public override string Command => "rldloc";
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
_loc.ReloadLocalizations();
|
|
}
|
|
}
|
|
}
|