mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 10:37:05 +02:00
19 lines
517 B
C#
19 lines
517 B
C#
using Robust.Shared.Console;
|
|
using Robust.Shared.IoC;
|
|
using Robust.Shared.Localization;
|
|
|
|
namespace Robust.Client.Console.Commands
|
|
{
|
|
internal sealed class ReloadLocalizationsCommand : LocalizedCommands
|
|
{
|
|
public override string Command => "rldloc";
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
IoCManager.Resolve<ILocalizationManager>().ReloadLocalizations();
|
|
|
|
shell.RemoteExecuteCommand("sudo rldloc");
|
|
}
|
|
}
|
|
}
|