]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix AGhostCommand naming (#29945)
authorlzk <124214523+lzk228@users.noreply.github.com>
Sun, 14 Jul 2024 10:25:18 +0000 (12:25 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Jul 2024 10:25:18 +0000 (20:25 +1000)
Content.Server/Administration/Commands/AGhostCommand.cs [moved from Content.Server/Administration/Commands/AGhost.cs with 97% similarity]
Resources/Locale/en-US/administration/commands/aghost.ftl

similarity index 97%
rename from Content.Server/Administration/Commands/AGhost.cs
rename to Content.Server/Administration/Commands/AGhostCommand.cs
index 935114e7a6830d6b95276fe03545e357ad12d01d..b24dbbc018c58fa2ed4f0bac1ac3b55fc09358f5 100644 (file)
@@ -12,13 +12,12 @@ using Robust.Shared.Console;
 namespace Content.Server.Administration.Commands;
 
 [AdminCommand(AdminFlags.Admin)]
-public sealed class AGhost : LocalizedCommands
+public sealed class AGhostCommand : LocalizedCommands
 {
     [Dependency] private readonly IEntityManager _entities = default!;
     [Dependency] private readonly IPlayerManager _playerManager = default!;
 
     public override string Command => "aghost";
-    public override string Description => LocalizationManager.GetString("aghost-description");
     public override string Help => "aghost";
 
     public override CompletionResult GetCompletion(IConsoleShell shell, string[] args)
index 4de0639981ef95078548fd58f6ef29977b971e5c..30cd893dc8f8975b3b59f4cdddfef646faed121d 100644 (file)
@@ -1,3 +1,3 @@
-aghost-description = Makes you an admin ghost.
+cmd-aghost-desc = Makes you or others an admin ghost.
 aghost-no-mind-self = You can't ghost here!
 aghost-no-mind-other = They can't ghost here!